Bug 99242 - Console error when saving JSP file
Summary: Console error when saving JSP file
Status: CLOSED DUPLICATE of bug 96424
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.jsp CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-09 15:09 EDT by Tim deBoer CLA
Modified: 2005-06-23 14:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim deBoer CLA 2005-06-09 15:09:28 EDT
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)
Comment 1 Phillip Avery CLA 2005-06-10 13:03:07 EDT
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 ***
Comment 2 Tim deBoer CLA 2005-06-23 14:25:03 EDT
Verified.