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

NullPointerException in ProjectUtils.availablePersistenceUnits

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.4.4.AM2, 4.5.0.AM1
    • 4.4.3.Final
    • hibernate
    • None

      The following problem was reported via the automated error reporting:

      Message: Unhandled event loop exception
      java.lang.NullPointerException: null
      at org.hibernate.eclipse.console.utils.ProjectUtils.availablePersistenceUnits(ProjectUtils.java:402)
      at org.hibernate.eclipse.console.utils.DialogSelectionHelper.choosePersistenceUnit(DialogSelectionHelper.java:94)
      at org.hibernate.eclipse.launch.ConsoleConfigurationMainTab.handlePersistenceUnitBrowse(ConsoleConfigurationMainTab.java:292)
      at org.hibernate.eclipse.launch.ConsoleConfigurationMainTab.access$3(ConsoleConfigurationMainTab.java:291)
      at org.hibernate.eclipse.launch.ConsoleConfigurationMainTab$5.widgetSelected(ConsoleConfigurationMainTab.java:189)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

      Bundles:

      org.eclipse.swt 3.105.0.v20160603-0902 3.105.1.v20160907-0248
      org.hibernate.eclipse 5.1.1.v20160613-0605 5.1.2.v20161111-1418
      org.hibernate.eclipse.console 5.1.1.v20160730-1423 5.1.2.v20161116-1036

      Operating Systems:

      Linux 2.6.32.11 2.6.32.11
      Windows 6.1.0 10.0.0

      The above information is a snapshot of the collected data. Visit https://aer.ctrlflow.com/redhat/reviewers/#!/problems/571e114be4b08bd809cfaf6a for the latest data.

      Thank you for your assistance.
      Your friendly error-reports-inbox.

            kaers@redhat.com Koen Aers
            aer-bot Automated Error Reporting Bot (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: