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 216799 - NullPointerException at org.netbeans.modules.web.client.rest.wizard.JSClientGenerator.generateRouter
Summary: NullPointerException at org.netbeans.modules.web.client.rest.wizard.JSClientG...
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-08-13 13:01 UTC by Jiri Skrivanek
Modified: 2012-09-04 13:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191500


Attachments
stacktrace (3.03 KB, text/plain)
2012-08-13 13:01 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-08-13 13:01:21 UTC
Build: NetBeans IDE Dev (Build EaselCSS-482-on-20120813)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b22
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 DISCOUT_CODE table in the wizard.
- finish the wizard
- open new project wizard
- select "HTML/JavaScript|HTML 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 Next
- type "public_html" as html file target folde
- click Finish




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.client.rest.wizard.JSClientGenerator.generateRouter(JSClientGenerator.java:517)
   at org.netbeans.modules.web.client.rest.wizard.JSClientGenerator.generate(JSClientGenerator.java:434)
   at org.netbeans.modules.web.client.rest.wizard.JSClientGenerator.handleRestMethods(JSClientGenerator.java:328)
   at org.netbeans.modules.web.client.rest.wizard.JSClientGenerator.access$100(JSClientGenerator.java:84)
   at org.netbeans.modules.web.client.rest.wizard.JSClientGenerator$1.run(JSClientGenerator.java:185)
   at org.netbeans.modules.web.client.rest.wizard.JSClientGenerator$1.run(JSClientGenerator.java:148)
Comment 1 Jiri Skrivanek 2012-08-13 13:01:23 UTC
Created attachment 123045 [details]
stacktrace
Comment 2 Denis Anisimov 2012-09-03 11:04:04 UTC
web-main#6e209d8d9907
Comment 3 Quality Engineering 2012-09-04 01:10:40 UTC
Integrated into 'main-golden', will be available in build *201209040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6e209d8d9907
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#216799 - NullPointerException at org.netbeans.modules.web.client.rest.wizard.JSClientGenerator.generateRouter