This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 195994 - NullPointerException at java.util.Hashtable.get
Summary: NullPointerException at java.util.Hashtable.get
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 12:24 UTC by sebglon
Modified: 2012-03-06 13:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 67885


Attachments
stacktrace (1.99 KB, text/plain)
2011-02-25 12:24 UTC, sebglon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sebglon 2011-02-25 12:24:49 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows XP

User Comments:
GUEST: ???Netbeans????????




Stacktrace: 
java.lang.NullPointerException
   at java.util.Hashtable.get(Hashtable.java:334)
   at com.sun.xml.internal.stream.XMLEntityStorage.isUnparsedEntity(XMLEntityStorage.java:333)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(XMLDocumentFragmentScannerImpl.java:1851)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3032)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
Comment 1 sebglon 2011-02-25 12:24:53 UTC
Created attachment 106444 [details]
stacktrace
Comment 2 Martin Entlicher 2012-02-01 16:35:08 UTC
This seems to be a bug in XMLDocumentFragmentScannerImpl.scanEntityReference()
In the version 1.5 2006/11/29 at http://www.java2s.com/Open-Source/Java-Document/6.0-JDK-Modules/sjsxp/com/sun/xml/stream/XMLDocumentFragmentScannerImpl.java.htm
if (name == null) only an error is reported, but at
http://libxerces2-java.sourcearchive.com/documentation/2.9.0/classorg_1_1apache_1_1xerces_1_1impl_1_1XMLDocumentFragmentScannerImpl_ce3ed5ecbb281f8db36e2ec77c827641.html#ce3ed5ecbb281f8db36e2ec77c827641
there's return from the scanEntityReference() method, when name is null. Therefore the exception should not be thrown any more.