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 - NullPointerException at org.netbeans.modules.xml.wizard.XMLGeneratorVisitor.generateXML
Summary: NullPointerException at org.netbeans.modules.xml.wizard.XMLGeneratorVisitor.g...
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-06 21:10 UTC by Exceptions Reporter
Modified: 2015-05-13 14:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210567


Attachments
stacktrace (1.36 KB, text/plain)
2014-07-06 21:10 UTC, Exceptions Reporter
Details
stacktrace (1.51 KB, text/plain)
2015-04-24 23:59 UTC, misterm
Details
stacktrace (1.51 KB, text/plain)
2015-04-25 00:02 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ?