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.
Trying to use the XML editor provided by the platform. Posted this in the forum and I was redirected here. Just enabled 'XML Text Editor' in IDE cluster. Clicked on the resolve button when it was shown in red (only once). When an XML file is opened and add a tag, as soon as I type the closing bracket of a tag, the following exception throws up: java.lang.NullPointerException at org.netbeans.modules.xml.text.bracematch.XMLBraceMatcher.findTokenAtContext(XMLBraceMatcher.java:221) at org.netbeans.modules.xml.text.bracematch.XMLBraceMatcher.hasEndTag(XMLBraceMatcher.java:426) at org.netbeans.modules.xml.text.completion.XMLCompletionQuery.query(XMLCompletionQuery.java:143) at org.netbeans.modules.xml.text.completion.XMLCompletionProvider$Query.query(XMLCompletionProvider.java:114) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:218) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030) Caused: org.openide.util.RequestProcessor$Item: task failed due to at org.openide.util.RequestProcessor.post(RequestProcessor.java:267) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.performQuery(AsyncCompletionTask.java:174) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.query(AsyncCompletionTask.java:127) at org.netbeans.modules.editor.completion.CompletionImpl.queryResultSets(CompletionImpl.java:1533) at org.netbeans.modules.editor.completion.CompletionImpl.access$400(CompletionImpl.java:102) at org.netbeans.modules.editor.completion.CompletionImpl$3.actionPerformed(CompletionImpl.java:230) at javax.swing.Timer.fireActionPerformed(Timer.java:271) [catch] at javax.swing.Timer$DoPostEvent.run(Timer.java:201) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
This bug is not reproducible on NB 6.9 builds.