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 262227

Summary: IllegalArgumentException: Incorrect number of type arguments
Product: webservices Reporter: Exceptions Reporter <exceptions_reporter>
Component: RESTAssignee: Milan Kuchtiak <mkuchtiak>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224211
Attachments: stacktrace

Description Exceptions Reporter 2016-05-25 22:01:04 UTC
This bug was originally marked as duplicate of bug 209199, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.73-b02, Java(TM) SE Runtime Environment, 1.8.0_73-b02
OS: Windows 7

User Comments:
GUEST: f




Stacktrace: 
java.lang.IllegalArgumentException: Incorrect number of type arguments
   at com.sun.tools.javac.model.JavacTypes.getDeclaredType0(JavacTypes.java:250)
   at com.sun.tools.javac.model.JavacTypes.getDeclaredType(JavacTypes.java:226)
   at org.netbeans.modules.websvc.rest.wizard.fromdb.EjbFacadeGenerator$2.run(EjbFacadeGenerator.java:473)
   at org.netbeans.modules.websvc.rest.wizard.fromdb.EjbFacadeGenerator$2.run(EjbFacadeGenerator.java:295)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:636)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:626)
Comment 1 Exceptions Reporter 2016-05-25 22:01:06 UTC
Created attachment 159880 [details]
stacktrace
Comment 2 Dusan Balek 2016-05-26 07:19:19 UTC
Proper number of type arguments should be passed to Types.getDeclaredType(...) by EjbFacadeGenerator.