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 112434 - NPE at RESTServicesSetupPanelVisual.updateSourceGroupPackages():258
Summary: NPE at RESTServicesSetupPanelVisual.updateSourceGroupPackages():258
Status: VERIFIED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-09 12:27 UTC by Martin Schovanek
Modified: 2007-10-18 18:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException (6.96 KB, text/plain)
2007-08-09 12:28 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2007-08-09 12:27:20 UTC
[#200708080000, jdk1.5.0, Mac OS X]

to reproduce:
-------------
1) create new webproject with entity classes
2) create new REST ws from those entities

ERROR: IDE throws:
Comment 1 Martin Schovanek 2007-08-09 12:28:03 UTC
Created attachment 46398 [details]
NullPointerException
Comment 2 Nam Nguyen 2007-08-09 15:31:08 UTC
Works fine for me on Solaris x86 with JDK 1.5.0_11.  Must be MacOS specific.
Comment 3 Nam Nguyen 2007-08-09 15:33:03 UTC
Accept and will need a Mac to work on.
Comment 4 Lukas Jungmann 2007-08-10 14:11:26 UTC
reproducible for me on linux (ubuntu) as well today with a little bit different stacktrace:

java.lang.NullPointerException
	at org.netbeans.spi.java.project.support.ui.PackageView.createListView(PackageView.java:120)
	at
org.netbeans.modules.websvc.rest.wizard.RESTServicesSetupPanelVisual.updateSourceGroupPackages(RESTServicesSetupPanelVisual.java:305)
	at
org.netbeans.modules.websvc.rest.wizard.RESTServicesSetupPanelVisual.locationChanged(RESTServicesSetupPanelVisual.java:242)
	at
org.netbeans.modules.websvc.rest.wizard.RESTServicesSetupPanelVisual.locationComboBoxActionPerformed(RESTServicesSetupPanelVisual.java:186)
	at org.netbeans.modules.websvc.rest.wizard.RESTServicesSetupPanelVisual.access$000(RESTServicesSetupPanelVisual.java:50)
	at
org.netbeans.modules.websvc.rest.wizard.RESTServicesSetupPanelVisual$1.actionPerformed(RESTServicesSetupPanelVisual.java:95)
	at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1242)
	at javax.swing.JComboBox.setSelectedItem(JComboBox.java:569)
	at
org.netbeans.modules.websvc.rest.wizard.RESTServicesSetupPanelVisual.setSourceGroup(RESTServicesSetupPanelVisual.java:337)
	at org.netbeans.modules.websvc.rest.wizard.RESTServicesSetupPanelVisual.read(RESTServicesSetupPanelVisual.java:269)
	at org.netbeans.modules.websvc.rest.wizard.AbstractPanel.readSettings(AbstractPanel.java:57)
	at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:713)
...
Comment 5 Lukas Jungmann 2007-08-10 14:20:47 UTC
also note that I cannot reproduce this with clean userdir
Comment 6 Nam Nguyen 2007-08-10 20:39:49 UTC
Starting from clean userdir, would you ever see this NPE again?
Comment 7 Martin Schovanek 2007-08-13 13:12:25 UTC
Cannot reproduce on #200708130000 with clean userdir. Looks like fixed.
Comment 8 Lukas Jungmann 2007-10-18 18:08:34 UTC
v.