Community
Participate
Working Groups
I have an empty JSP file named test.jsp in the WebContent directory of a Web project named WebCopy. Whenever I save the file, I get the following exception produced in the console, regardless of which editor I was using to save the file: java.lang.IllegalArgumentException: Document path /WebCopy/WebCopy/JavaSource/__2F_WebCopy_2F_WebCopy_2F_WebContent_2F_test_2E_jsp.java must be relative to /WebCopy/WebCopy/JavaSource/__2F_WebCopy_2F_WebCopy_2F_WebContent_2F_test_2E_jsp.java at org.eclipse.jdt.internal.core.index.Index.containerRelativePath(Index.java:86) at org.eclipse.jdt.internal.core.search.indexing.InternalSearchDocument.getContainerRelativePath(InternalSearchDocument.java:30) at org.eclipse.jdt.internal.core.search.indexing.InternalSearchDocument.removeAllIndexEntries(InternalSearchDocument.java:38) at org.eclipse.jdt.core.search.SearchDocument.removeAllIndexEntries(SearchDocument.java:128) at org.eclipse.jdt.internal.core.search.JavaSearchParticipant.indexDocument(JavaSearchParticipant.java:68) at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchParticipant.indexDocument(JSPSearchParticipant.java:73) at org.eclipse.jdt.internal.core.search.indexing.IndexManager.indexDocument(IndexManager.java:289) at org.eclipse.jdt.internal.core.search.indexing.IndexManager$1.execute(IndexManager.java:599) at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:372) at java.lang.Thread.run(Thread.java:813)
sounds like this one. https://bugs.eclipse.org/bugs/show_bug.cgi?id=96424 fixed w/ 6/6 JDT and beyond. *** This bug has been marked as a duplicate of 96424 ***
Verified.