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.
Build: NetBeans IDE Dev (Build web-main-1675-on-090924) VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-92, Java(TM) SE Runtime Environment, 1.6.0_15-b03-226 OS: Mac OS X, 10.5.8, x86_64 User Comments: pjiricka: Entity from DB wizard. Stacktrace: java.lang.AssertionError: null TypeElement for "prdel.DiscountCode" at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$EntityClassGenerator.generateRelationship(JavaPersistenceGenerator.java:931) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$ClassGenerator.run(JavaPersistenceGenerator.java:676) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$1.run(JavaPersistenceGenerator.java:441) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$1.run(JavaPersistenceGenerator.java:437) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:653) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129)
Created attachment 88292 [details] stacktrace
This only happened to me once -> RANDOM.
see issue 152634, it's first time the issue happened in 6.8, still have no ideas how to reproduce if it's still reproducible.
Created attachment 93216 [details] stacktrace Generating entities from database.
issue #177341 may contain some details for evaluation
just tried with fixed sql from issue #177341 and still have no assertion, but will look at the issue as I see it as important one and I have some ideas on reasons.
I though I was able to reproduce the issue somehow before but can't any more, will try again a bit later
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=159093
*** Bug 184337 has been marked as a duplicate of this bug. ***
JPAGenTest::testGenerateRelatedEntitiesFromSampleSchema unit test generate the same fail.
Created attachment 98750 [details] stacktrace updating entities using persistence
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=159093
7.0 beta is latest build with the report so far, need to wait and may be it's not reproducible in 7.0-7.1 any more.
latest report is from 110110 build, suppose the issue isn't valid any more or fixed