[jbosstools-issues] [JBoss JIRA] Resolved: (JBDS-1425) Exception instead of Dialog Message

Barry LaFond (JIRA) jira-events at lists.jboss.org
Wed Dec 1 00:42:04 EST 2010


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

Barry LaFond resolved JBDS-1425.
--------------------------------

    Resolution: Done


Cleaned up initialization, validation and enablement logic to perform existing URL check. Changed logging of auto-connection error to a message dialog in the action.

> Exception instead of Dialog Message
> -----------------------------------
>
>                 Key: JBDS-1425
>                 URL: https://jira.jboss.org/browse/JBDS-1425
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: teiid
>    Affects Versions: 4.0.0.Beta2
>            Reporter: Dmitry Geraskov
>            Assignee: Barry LaFond
>             Fix For: 4.0.0.CR1
>
>
> Open new Teiid Instance wizard and pressed "Test" button.
> EXPECTED: Something like "Connection Failed" dialog message
> ACTUAL:
> java.lang.RuntimeException: Cannot construct a Teiid server because all Teiid properties are not valid
> 	at org.teiid.designer.runtime.ui.ServerPage.getServer(ServerPage.java:370)
> 	at org.teiid.designer.runtime.ui.ServerPage.handleTestConnection(ServerPage.java:406)
> 	at org.teiid.designer.runtime.ui.ServerPage$5.widgetSelected(ServerPage.java:275)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> 	at org.eclipse.jface.window.Window.open(Window.java:801)
> 	at org.teiid.designer.runtime.ui.NewServerAction.run(NewServerAction.java:93)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)

-- 
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