Continuum

providing a bad POM URL to add dumps an ugly NPE

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-alpha-1
  • Fix Version/s: 1.0-alpha-2
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

currently, if you put the wrong URL in to the add POM entry, you get a nullpointer exception from summit.

1) it should be displaying the FileNotFoundException in the logs, in the general case
2) it should be displaying a friendly error message in this specific case

Activity

Hide
Jason van Zyl added a comment -

The url source validator is now used to make sure that the URL points at something real. We could probably stick in a well formed URL validator as well.

Show
Jason van Zyl added a comment - The url source validator is now used to make sure that the URL points at something real. We could probably stick in a well formed URL validator as well.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: