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 218340 - NullPointerException at org.netbeans.modules.web.client.rest.wizard.RestPanelVisual.valid
Summary: NullPointerException at org.netbeans.modules.web.client.rest.wizard.RestPanel...
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Web Services Client (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-14 07:17 UTC by Jiri Skrivanek
Modified: 2012-09-17 07:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192420


Attachments
stacktrace (6.28 KB, text/plain)
2012-09-14 07:17 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2012-09-14 07:17:50 UTC
Build: NetBeans IDE Dev (Build 201209140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
jskrivanek: My steps:
- Create Web Project with GF as a target server
- Use RESTful from Web Service from Database.
- Select MANUFACTURER table in the wizard.
- use Jersey specific features
- finish the wizard
- open new file wizard
- create "Web Services|Jersey Cross-Origin..."
- deploy project
- open new project wizard
- select "HTML/JavaScript|HTML 5 Application"
- finish the wizard with defaults
- right-click Site Root node and choose "New|RESTful JavaScript Client"
- click Browse to select "REST Project Resource"
- choose previously created web service
- click OK and exception appeared




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.client.rest.wizard.RestPanelVisual.valid(RestPanelVisual.java:312)
   at org.netbeans.modules.web.client.rest.wizard.RestPanel.isValid(RestPanel.java:123)
   at org.netbeans.modules.project.ui.SimpleTargetChooserPanel.isValid(SimpleTargetChooserPanel.java:126)
   at org.netbeans.modules.web.client.rest.wizard.FinishPanelDelegate.isValid(FinishPanelDelegate.java:92)
   at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:856)
   at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:799)
Comment 1 Jiri Skrivanek 2012-09-14 07:17:53 UTC
Created attachment 124346 [details]
stacktrace
Comment 2 Denis Anisimov 2012-09-14 12:02:16 UTC
web-main#49015d8b16bd
Comment 3 Quality Engineering 2012-09-15 02:12:17 UTC
Integrated into 'main-golden', will be available in build *201209150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/49015d8b16bd
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#218340 - NullPointerException at org.netbeans.modules.web.client.rest.wizard.RestPanelVisual.valid