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 221773 - AssertionError: null TypeElement for "com.mycompany.test.RiskItemHasCause"
Summary: AssertionError: null TypeElement for "com.mycompany.test.RiskItemHasCause"
Status: RESOLVED DUPLICATE of bug 217461
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 23:14 UTC by javydreamercsw
Modified: 2012-11-09 08:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 194794


Attachments
stacktrace (4.43 KB, text/plain)
2012-11-08 23:14 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-11-08 23:14:14 UTC
This bug was originally marked as duplicate of bug 213736, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201211080001)
VM: Java HotSpot(TM) Client VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 7

User Comments:
javydreamercsw: Creating Entities from DB




Stacktrace: 
java.lang.AssertionError: null TypeElement for "com.mycompany.test.RiskItemHasCause"
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$EntityClassGenerator.generateRelationship(JavaPersistenceGenerator.java:1382)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$ClassGenerator.run(JavaPersistenceGenerator.java:842)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$2.run(JavaPersistenceGenerator.java:560)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$2.run(JavaPersistenceGenerator.java:554)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:644)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:634)
Comment 1 javydreamercsw 2012-11-08 23:14:17 UTC
Created attachment 127431 [details]
stacktrace
Comment 2 Sergey Petrov 2012-11-09 08:50:41 UTC
same as 217461 except assertions On

*** This bug has been marked as a duplicate of bug 217461 ***