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

Denis Golovin (JIRA) jira-events at lists.jboss.org
Fri Sep 3 17:14:52 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-6951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12548681#action_12548681 ] 

Denis Golovin edited comment on JBIDE-6951 at 9/3/10 5:14 PM:
--------------------------------------------------------------

fixed - looks like JBIDE-6951 and JBIDE-6722 - are the same

      was (Author: vyemialyanchyk):
    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

        


More information about the jbosstools-issues mailing list