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 193089 - NullPointerException at org.netbeans.api.java.source.JavaSource.<init>
Summary: NullPointerException at org.netbeans.api.java.source.JavaSource.<init>
Status: RESOLVED DUPLICATE of bug 193800
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 05:03 UTC by supachai
Modified: 2010-12-28 14:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171413


Attachments
stacktrace (2.21 KB, text/plain)
2010-12-09 05:03 UTC, supachai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description supachai 2010-12-09 05:03:10 UTC
Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows 7

User Comments:
GUEST: I'm generation Entity calsses from datatbase (2 tables)

GUEST: generating entities form a database




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.java.source.JavaSource.<init>(JavaSource.java:349)
   at org.netbeans.api.java.source.JavaSource._create(JavaSource.java:214)
   at org.netbeans.api.java.source.JavaSource.create(JavaSource.java:192)
   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)
Comment 1 supachai 2010-12-09 05:03:14 UTC
Created attachment 103786 [details]
stacktrace
Comment 2 Sergey Petrov 2010-12-10 09:24:11 UTC
looks like class file can't be found, is it always reproducible? if yes, please add more steps.
Comment 3 Sergey Petrov 2010-12-28 14:33:46 UTC

*** This bug has been marked as a duplicate of bug 193800 ***