NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
SanjayPethe
Joined: 15 Feb 2011 Posts: 1
|
Posted: Tue Feb 15, 2011 12:03 pm Post subject: Unable to generate Entity Classes from Database in Netbeans v 6.8 |
|
|
Hello,
I get the following error when trying to generate entity classes from database (right click on Project - New - Enttity Classes from Database ...)
This is with Netbeans 6.8 using a MySQL database (MySQL 5.1.41-3ubuntu12.9) on Ubuntu 10.04
The project properties shows that it is using the Java Server Faces framework, thought it does not seem I can add any more (Add button is grayed out).
Am I missing some required component?
Any help is much appreciated.
Thanks,
SGP
====Error Message===========
java.lang.NullPointerException
at org.netbeans.modules.glassfish.javaee.db.DbUtil.normalizePoolMap(DbUtil.java:102)
at org.netbeans.modules.glassfish.javaee.db.Hk2DatasourceManager$ConnectionPool.normalize(Hk2DatasourceManager.java:290)
at org.netbeans.modules.glassfish.javaee.db.Hk2DatasourceManager.readDatasources(Hk2DatasourceManager.java:199)
at org.netbeans.modules.glassfish.javaee.db.Hk2DatasourceManager.getDatasources(Hk2DatasourceManager.java:105)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getDatasources(ServerInstance.java:693)
at org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider.getServerDatasources(J2eeModuleProvider.java:196)
at org.netbeans.modules.j2ee.common.DatasourceUIHelper.getDatasources(DatasourceUIHelper.java:480)
at org.netbeans.modules.j2ee.common.DatasourceUIHelper.access$200(DatasourceUIHelper.java:91)
at org.netbeans.modules.j2ee.common.DatasourceUIHelper$2.run(DatasourceUIHelper.java:346)
at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker.invokeNextActionsOfSameKind(Unknown Source)
at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker.access$100(Unknown Source)
at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker$1.run(Unknown Source)
at org.openide.util.RequestProcessor$Task.run(Unknown Source)
[catch] at org.openide.util.RequestProcessor$Processor.run(Unknown Source)
=================== |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|