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

Jiri Peterka (JIRA) jira-events at lists.jboss.org
Tue Sep 7 06:12:52 EDT 2010


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

Jiri Peterka closed JBIDE-6722.
-------------------------------



Verified in JBT 3.3.0.v20100903-2012-H11-M2, Linux 64

> 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: Jiri Peterka
>            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