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.
Product Version: NetBeans IDE Dev (Build 200803171203) Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19 System: Linux version 2.6.24-12-generic running on i386; UTF-8; en_US (nb) 1. New Project- Mobility - MIDP Application 2. Extract svg files from http://wiki.netbeans.info/wiki/attach/MobilitySVGDemo/svg.zip to the <project_name>/src directory. 3. Open a svg file (menu.svg for example) in Project Window. It is displayed in editor. Switch to "Source" view of the file to display its XML structure. 4. Find the last closing tag (</svg>), place cursor to the previous line and add a new line there. 5. Null Exception thrown. Screenshot included. Stracktrace (part) ------------------- java.lang.NullPointerException at org.openide.xml.EntityCatalog$Forwarder.resolveEntity(EntityCatalog.java:117) at org.netbeans.modules.xml.catalog.impl.SystemCatalogReader.getSystemID(SystemCatalogReader.java:144) at org.netbeans.modules.xml.catalog.CatalogEntityResolver.resolveEntity(CatalogEntityResolver.java:111) at org.netbeans.modules.xml.dtd.grammar.DTDParser$EntityResolverWrapper.resolveEntity(DTDParser.java:274)
Created attachment 58580 [details] screenshot
Created attachment 58581 [details] stacktrace (complete)
Updating dependency info. While trying to reproduce this, I filed issue 138424, which got marked as duplicate of issue 137944.
While evaluating this, I found an AIOOB that I fixed: http://hg.netbeans.org/main?cmd=changeset;node=b8e45508733b. However I was not able to get to the NPE.