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 251151 - JAXB wizard in maven project return an error e throw an Exception
Summary: JAXB wizard in maven project return an error e throw an Exception
Status: RESOLVED DUPLICATE of bug 199810
Alias: None
Product: xml
Classification: Unclassified
Component: JAXB (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-13 09:55 UTC by cristallo
Modified: 2015-04-28 07:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NetBeans log file (41.03 KB, text/x-log)
2015-03-13 09:55 UTC, cristallo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cristallo 2015-03-13 09:55:30 UTC
Created attachment 152599 [details]
NetBeans log file

I'm trying to run a JAXB binding within a Maven project generated by the archetype "maven-archetype-quickstart". I open the page of JAXB wizard and insert the required information including the path to a local xsd file. Pressing the Finish buttone the Wizard panel stay open and for a short time a message appears that says: JAXB compiler is not available for this project. The wizard doesn't do anything. No files are copied or created.

Inside the netbeans log file appears the following exception:

INFO [org.openide.WizardDescriptor]
java.io.IOException: JAXB compiler is not available for this project.
        at org.netbeans.modules.xml.jaxb.ui.JAXBWizardIterator.instantiate(JAXBWizardIterator.java:186)
        at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605)
        at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439)
        at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:248)
        at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:160)
        at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1629)
        at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1570)
        at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:92)
[catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2257)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)


My operating system is Ubuntu 14:10 X64 updated, the JDK 1.8.0_40-b25 is. Everything, Ubuntu, JDK and NetBeans are installed on a new machine.
Comment 1 Svata Dedic 2015-04-28 07:48:05 UTC

*** This bug has been marked as a duplicate of bug 199810 ***