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

Bug 64277

Summary: [content type] NPE on XMLContentDescriber
Product: [Eclipse Project] Platform Reporter: Rafael Chaves <eclipse>
Component: ResourcesAssignee: Rafael Chaves <eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kelleyp
Version: 3.0   
Target Milestone: 3.0 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Rafael Chaves CLA 2004-05-26 23:47:09 EDT
i20040526

The following NPE occurs if a text stream (reader) is submitted to the
XMLContentDescriber:

!ENTRY org.eclipse.core.runtime 4 0 May 26, 2004 15:14:42.75
!MESSAGE Could not create content describer for org.eclipse.core.runtime.xml.
Content type has been disabled.
!STACK 0
java.lang.NullPointerException
        at java.lang.Throwable.<init>(Throwable.java)
        at java.lang.Throwable.<init>(Throwable.java)
        at java.lang.NullPointerException.<init>(NullPointerException.java:60)
        at
org.eclipse.core.internal.content.XMLContentDescriber.describe(XMLContentDescriber.java:77)
        at
org.eclipse.core.internal.content.ContentType.describe(ContentType.java:183)
        at
org.eclipse.core.internal.content.ContentTypeManager.internalFindContentTypesFor(ContentTypeManager.java:320)
        at
org.eclipse.core.internal.content.ContentTypeManager.getDescriptionFor(ContentTypeManager.java:277)
Comment 1 Rafael Chaves CLA 2004-05-26 23:47:45 EDT
Fixed on i2004051600.
Comment 2 Rafael Chaves CLA 2004-05-27 15:40:53 EDT
*** Bug 64428 has been marked as a duplicate of this bug. ***
Comment 3 Rafael Chaves CLA 2004-05-27 15:42:02 EDT
Correction: the build this has been fixed is i200405261600...