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 208934

Summary: Cannot create REST services from database
Product: webservices Reporter: Jiri Skrivanek <jskrivanek>
Component: RESTAssignee: Denis Anisimov <ads>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P1    
Version: 7.2   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Stack trace.

Description Jiri Skrivanek 2012-02-28 08:56:04 UTC
Created attachment 116168 [details]
Stack trace.

It is not possible to create REST web services from database. To reproduce:

- create java web project with GlassFish 3.1.2 (both java EE 5 and 6 fail)
- open new file wizard
- select "Web Services|RESTful Web Services from Database" and click Next
- select jdbc/sample datasource
- add all tables and click Next
- provide package name and finish wizard
- for java EE 5 there is nothing in controller and service packages. For Java EE 6 it throws attached exception and only 2 files are generated in service package.

Product Version: NetBeans IDE Dev (Build 201202270400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 Denis Anisimov 2012-02-29 07:19:51 UTC
Background scan related issue.
Comment 2 Denis Anisimov 2012-02-29 10:14:45 UTC
web-main#93451cbee4e7
Comment 3 Quality Engineering 2012-03-01 11:01:53 UTC
Integrated into 'main-golden', will be available in build *201203010400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/93451cbee4e7
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#208934 - Cannot create REST services from database
Comment 4 Jiri Skrivanek 2012-03-06 11:41:45 UTC
A different exception appears in build 201203060400. Filed bug 209228.