[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7594) Start instance background job never ends when we are currently refreshing cloud

Libor Zoubek (JIRA) jira-events at lists.jboss.org
Sat Nov 20 09:38:53 EST 2010


    [ https://jira.jboss.org/browse/JBIDE-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564450#comment-12564450 ] 

Libor Zoubek commented on JBIDE-7594:
-------------------------------------

I cannot reproduce this issue, but I reproduced another one (very similar to this one)

Steps:
1. connect to cloud
2. Prepare to have CloudView and Instance View opened
3 .Refresh (using CloudView)
4. Try to start/stop using InstanceView

Current Behaviour: You get NPE per instance/action

!ENTRY org.jboss.tools.deltacloud.ui 4 0 2010-11-20 15:26:45.847
!MESSAGE 
!STACK 0
java.lang.NullPointerException
	at org.jboss.tools.deltacloud.core.DeltaCloud.waitForState(DeltaCloud.java:373)
	at org.jboss.tools.deltacloud.core.DeltaCloud.waitForState(DeltaCloud.java:366)
	at org.jboss.tools.deltacloud.ui.views.PerformInstanceActionThread.run(PerformInstanceActionThread.java:57)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Expected: Do not allow to start any action during refreshing

> Start instance background job never ends when we are currently refreshing cloud
> -------------------------------------------------------------------------------
>
>                 Key: JBIDE-7594
>                 URL: https://jira.jboss.org/browse/JBIDE-7594
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: deltacloud
>    Affects Versions: 3.2.0.Beta2
>         Environment: 3.2.0.v20101114-2138-H230-Beta2
>            Reporter: Libor Zoubek
>            Assignee: Libor Zoubek
>             Fix For: 3.2.0.CR1
>
>
> I think this 'deadlock' happens when you try to do action and we are still refreshing cloud. I think implementing JBIDE-7554 could solve this issue.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list