Broken Code Generation Launch Configuration throws NPE
------------------------------------------------------
Key: JBIDE-6750
URL:
https://jira.jboss.org/browse/JBIDE-6750
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.2.0.M1
Reporter: Dmitry Geraskov
Assignee: Vitali Yemialyanchyk
Fix For: 3.2.0.M2
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