[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6750) Broken Code Generation Launch Configuration throws NPE

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Thu Aug 5 09:46:49 EDT 2010


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

Vitali Yemialyanchyk commented on JBIDE-6750:
---------------------------------------------

description should describe how the issue expected to be fixed:
1) Export wizard should display "Warning" message: "Selected Code Generation Configuration is broken, generated file should be adjusted";
2) file (sketch file) should be generated in this case;

> Broken Code Generation Launch Configuration throws NPE
> ------------------------------------------------------
>
>                 Key: JBIDE-6750
>                 URL: https://jira.jboss.org/browse/JBIDE-6750
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          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

        


More information about the jbosstools-issues mailing list