[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6951) Unhandled event loop exception when Generic Exporter is used for Ant Code Generation

Jiri Peterka (JIRA) jira-events at lists.jboss.org
Tue Aug 31 11:17:11 EDT 2010


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
            Priority: Critical


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

        


More information about the jbosstools-issues mailing list