Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6951

Unhandled event loop exception when Generic Exporter is used for Ant Code Generation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.2.0.M2
    • 3.2.0.M2
    • hibernate
    • None

      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)

              jpeterka_jira Jiri Peterka (Inactive)
              jpeterka_jira Jiri Peterka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: