[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-7695) NPE when adding connection with invalid URL

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue Nov 23 06:03:59 EST 2010


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

Andre Dietisheim resolved JBIDE-7695.
-------------------------------------

    Resolution: Done


added check against <code>null</code> server type. fixed NPE that occurred when nonsense url was entered in connection wizard

> NPE when adding connection with invalid URL
> -------------------------------------------
>
>                 Key: JBIDE-7695
>                 URL: https://jira.jboss.org/browse/JBIDE-7695
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: deltacloud
>    Affects Versions: 3.2.0.Beta2
>         Environment: 3.2.0.v20101119-1705-H261-Beta2
>            Reporter: Libor Zoubek
>            Assignee: Andre Dietisheim
>         Attachments: .log
>
>
> If I enter total nonsense into url (like 'abc' '123'), the wizard dialogs stays open even though creating the connection failed. The dialog may be closed by hitting cancel. No error is displayed, but a NPE is in the log.
> There is one little issue related to this one.
> If I enter 'http://something' dialog gets closed and is treated like valid but not reachable connection. This is fine
> But if I enter 'http:/something' behavior is same, which is wrong, There is a need to fix regex determining valid or invalid URL.

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