[
https://jira.jboss.org/browse/JBIDE-6722?page=com.atlassian.jira.plugin.s...
]
Vitali Yemialyanchyk updated JBIDE-6722:
----------------------------------------
Description:
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)
was:
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)
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.M1
Reporter: Vitali Yemialyanchyk
Assignee: Max Rydahl Andersen
Priority: Minor
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