[
https://jira.jboss.org/browse/JBIDE-6951?page=com.atlassian.jira.plugin.s...
]
Vitali Yemialyanchyk resolved JBIDE-6951.
-----------------------------------------
Resolution: Done
fixed - look like JBIDE-6951 and JBIDE-6722 - are the same
Unhandled event loop exception when Generic Exporter is used for Ant
Code Generation
------------------------------------------------------------------------------------
Key: JBIDE-6951
URL:
https://jira.jboss.org/browse/JBIDE-6951
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.2.0.M2
Environment: Version: 4.0.0.v201008261621R-H420-M2
Reporter: Jiri Peterka
Assignee: Vitali Yemialyanchyk
Priority: Critical
Fix For: 3.2.0.M2
Steps:
1. Create Code Generation Configuration
2. Add Generic Exporter (set default values for file pattern and template name)
3. Apply/Run
4. Select Project -> Export -> Hibernate -> Ant Code Generation
5. Select file location
6. Click Finish
java.lang.NullPointerException
at org.hibernate.eclipse.launch.CodeGenXMLFactory.createRoot(CodeGenXMLFactory.java:345)
at
org.hibernate.eclipse.launch.CodeGenXMLFactory.createCodeGenXML(CodeGenXMLFactory.java:471)
at
org.hibernate.eclipse.codegen.ExportAntCodeGenWizardPage.getInitialContents(ExportAntCodeGenWizardPage.java:225)
at
org.eclipse.ui.dialogs.WizardNewFileCreationPage.createNewFile(WizardNewFileCreationPage.java:380)
at
org.hibernate.eclipse.codegen.ExportAntCodeGenWizardPage.createNewFile(ExportAntCodeGenWizardPage.java:231)
at
org.hibernate.eclipse.codegen.ExportAntCodeGenWizard.performFinish(ExportAntCodeGenWizard.java:55)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
--
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