Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341948 - An internal error occurred during: "Updating Tag Library Index".
Summary: An internal error occurred during: "Updating Tag Library Index".
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.2.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.4   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard: WI72281
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 13:35 EDT by Carl Anderson CLA
Modified: 2011-04-05 16:50 EDT (History)
1 user (show)

See Also:
thatnitind: review+


Attachments
patch (1.16 KB, patch)
2011-04-05 15:00 EDT, Nick Sandonato CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Anderson CLA 2011-04-05 13:35:04 EDT
Here is the exception I am seeing:

!MESSAGE An internal error occurred during: "Updating Tag Library Index".
!STACK 0
java.lang.IllegalArgumentException: Path must include project and resource name: /zip.zip
	at org.eclipse.core.runtime.Assert.isLegal(Unknown Source)
	at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:1801)
	at org.eclipse.core.internal.resources.Container.getFile(Container.java:207)
	at org.eclipse.jst.jsp.core.taglib.ProjectDescription.handleElementChanged(ProjectDescription.java:1348)
	at org.eclipse.jst.jsp.core.taglib.ProjectDescription$BuildPathJob.run(ProjectDescription.java:136)
	at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)


Here's what I did:

1) Window->Preferences->Java->Build Path->Classpath Variables, press New, enter "MyVariable" for the name and choose a file.  (In my case, c:\zip.zip )
2) Create an EAR (I used 6.0, but shouldn't matter) with at least 2 child modules.
3) Select one child module, bring up Properties->Java Build Path, select the Libraries tab, press "Add Variable..." and select the variable you created.  Press OK.
4) Select another child module, bring up Properties->Java Build Path, select the Libraries tab, press "Add Variable..." and select the variable you created.  Press OK.

The IllegalArgumentException occurs.  After that, it appears that any change you make in any project's properties causes this error again.
Comment 1 Nick Sandonato CLA 2011-04-05 15:00:04 EDT
Created attachment 192590 [details]
patch
Comment 2 Nick Sandonato CLA 2011-04-05 16:50:18 EDT
Changes released. Thanks.