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

Command execution interrupted: Execution context is null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.3.0.Beta1
    • 3.3.0.M4
    • hibernate
    • None
    • Hide

      1. Create console configuration
      2. Press expand in ConsoleConfiguration view
      3. In 1-3 seconds press Refresh
      If you get in right time you'll get the exception

      Show
      1. Create console configuration 2. Press expand in ConsoleConfiguration view 3. In 1-3 seconds press Refresh If you get in right time you'll get the exception

    Description

      org.hibernate.console.HibernateConsoleRuntimeException: Command execution interrupted: Execution context is null, 'Hibernate3.5' console configuration is closed.
      at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:75)
      at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:41)
      at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
      at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
      at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

      The reason is:
      One process is building Configuration (through ConsoleConfiguration#execute(Command))
      Another process clears execution context.

      Need to synchronize the methods.

      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: