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 24835 - NullPointerException at org.netbeans.modules.xml.core.actions.InputOutputReporter.display(InputOutputReporter.java:145)
Summary: NullPointerException at org.netbeans.modules.xml.core.actions.InputOutputRepo...
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ lkramolis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-15 13:46 UTC by Martin Schovanek
Modified: 2007-09-25 01:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2002-06-15 13:46:53 UTC
[Nb Build 200206140100, jdk1.4.0]

Validate action throws NPE when root-element missing
in the XML document.

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
        at
org.netbeans.modules.xml.core.actions.InputOutputReporter.display(InputOutputReporter.java:145)
        at
org.netbeans.modules.xml.core.actions.InputOutputReporter.receive(InputOutputReporter.java:110)
        at
org.netbeans.spi.xml.cookies.TestXMLSupport$Handler.fatalError(TestXMLSupport.java:322)
        at
org.netbeans.spi.xml.cookies.TestXMLSupport.parse(TestXMLSupport.java:185)
        at
org.netbeans.spi.xml.cookies.TestXMLSupport.validateXML(TestXMLSupport.java:116)
        at
org.netbeans.spi.xml.cookies.ValidateXMLSupport.validateXML(ValidateXMLSupport.java:51)
        at
org.netbeans.modules.xml.tools.actions.ValidateAction.performAction(ValidateAction.java:63)
        at
org.openide.util.actions.NodeAction.performAction(NodeAction.java:179)
        at
org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:170)
        at
org.netbeans.core.ModuleActions$1.run(ModuleActions.java:100)
        at org.openide.util.Task.run(Task.java:136)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Comment 1 _ lkramolis 2002-06-17 15:26:57 UTC
Fixed.
Comment 2 Martin Schovanek 2002-11-13 16:11:52 UTC
VERIFIED
Comment 3 Quality Engineering 2003-07-02 08:38:17 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.