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 107350 - NPE during JPA code generation from database
Summary: NPE during JPA code generation from database
Status: RESOLVED DUPLICATE of bug 101395
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-20 02:35 UTC by Nam Nguyen
Modified: 2007-06-20 13:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full stack trace (7.43 KB, text/plain)
2007-06-20 02:37 UTC, Nam Nguyen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nam Nguyen 2007-06-20 02:35:27 UTC
Using latest build 200706181800, or build from CVS, I got this stack trace when generate entity classes from database
tables.  I just select all table in jdbc/sample javaDB.

java.lang.NullPointerException
	at org.netbeans.modules.java.source.save.CasualDiff.isCommaSeparated(CasualDiff.java:2565)
	at org.netbeans.modules.java.source.save.CasualDiff.filterHidden(CasualDiff.java:1795)
...
	at
org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator.run(JavaPersistenceGenerator.java:324)
	at
org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator.generateBeans(JavaPersistenceGenerator.java:145)
Comment 1 Nam Nguyen 2007-06-20 02:37:01 UTC
Created attachment 44015 [details]
full stack trace
Comment 2 Erno Mononen 2007-06-20 09:00:16 UTC
Reassigning to java/source for further evaluation.
Comment 3 Lukas Jungmann 2007-06-20 12:36:00 UTC
Isn't this another duplicate of issue 101395?
Comment 4 Pavel Flaska 2007-06-20 13:36:58 UTC
Yes, it is. Thanks.

*** This issue has been marked as a duplicate of 101395 ***