NetBeans:NullPointerException thrown when creating tables.
----------------------------------------------------------
Key: HBX-941
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-941
Project: Hibernate Tools
Issue Type: Bug
Components: ant
Affects Versions: 3.2beta8
Environment: OS: Linux FC6 Kernel: 2.6.19
DB: Derby: 10.2
Hibernate: 3.2
Reporter: Sadi Melbouci
Using the Hibernate plugin for NetBeans. Created the Hibernate Beans using the hibernate
extension.
I was able to create the hbm.xml files.
In Hibernate Extension provides a way to create the DB from the hbm.xml files. When trying
to do, an exception is throw:
java.lang.IllegalStateException: java.lang.NullPointerException
at
sf.netbeans.nbxdoclet.hibernate.HibernatePanel.createDatabase(HibernatePanel.java:454)
at
sf.netbeans.nbxdoclet.hibernate.HibernateCreateTableAction$1.run(HibernateCreateTableAction.java:54)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Caused by: java.lang.NullPointerException
at
sf.netbeans.nbxdoclet.hibernate.HibernatePanel.createDatabase(HibernatePanel.java:445)
... 3 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira