-
Bug
-
Resolution: Done
-
Major
-
4.2.0.Beta3
-
None
-
Sprint to Beta3 Release
-
- EXEC: Open JBoss Central and switch to Software/Update
- EXEC: Any available item for installation
- EXEC: Quickly select Refresh and then Install button
- 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.