[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6722) Code Generation -> Generic Exporter -> NPE

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Thu Sep 2 11:40:52 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-6722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitali Yemialyanchyk resolved JBIDE-6722.
-----------------------------------------

    Resolution: Done


fixed in trunk and in M2 branch - look like JBIDE-6951 and JBIDE-6722 - are the same

> Code Generation -> Generic Exporter -> NPE
> ------------------------------------------
>
>                 Key: JBIDE-6722
>                 URL: https://jira.jboss.org/browse/JBIDE-6722
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.2.0.M2
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Vitali Yemialyanchyk
>            Priority: Blocker
>             Fix For: 3.2.0.M2
>
>         Attachments: JBIDE-6722_20100729.txt
>
>
> steps to reproduce:
> 1) In Hibernate CodeGen configuration select Generic Exporter as exporter to use;
> 2) configure several properties for Generic Exporter with nodefault values - for for_each;
> 3) save Hibernate CodeGen configuration;
> 4) export this configuration into ant codegen file;
> - get exception
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:394)
> at org.hibernate.eclipse.console.model.impl.ExporterFactory.extractExporterProperties(ExporterFactory.java:312)
> at org.hibernate.eclipse.launch.CodeGenXMLFactory.createRoot(CodeGenXMLFactory.java:260)
> at org.hibernate.eclipse.codegen.ExportAntCodeGenWizardPage.getInitialContents(ExportAntCodeGenWizardPage.java:147)
> at org.eclipse.ui.dialogs.WizardNewFileCreationPage.createNewFile(WizardNewFileCreationPage.java:380)
> 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