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

IllegalArgumentException in central

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Beta3
    • 4.2.0.Beta3
    • central
    • None
    • Sprint to Beta3 Release
      1. EXEC: Open JBoss Central and switch to Software/Update
      2. EXEC: Any available item for installation
      3. EXEC: Quickly select Refresh and then Install button
      4. ASSERT: No exception

      Considering that many operations in central are running as asyncExec it very easy to get exception like this:

      java.lang.IllegalArgumentException
      	at org.jboss.tools.project.examples.internal.discovery.PrepareInstallProfileJob.run(PrepareInstallProfileJob.java:97)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

      Fix for this issue should get button states enabled/disabled in sync with JBoss Central internal state. For example If Refresh button is pressed, there is no reason to let user to push Install or Check for Updates buttons.

            fbricon@redhat.com Fred Bricon
            nivologd@gmail.com Denis Golovin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: