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.
This bug was originally marked as duplicate of bug 205617, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 (Build 201302132200) VM: Java HotSpot(TM) Client VM, 20.12-b01, Java(TM) SE Runtime Environment, 1.6.0_37-b06 OS: Windows 7 User Comments: GUEST: <Please provide a description of the problem or the steps to reproduce> netneans create entitty from database crash save entty file. Stacktrace: java.lang.NullPointerException at org.netbeans.api.java.source.JavaSource.<init>(JavaSource.java:353) at org.netbeans.api.java.source.JavaSource._create(JavaSource.java:213) at org.netbeans.api.java.source.JavaSource.create(JavaSource.java:191) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator.runImpl(JavaPersistenceGenerator.java:516) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator.run(JavaPersistenceGenerator.java:385) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator.generateBeans(JavaPersistenceGenerator.java:215)
Created attachment 133744 [details] stacktrace
If it's not random and is reproducible for some tables always, please provide your schema/sql script.
sorry, need to downgrade for now to P4 as I see not enough information to fix the issue. exception is valid but it's unclear what is the cause. please provide some steps, if it's create or update entities, and if possible, please provide db schema. or I just have to wait for more reports to et more information, will ad also some additional logging here.
Integrated into 'main-golden', will be available in build *201306252301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8a06421ff250 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #228934 extend log
Created attachment 149550 [details] stacktrace not sure
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