NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Unable to generate Entity Classes from Database in Netbeans v 6.8

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
SanjayPethe



Joined: 15 Feb 2011
Posts: 1

PostPosted: Tue Feb 15, 2011 12:03 pm    Post subject: Unable to generate Entity Classes from Database in Netbeans v 6.8 Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo