[jbosstools-issues] [JBoss JIRA] (JBIDE-24047) Error dialog displayed after cancel when starting cdk3 server adapter

Rob Stryker (JIRA) issues at jboss.org
Fri Mar 10 11:48:00 EST 2017


     [ https://issues.jboss.org/browse/JBIDE-24047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker resolved JBIDE-24047.
---------------------------------
    Resolution: Rejected


Unfortunately, this can't be fixed. 

When you right-click a server, and select 'Run..." or "Debug...",  WTP starts a job called waiting for server to start. 

Logic flows to our launch config. If our launchConfig.launch(etc) returns WITHOUT setting server to 'starting',  then WTP will display an error dialog that the server failed to start. 

If we set it to 'starting' and then set it to 'stopped', WTP will show an error dialog that the server failed to start. 

If we throw a CoreException,  the CoreException will be shown in an error dialog. 

Basically, once a user clicks "Start" or "Debug",  an error dialog will be shown 100% of the time no matter what ;)  We have no options here. 

Since it's launch configuration based, we really can't tell the difference between an abort or a fail without providing custom WTP interfaces that our launches must implement. Even then, WTP Servertools is notoriously strict about what API they are willing to consider, and this falls far outside the bounds of what they'd see as acceptable. (Trust me... 10 years experience with them ;)) 

Sorry, but an error dialog is going up no matter what ;) 

> Error dialog displayed after cancel when starting cdk3 server adapter
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-24047
>                 URL: https://issues.jboss.org/browse/JBIDE-24047
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.4.4.AM1
>            Reporter: Jeff MAURY
>            Assignee: Rob Stryker
>              Labels: cdk
>             Fix For: 4.4.4.AM2
>
>         Attachments: screenshot-1.png
>
>
> When starting the CDK3 server adapter, a dialog is displayed for credentials. If cancel is selected, start is aborted but an error dialog is then displayed



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list