[
https://jira.jboss.org/browse/JBIDE-6750?page=com.atlassian.jira.plugin.s...
]
Vitali Yemialyanchyk updated JBIDE-6750:
----------------------------------------
Attachment: screenshot-1.jpg
screenshot-1 - warning message if Hibernate Code Generation Configuration has an error
Broken Code Generation Launch Configuration throws NPE
------------------------------------------------------
Key: JBIDE-6750
URL:
https://jira.jboss.org/browse/JBIDE-6750
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: Hibernate
Affects Versions: 3.2.0.M1
Reporter: Dmitry Geraskov
Assignee: Vitali Yemialyanchyk
Fix For: 3.2.0.M2
Attachments: screenshot-1.jpg
To reproduce;
1. Create new empty Hibernate Code Generation Launch Configuration
2. Run Export ant script for it
java.lang.NullPointerException
at
org.hibernate.eclipse.launch.CodeGenXMLFactory.getConsoleConfigPreferences(CodeGenXMLFactory.java:272)
at org.hibernate.eclipse.launch.CodeGenXMLFactory.createRoot(CodeGenXMLFactory.java:87)
at
org.hibernate.eclipse.codegen.ExportAntCodeGenWizardPage.getInitialContents(ExportAntCodeGenWizardPage.java:147)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira