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 201012150001) VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Linux Stacktrace: java.lang.NullPointerException at org.netbeans.api.java.source.JavaSource.<init>(JavaSource.java:347) at org.netbeans.api.java.source.JavaSource._create(JavaSource.java:212) at org.netbeans.api.java.source.JavaSource.create(JavaSource.java:190) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator.runImpl(JavaPersistenceGenerator.java:493) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator.run(JavaPersistenceGenerator.java:376) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator.generateBeans(JavaPersistenceGenerator.java:210)
Created attachment 104485 [details] stacktrace
is there a way to reproduce?
*** Bug 193089 has been marked as a duplicate of this bug. ***
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=173299
Created attachment 105311 [details] stacktrace generate Customer with DiscountCode refactor/rename Customer to Customer2 try update (Entities from db) Customer and DiscountCode got exception on 'finish'
http://hg.netbeans.org/web-main/rev/e2ed5965e382 http://hg.netbeans.org/web-main/rev/87b747bf41ab fixed.
Integrated into 'main-golden', will be available in build *201101250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e2ed5965e382 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #193800 - first part, default name is based on existent now, exception rate should be lower now