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 6.8 (Build 200912041610) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows XP User Comments: mudzakkir: Generate Entity Class From Database Stacktrace: java.lang.IllegalArgumentException: Called DataObject.find on null at org.openide.loaders.DataObject.find(DataObject.java:491) at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createDataObjectFromTemplate(GenerationUtils.java:197) at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createClass(GenerationUtils.java:161) at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createClass(GenerationUtils.java:125) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator.runImpl(JavaPersistenceGenerator.java:393) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator.run(JavaPersistenceGenerator.java:351)
Created attachment 101293 [details] stacktrace
Created attachment 101294 [details] stacktrace
please provide some steps to reproduce and if it's reproducible with fresh ide or somehow customized ide. Looks like nb can't find CLASS_TEMPLATE and it cause this npe, if class template was deleted/modified it may be the case, may be installation is corrupted or some necessary modules removed. there are a lot "WARNING [org.netbeans.modules.project.libraries.LibrariesStorage]: Cannot load library from file org-netbeans-api-project-libraries" warnings at startup, it may mean there is some global problem with nb. also there a lot of "Jar file C:\Documents and Settings\sk1u00e7\.netbeans\6.8\modules\xxxxxx.jar doesn't exists. Skip checking xxxxxxx", as it contain 6.8 it may be a problem with importing of old nb home, for proper evaluation and reassigning to proper component it's good to have more information.
most comments above are based on latest report but information is required for any case.
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