Before I start let me tell u the background of what exactly I m trying.
I ve a project that is in VAJ 3.5.3 and using WAS 3.5.3, with
EJB version 1.0. I ve to migrate the project to WAS 5.0 using WSAD 5.1 and convert the EJB to 2.0. We are using
struts too. I ve created three projects in WSAD - Web, EJB and
Java Project. Took only the basic/common code from the project and imported. Web contains all the jsps, html, js, struts-config.xml, also made changes in the web.xml.
The actionforms and action classes are also in the Web Project. EJB project contains all the EJBs and the common code and dataaccessbean are in the Java Project. As far as I ve gone thr' the documents. I did the required configuration.
But when I m trying to run the server, it is giving me the following error in the .log file
com.ibm.etools.struts.Assert$AssertionFailedException: Assertion failed. Code should be unreachable. Please contact IBM support.
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at com.ibm.etools.struts.Assert$AssertionFailedException.<init>(Assert.java:39)
at com.ibm.etools.struts.Assert.notReached(Assert.java)
at com.ibm.etools.struts.index.webtools.indexing.FormControlIndexer.stripQuotes(FormControlIndexer.java)
at com.ibm.etools.struts.index.webtools.indexing.FormControlIndexer.addAttributes(FormControlIndexer.java)
at com.ibm.etools.struts.index.webtools.indexing.FormControlIndexer.handleControl(FormControlIndexer.java:227)
at com.ibm.etools.struts.index.webtools.indexing.FormControlIndexer.handleFormTagWithNested(FormControlIndexer.java:143)
at com.ibm.etools.struts.index.webtools.indexing.FormControlIndexer.updateIndex(FormControlIndexer.java)
at com.ibm.etools.struts.index.webtools.indexing.WebToolsIndexer.processFormEntries(WebToolsIndexer.java)
at com.ibm.etools.struts.index.webtools.indexing.WebToolsIndexer.processChildren(WebToolsIndexer.java:517)
at com.ibm.etools.struts.index.webtools.indexing.WebToolsIndexer.updateEntry(WebToolsIndexer.java:502)
at com.ibm.etools.struts.index.webtools.indexing.WebToolsIndexer.addEntry(WebToolsIndexer.java:486)
at com.ibm.etools.struts.index.webtools.indexing.WebToolsIndexer.updateIndex(WebToolsIndexer.java:326)
at com.ibm.etools.struts.index.webtools.indexing.WebToolsIndexer.access$100(WebToolsIndexer.java:30)
at com.ibm.etools.struts.index.webtools.indexing.WebToolsIndexer$ResourceVisitor.visit(WebToolsIndexer.java:245)
at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java)
at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java)
at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:60)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:104)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:82)
at com.ibm.etools.struts.index.webtools.indexing.WebToolsIndexer$3.performWrite(WebToolsIndexer.java:309)
at com.ibm.etools.index.Index.accept(Index.java:117)
at com.ibm.etools.struts.index.webtools.indexing.WebToolsIndexer.updateIndex(WebToolsIndexer.java:317)
at com.ibm.etools.struts.builder.StrutsBuilder.build(StrutsBuilder.java:48)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:427)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:125)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:181)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:191)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:151)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:165)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:243)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:212)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:884)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1600)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
!SESSION Jan 13, 2005 10:04:02.632 ---------------------------------------------
java.fullversion=J2RE 1.3.1 IBM J9 build 20030702 (JIT enabled)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data E:\MTDL\Workspace\MTDLWorkspace -install file:C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1/eclipse/
!ENTRY org.eclipse.ui 4 4 Jan 13, 2005 10:04:02.632
!MESSAGE Unable to restore editor - createElement returned null for input element factory: org.eclipse.ui.part.FileEditorInputFactory
I m stuck up and not able to find where exactly I m going wrong. Please help