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.
- Installed Netbeans 5.5 Dev Release dated 20060601 - Defined MySQL JDBC Driver - Added Library with MySQL Driver - Connected to MySQL Database using the Database node in "Runtime" - Open existing Web App that runs under Bundled Tomcat (not currently running ) Case 1: (No persistence.xml) - Open sources folder. Right click and select "Entities from Database" - In the dialog, select the jdbc connection and select all tables - The dialog shows that there is no persistence unit that exists. Click on the button to create it - Gives NullPinterException ( log attached ) Case 2: (With persistence.xml) - Open sources folder. - Create a persistence.xml (attached) and save in the entity folder - Right click and select "Entities from Database" - In the dialog, select the jdbc connection and select all tables - The dialog shows that there is no persistence unit that exists. Click on the button to create it - Gives NullPinterException ( log attached )
Created attachment 30767 [details] Log for the Null Pointer Exception
Created attachment 30768 [details] persistence.xml that was used
-> j2ee/persistence
Did you have a standard web project or a free-form project (web application with existing ant script) ?
I cannot reproduce it in standard web application. Please attach your project
I will assume this really refers to freeform so it is a duplicate of 75850. *** This issue has been marked as a duplicate of 75850 ***