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 176702 - Rest services from Entity Classes wizard fails in Maven Web project (Java EE 6)
Summary: Rest services from Entity Classes wizard fails in Maven Web project (Java EE 6)
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 09:37 UTC by Milan Kuchtiak
Modified: 2009-12-02 08:38 UTC (History)
1 user (show)

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 Milan Kuchtiak 2009-11-12 09:37:48 UTC
java.lang.NullPointerException: The model parameter cannot be null
        at org.openide.util.Parameters.notNull(Parameters.java:86)
        at org.netbeans.modules.websvc.rest.support.MetadataModelReadHelper.create(MetadataModelReadHelper.java:183)
        at org.netbeans.modules.websvc.rest.wizard.EntitySelectionPanelVisual.setupModel(EntitySelectionPanelVisual.java:391)
        at org.netbeans.modules.websvc.rest.wizard.EntitySelectionPanelVisual.read(EntitySelectionPanelVisual.java:384)
        at org.netbeans.modules.websvc.rest.wizard.AbstractPanel.readSettings(AbstractPanel.java:79)
        at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:900)
        at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:851)
        at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:731)
        at org.netbeans.modules.project.ui.NewFileWizard.updateState(NewFileWizard.java:118)
...
Comment 1 Milan Kuchtiak 2009-11-16 10:09:02 UTC
Fixed:
http://hg.netbeans.org/main/rev/9f268c6c2c0c
Comment 2 Quality Engineering 2009-11-17 03:04:37 UTC
Integrated into 'main-golden', will be available in build *200911170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9f268c6c2c0c
User: mkuchtiak@netbeans.org
Log: #176702: fixed problem with null MetadataModel for PU
Comment 3 Lukas Jungmann 2009-12-02 08:38:47 UTC
v. in 6.8