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.
This bug was originally discovered in NB Enterprise Pack. See http://bt2ws.central.sun.com/CrPrint?id=6421161. Steps to reproduce: - create a new schema; - from Source add Simple Type; - add restriction to Simple Type '<xsd:restriction> <'; - Note, NPE will be thrown as soon as you type-in '<' after <xsd:restriction> The following exception is thrown: java.lang.NullPointerException at org.netbeans.modules.xml.dtd.grammar.ContentModel$Choice.reset(ContentModel.java:438) at org.netbeans.modules.xml.dtd.grammar.ContentModel$Sequence.reset(ContentModel.java:246) at org.netbeans.modules.xml.dtd.grammar.ContentModel.whatCanFollow(ContentModel.java:132) at org.netbeans.modules.xml.dtd.grammar.DTDGrammar.queryElements(DTDGrammar.java:176) at org.netbeans.modules.xml.text.completion.XMLCompletionQuery.queryElements(XMLCompletionQuery.java:273) at org.netbeans.modules.xml.text.completion.XMLCompletionQuery.query(XMLCompletionQuery.java:112) at org.netbeans.modules.xml.text.completion.XMLCompletionProvider.queryImpl(XMLCompletionProvider.java:98) at org.netbeans.modules.xml.text.completion.XMLCompletionProvider.access$000(XMLCompletionProvider.java:40) at org.netbeans.modules.xml.text.completion.XMLCompletionProvider$Query.query(XMLCompletionProvider.java:76) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:189) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
*** Issue 75130 has been marked as a duplicate of this issue. ***
This is happening just for particullar DTDs and elements. I'll fix it to 5.5, but decreasing the priority.
*** Issue 75584 has been marked as a duplicate of this issue. ***
*** Issue 76330 has been marked as a duplicate of this issue. ***
*** Issue 77942 has been marked as a duplicate of this issue. ***
*** Issue 80670 has been marked as a duplicate of this issue. ***
*** Issue 71274 has been marked as a duplicate of this issue. ***
fixed Checking in ContentModel.java; /cvs/xml/core/src/org/netbeans/modules/xml/dtd/grammar/ContentModel.java,v <-- ContentModel.java new revision: 1.13.70.2; previous revision: 1.13.70.1 done
*** Issue 81505 has been marked as a duplicate of this issue. ***
*** Issue 81543 has been marked as a duplicate of this issue. ***
Verified NetBeans5.5Dev 200608040000