- This topic has 2 replies, 2 voices, and was last updated 18 years, 6 months ago by Riyad Kalla.
-
AuthorPosts
-
zeroshotMemberI running Eclipse 3.2M6 , MyEclipse 5M1 on OS X 10.4.6
Now when i have a old web application with Tapestry Caps then eclipse starts up with an Initializing Java Tooling internal error
StackTrace —
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at com.iw.plugins.spindle.core.classpath.CoreClasspathContainer.computeClasspathEntries(CoreClasspathContainer.java:137)
at com.iw.plugins.spindle.core.classpath.CoreClasspathContainer.getClasspathEntries(CoreClasspathContainer.java:75)
at com.iw.plugins.spindle.core.classpath.CoreClasspathContainer.getClasspathEntries(CoreClasspathContainer.java:250)
at org.eclipse.jdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:494)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4118)
at com.iw.plugins.spindle.core.classpath.CoreClasspathContainerInitializer.initialize(CoreClasspathContainerInitializer.java:57)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:107)
at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.initialize(JavaWorkspaceScope.java:84)
at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:61)
at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:57)
at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.<init>(JavaWorkspaceScope.java:29)
at org.eclipse.jdt.internal.core.JavaModelManager.getWorkspaceScope(JavaModelManager.java:1705)
at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createWorkspaceScope(BasicSearchEngine.java:155)
at org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScope(SearchEngine.java:397)
at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:2855)
at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:35)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
zeroshotMemberI have also compared my old .project to a new .project file and updated to the same as the new. I have also tried to open a project in eclipse and got a better error log
at
http://www.smithstone.co.uk/import_webapp.logjust do another test i noticed that the
<classpathentry kind=”con” path=”com.iw.plugins.spindle.core.TAPESTRY_FRAMEWORK”/>
was not in the new tapestry application so i removed it from the old one and it opens correctly
now i notice i can not add a new tapestry page throught the wizard it says
must be a path prefixed with WEB-INF but adding WEB-INF/ it says page is not valid
Riyad KallaMemberI think that error is a bad message simply meaning the page needs to be somewhere *under* your web-inf dir and not have the name prefixed with it.
-
AuthorPosts