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 245434

Summary: NullPointerException at org.netbeans.modules.xml.wizard.XMLGeneratorVisitor.generateXML
Product: xml Reporter: Exceptions Reporter <exceptions_reporter>
Component: CodeAssignee: Svata Dedic <sdedic>
Status: RESOLVED WORKSFORME    
Severity: normal CC: misterm
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 210567
Attachments: stacktrace
stacktrace
stacktrace

Description Exceptions Reporter 2014-07-06 21:10:28 UTC
This bug was originally marked as duplicate of bug 238428, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201406230001)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
GUEST: I selected an xsd document to create an XML document and it failed with null pointer exception




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.xml.wizard.XMLGeneratorVisitor.generateXML(XMLGeneratorVisitor.java:136)
   at org.netbeans.modules.xml.wizard.XMLGeneratorVisitor.generateXML(XMLGeneratorVisitor.java:166)
   at org.netbeans.modules.xml.wizard.impl.XMLWizardIterator.generateXMLBody(XMLWizardIterator.java:500)
   at org.netbeans.modules.xml.wizard.impl.XMLWizardIterator.prepareParameters(XMLWizardIterator.java:731)
   at org.netbeans.modules.xml.wizard.impl.XMLWizardIterator.instantiate(XMLWizardIterator.java:231)
   at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605)
Comment 1 Exceptions Reporter 2014-07-06 21:10:30 UTC
Created attachment 147909 [details]
stacktrace
Comment 2 misterm 2015-04-24 23:59:16 UTC
Created attachment 153384 [details]
stacktrace

.
Comment 3 Exceptions Reporter 2015-04-24 23:59:21 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=210567
Comment 4 misterm 2015-04-25 00:02:16 UTC
Created attachment 153385 [details]
stacktrace

.
Comment 5 Exceptions Reporter 2015-04-25 00:02:19 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=210567
Comment 6 Svata Dedic 2015-05-13 14:08:24 UTC
Could not reproduce, sorry. Could you please provide the XSD and the exact steps how did you proceed in the wizard ?