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 269882

Summary: IllegalArgumentException: Incorrect number of type arguments
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228129
Attachments: stacktrace

Description Exceptions Reporter 2017-02-21 00:24:42 UTC
This bug was originally marked as duplicate of bug 219778, 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.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Windows 7

User Comments:
GUEST: Error while trying to reproduce 
https://netbeans.org/kb/docs/web/jsf20-crud.html
After generating JSF pages from Entiticy Classes




Stacktrace: 
java.lang.IllegalArgumentException: Incorrect number of type arguments
   at com.sun.tools.javac.model.JavacTypes.getDeclaredType0(JavacTypes.java:265)
   at com.sun.tools.javac.model.JavacTypes.getDeclaredType(JavacTypes.java:240)
   at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator$3.run(EjbFacadeWizardIterator.java:459)
   at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator$3.run(EjbFacadeWizardIterator.java:412)
   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 2017-02-21 00:24:44 UTC
Created attachment 163674 [details]
stacktrace