Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7695

NPE when adding connection with invalid URL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.2.0.CR1
    • 3.2.0.Beta2
    • deltacloud
    • None
    • Hide

      1. Create new connection
      2. enter name and invalid url (eg. 'abcdef''), hit finish
      Currently nothing happens, NPE in log

      Show
      1. Create new connection 2. enter name and invalid url (eg. 'abcdef''), hit finish Currently nothing happens, NPE in log

    Description

      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.

      Attachments

        Activity

          People

            adietish@redhat.com André Dietisheim
            lzoubek Libor Zoubek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: