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

NPE in Generate Tables from Entities Wizard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.2.1.M1, 3.3.0.M1
    • 3.2.0.Final
    • hibernate
    • None
    • 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
    • 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)

      Attachments

        Activity

          People

            dgeraskov Dmitry Geraskov (Inactive)
            dgeraskov Dmitry Geraskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: