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 271034 - [90cat] NullPointerException at org.netbeans.modules.xml.text.api.dom.XMLSyntaxSupport.initialize
Summary: [90cat] NullPointerException at org.netbeans.modules.xml.text.api.dom.XMLSynt...
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-05 07:43 UTC by muellermi
Modified: 2017-07-05 07:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 229610


Attachments
stacktrace (5.33 KB, text/plain)
2017-07-05 07:43 UTC, muellermi
Details
stacktrace (5.33 KB, text/plain)
2017-07-05 07:46 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2017-07-05 07:43:52 UTC
Build: NetBeans IDE Dev (Build 201707050001)
VM: Java HotSpot(TM) 64-Bit Server VM, 9+175, Java(TM) SE Runtime Environment, 9+175
OS: Windows 7

User Comments:
muellermi: within pom: insert, format {Alt+Shift+F} and then undo {Ctrl+Z}

muellermi: Ctrl+Z (undo)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.xml.text.api.dom.XMLSyntaxSupport.initialize(XMLSyntaxSupport.java:593)
   at org.netbeans.modules.xml.text.api.dom.XMLSyntaxSupport.getElementChain(XMLSyntaxSupport.java:542)
   at org.netbeans.modules.xml.text.completion.GrammarManager.getEnvironmentElements(GrammarManager.java:358)
   at org.netbeans.modules.xml.text.completion.GrammarManager.checkDocumentEnvironment(GrammarManager.java:198)
   at org.netbeans.modules.xml.text.completion.GrammarManager.removeUpdate(GrammarManager.java:187)
   at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.removeUpdate(PriorityDocumentListenerList.java:116)
Comment 1 muellermi 2017-07-05 07:43:55 UTC
Created attachment 164694 [details]
stacktrace
Comment 2 muellermi 2017-07-05 07:46:35 UTC
Created attachment 164695 [details]
stacktrace

as before, fully reproducibly