Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1449

The InstallKarMojo fails with a nullpointer if an artifact could not be retrieved

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: karaf
    • Labels:
      None

      Description

      Well, for gods sake it fails at least Still, a null pointer might not be the best error to show to a user who is quite of glueless what's the problem seeing the null pointer. Instead a MojoFailureException should be thrown (which should be thrown, according to it's jdoc in kind of compilation, built, ... error) which fits fine our situation I think. This won't change the behavior (which is a pretty good one IMHO; at least what do you want to do with an assembly missing half the artifacts), but make the result better to read.

        Attachments

          Activity

            People

            • Assignee:
              pieber Andreas Pieber
              Reporter:
              pieber Andreas Pieber
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: