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
Depends on:
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:

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

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] JAXB compiler is not available for this project.
        at org.netbeans.modules.xml.jaxb.ui.JAXBWizardIterator.instantiate(
        at org.openide.loaders.TemplateWizard.handleInstantiate(
        at org.openide.loaders.TemplateWizard.instantiateNewObjects(
        at org.openide.loaders.TemplateWizardIterImpl.instantiate(
        at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(
        at org.openide.WizardDescriptor.callInstantiateOpen(
        at org.openide.WizardDescriptor.callInstantiate(
        at org.openide.WizardDescriptor.access$2300(
[catch] at org.openide.WizardDescriptor$Listener$2$
        at org.openide.util.RequestProcessor$
        at org.openide.util.RequestProcessor$

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 ***