[ 
https://issues.apache.org/jira/browse/AIRAVATA-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amila Jayasekara closed AIRAVATA-720.
-------------------------------------

    
> Error message when I try to delete Application Service from Xbaya dashboard
> ---------------------------------------------------------------------------
>
>                 Key: AIRAVATA-720
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-720
>             Project: Airavata
>          Issue Type: Bug
>          Components: XBaya
>    Affects Versions: 0.6
>         Environment: Mac OS 10.5.8
> Processor: 2 x 2.8GHz Quad-Core Intel Xeon
> Memory 8G 800 Mhz DDR2
> Java 1.6.0_26
>            Reporter: Pedro da Silveira
>            Priority: Minor
>             Fix For: 0.9
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> On XBaya, I first created one application service and named AppVLab. Then I 
> insert one input and one output.
> Input     Pwscf_Input     URI
> Output  Pwscf_Ouput    URI
> I also added the host "thresles" assuming my workflow would be submitted 
> there.
> Later, on the Xbaya dashboard, I inserted my AppVlab into the dashBoard and 
> connect one Input "Pwscf_Input" and one output "Pwscf_Output" in it.
> I saved the workflow into my registry and in a local file in my desktop.
> Later, I went back to Application Service configuration by Edit => 
> Applications => AppVLab => Edit and I added two new inputs.
> Input    Mg         URI
> Input    Ca         URI 
> I saved the new application service and returned to Xbaya dashboard. My 
> application service on dashboard didn't allowed to insert the two new inputs. 
> I went to the Components Menu and click refresh.
> Nothing changed. I decided to delete my current application service from my 
> dashboard, refresh the Components Menu and insert the new updated application 
> service again. 
> After that, back in the dashboard with the new application service updated, I 
> noticed that I had option to insert 3 inputs, but then I decide to delete my 
> application service again, because I considered a deeper thought on input 
> options. When I tried to delete the application service  I got the error 
> message below:
> Unexpected Error:
>       org.apache.airavata.workflow.model.graph.GraphException: The graph 
> doesn't contain the node that is being removed.
>       at 
> org.apache.airavata.workflow.model.graph.impl.GraphImpl.removeNode(GraphImpl.java:170)
>       at 
> org.apache.airavata.workflow.model.wf.Workflow.removeNode(Workflow.java:460)
>       at 
> org.apache.airavata.xbaya.ui.graph.GraphCanvas.removeSelectedNode(GraphCanvas.java:338)
>       at 
> org.apache.airavata.xbaya.ui.graph.GraphCanvas.removeSelected(GraphCanvas.java:298)
>       at 
> org.apache.airavata.xbaya.ui.graph.GraphCanvas.keyPressed(GraphCanvas.java:780)
>       at 
> org.apache.airavata.xbaya.ui.graph.GraphCanvas.access$1000(GraphCanvas.java:97)
>       at 
> org.apache.airavata.xbaya.ui.graph.GraphCanvas$5.keyPressed(GraphCanvas.java:1152)
>       at java.awt.Component.processKeyEvent(Component.java:6331)
>       at javax.swing.JComponent.processKeyEvent(JComponent.java:2801)
>       at java.awt.Component.processEvent(Component.java:6150)
>       at java.awt.Container.processEvent(Container.java:2085)
>       at java.awt.Component.dispatchEventImpl(Component.java:4735)
>       at java.awt.Container.dispatchEventImpl(Container.java:2143)
>       at java.awt.Component.dispatchEvent(Component.java:4565)
>       at 
> java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
>       at 
> java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
>       at 
> java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
>       at 
> java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
>       at 
> java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
>       at java.awt.Component.dispatchEventImpl(Component.java:4607)
>       at java.awt.Container.dispatchEventImpl(Container.java:2143)
>       at java.awt.Window.dispatchEventImpl(Window.java:2478)
>       at java.awt.Component.dispatchEvent(Component.java:4565)
>       at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:679)
>       at java.awt.EventQueue.access$000(EventQueue.java:85)
>       at java.awt.EventQueue$1.run(EventQueue.java:638)
>       at java.awt.EventQueue$1.run(EventQueue.java:636)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
>       at 
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
>       at java.awt.EventQueue$2.run(EventQueue.java:652)
>       at java.awt.EventQueue$2.run(EventQueue.java:650)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
>       at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
>       at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
>       at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
>       at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
>       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
>       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
>       at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to