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 - IllegalArgumentException: Incorrect number of type arguments
Summary: IllegalArgumentException: Incorrect number of type arguments
Status: NEW
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-25 22:01 UTC by Exceptions Reporter
Modified: 2016-05-26 07:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 224211


Attachments
stacktrace (4.63 KB, text/plain)
2016-05-25 22:01 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.