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.
Created attachment 133260 [details] Stack trace. Assertion error coming from GlassFish Hk2LibraryProvider appears when creating REST web services from DB. To reproduce: - create Maven Java EE 5 project with GlassFish 4 server - open new file wizard - select "Web Services|RESTful Web Services from Database" - click Next - choose jdbc/sample datasource - select and add Manufacturer table - click Next and finish the wizard - once dialog "REST configuration" appears confirm default values - after while exception is thrown and service is not created Product Version: NetBeans IDE Dev (Build web-main-javaee7-195-on-20130328) Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Created attachment 133262 [details] Another stack trace The same java.lang.AssertionError but there is nothing coming from Glassfish.
GlassFish Tooling Library: -------------------------- changeset: 256:f900ab9db577 branch: 0.3-b036 summary: Bug# 228161 - JAX-RS library updated for GlassFish 4 changeset: 477:a5cb607ea723 summary: Bug# 228161 - JAX-RS library updated for GlassFish 4
NetBeans web-main: ------------------ changeset: 249509:2bd679d63c77 branch: javaee7 summary: #228161 - JAX-RS library updated for GlassFish 4
JAX-WS JAR name was changed in GlassFish 4 and this change was not done in GlassFishV4.xml (server features config file) in Glassfish Tooling Library. This caused that content of JAX-WS library was empty.