Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 103781

Summary: Taglb Index failing to read in a web.xml?
Product: [WebTools] WTP Source Editing Reporter: Matt Carter <matt>
Component: jst.jspAssignee: Nitin Dahyabhai <thatnitind>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: jhouston.mail
Version: 0.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Matt Carter CLA 2005-07-14 04:37:00 EDT
New dynamic web project on wst integration build I20050713
(http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/I-I20050713-200507130840/wtp-I20050713.zip)
has X (error) overlay showing on icon and is unusable.

From Error Log window:

1)

org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change
an object in a way which is incorrect with regard to namespaces.
	at
com.sun.org.apache.xerces.internal.dom.ElementNSImpl.setName(ElementNSImpl.java:137)
	at
com.sun.org.apache.xerces.internal.dom.ElementNSImpl.<init>(ElementNSImpl.java:112)
	at
com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createElementNS(CoreDocumentImpl.java:1969)
	at
com.sun.org.apache.xerces.internal.dom.DOMImplementationImpl.createDocument(DOMImplementationImpl.java:181)
	at
org.eclipse.jst.jsp.core.internal.util.DocumentProvider.getNewDocument(DocumentProvider.java:252)
	at
org.eclipse.jst.jsp.core.internal.util.DocumentProvider.load(DocumentProvider.java:387)
	at
org.eclipse.jst.jsp.core.internal.util.DocumentProvider.getDocument(DocumentProvider.java:126)
	at
org.eclipse.jst.jsp.core.internal.contentmodel.ProjectDescription.updateServlets(ProjectDescription.java:286)
	at
org.eclipse.jst.jsp.core.internal.contentmodel.ProjectDescription$DeltaVisitor.visit(ProjectDescription.java:89)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
	at
org.eclipse.jst.jsp.core.internal.contentmodel.TaglibIndex$ResourceChangeListener.resourceChanged(TaglibIndex.java:217)
	at
org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:276)
	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
	at org.eclipse.core.runtime.Platform.run(Platform.java:783)
	at
org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:270)
	at
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:144)
	at
org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:180)
	at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:914)
	at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


2)

SAXException while reading descriptor: org.xml.sax.SAXParseException: Premature
end of file.

3)  (earliest)

SAXParseException with null/null (fatalError) while reading descriptor:
Premature end of file.


This group of three errors occurs twice.



See also bug 103628 after which this particular problem was encountered.
Comment 1 Nitin Dahyabhai CLA 2005-07-14 05:00:43 EDT
Matt, could you also attach your project's web.xml?  When a failure occurs
reading in the web.xml file, a blank document is supposed to be created and
that's causing the error.
Comment 2 Nitin Dahyabhai CLA 2007-02-28 18:31:09 EST
The chronological ordering is admittedly backwards.

*** This bug has been marked as a duplicate of bug 104511 ***
Comment 3 John Lanuti CLA 2007-04-03 11:51:55 EDT
Closing as part of mass query to clean up old resolved bugs in untargetted milestones.