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 197318 - [70cat] NullPointerException at org.netbeans.modules.xml.sync.DataObjectSyncSupport.addRepresentation
Summary: [70cat] NullPointerException at org.netbeans.modules.xml.sync.DataObjectSyncS...
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-01 09:31 UTC by mortennobel
Modified: 2011-09-26 11:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 178089


Attachments
stacktrace (2.03 KB, text/plain)
2011-04-01 09:31 UTC, mortennobel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mortennobel 2011-04-01 09:31:00 UTC
Build: NetBeans IDE Dev (Build 201103310400)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334-10M3326
OS: Mac OS X

User Comments:
mortennobel: Double click on a xml file in the project-panel to open it. It did open, but this NPE appeared.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.xml.sync.DataObjectSyncSupport.addRepresentation(DataObjectSyncSupport.java:138)
   at org.netbeans.modules.xml.text.TextEditorSupport$3.stateChanged(TextEditorSupport.java:204)
   at org.openide.text.CloneableEditorSupport.fireStateChangeEvent(CloneableEditorSupport.java:2370)
   at org.openide.text.CloneableEditorSupport.fireDocumentChange(CloneableEditorSupport.java:2353)
   at org.openide.text.CloneableEditorSupport.access$900(CloneableEditorSupport.java:133)
   at org.openide.text.CloneableEditorSupport$3.doRun(CloneableEditorSupport.java:689)
Comment 1 mortennobel 2011-04-01 09:31:04 UTC
Created attachment 107423 [details]
stacktrace
Comment 2 Svata Dedic 2011-09-26 11:36:37 UTC
Seems to work OK, any specific circumstances in addition to opening an XML file ?