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 156209 - NullPointerException: The model parameter cannot be null
Summary: NullPointerException: The model parameter cannot be null
Status: RESOLVED DUPLICATE of bug 159527
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Denis Anisimov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-01 08:42 UTC by tprochazka
Modified: 2010-10-07 13:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144792


Attachments
stacktrace (4.95 KB, text/plain)
2009-01-01 08:42 UTC, tprochazka
Details
stacktrace (7.41 KB, text/plain)
2009-10-05 12:08 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tprochazka 2009-01-01 08:42:48 UTC
Build: NetBeans IDE Dev (Build 20081230154857)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments:
tprochazka: I tried create RESTfull web service



Stacktrace: 
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:880)
Comment 1 tprochazka 2009-01-01 08:42:53 UTC
Created attachment 75390 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-07-20 08:24:11 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144792
Comment 3 Jaroslav Pospisil 2009-10-05 12:08:20 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910020947)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows Vista, 6.0, x86

User Comments: 
Invoked RESTful Web Services from Entity Classes wizard for entities,created from javadb:sample database.

Stacktrace: 
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:886)
Comment 4 Jaroslav Pospisil 2009-10-05 12:08:24 UTC
Created attachment 88825 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-10-05 12:08:32 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144792
Comment 6 Denis Anisimov 2010-10-07 13:17:33 UTC
Exactly the same problem as BZ#159527 https://netbeans.org/bugzilla/show_bug.cgi?id=159527.

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