Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8822

NPE in Generate Tables from Entities Wizard

    Details

    • Steps to Reproduce:
      Hide

      1. Create jpa project with hibernate platform and database connection
      2. Create new Entity (New->Entity)
      3. Right click on the project->Jpa tools->Generate Tables from Entities
      4. Fill the dialog and run it
      The exception should not occur, ddl file should be generated

      Show
      1. Create jpa project with hibernate platform and database connection 2. Create new Entity (New->Entity) 3. Right click on the project->Jpa tools->Generate Tables from Entities 4. Fill the dialog and run it The exception should not occur, ddl file should be generated
    • Release Notes Text:
      Added steps to reproduce

      Description

      java.lang.NullPointerException
      at java.io.StringReader.<init>(StringReader.java:33)
      at org.eclipse.debug.internal.core.LaunchConfiguration.<init>(LaunchConfiguration.java:205)
      at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate$MockLaunchConfig.<init>(CodeGenerationLaunchDelegate.java:204)
      at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.updateLaunchConfig(CodeGenerationLaunchDelegate.java:234)
      at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.getLaunch(CodeGenerationLaunchDelegate.java:258)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:784)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:696)
      at org.jboss.tools.hibernate.jpt.ui.wizard.GenerateDdlWizard.performFinish(GenerateDdlWizard.java:70)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dgeraskov Dmitry Geraskov
                Reporter:
                dgeraskov Dmitry Geraskov
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: