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 243812 - AssertionError: null TypeElement for "com.mycompany.mycustomerrestapp.MicroMarket"
Summary: AssertionError: null TypeElement for "com.mycompany.mycustomerrestapp.MicroMa...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.0
Hardware: All All
: P4 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-14 11:50 UTC by Martin Kozeny
Modified: 2016-07-07 08:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209101


Attachments
stacktrace (6.64 KB, text/plain)
2014-04-14 11:50 UTC, Martin Kozeny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kozeny 2014-04-14 11:50:36 UTC
This bug was originally marked as duplicate of bug 208630, 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 201404070001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Linux

User Comments:
mkozeny: When generating Restful service from db, error occurred.




Stacktrace: 
java.lang.AssertionError: null TypeElement for "com.mycompany.mycustomerrestapp.MicroMarket"
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$EntityClassGenerator.generateRelationship(JavaPersistenceGenerator.java:1454)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$ClassGenerator.run(JavaPersistenceGenerator.java:873)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$2.run(JavaPersistenceGenerator.java:590)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$2.run(JavaPersistenceGenerator.java:584)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:649)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:639)
Comment 1 Martin Kozeny 2014-04-14 11:50:38 UTC
Created attachment 146734 [details]
stacktrace
Comment 2 Sergey Petrov 2014-07-07 20:37:01 UTC
If it's  reproducible always, it should be dependent of db schema,was it always reproducible for some case?
Comment 3 Sergey Petrov 2014-07-22 13:14:48 UTC
one report so far, may be specific to some dev build, without much details, set to P4
Comment 4 Martin Balin 2016-07-07 08:56:14 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss