Karaf
  1. Karaf
  2. KARAF-1126

features-maven-plugin:validate goal raises a NPE if karafConfig configuration is not set

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.5, 2.2.6, 3.0.0
    • Component/s: karaf-tooling
    • Labels:
      None

      Description

      When using the validate goal of the features-maven-plugin, the karafConfig parameter is not mandatory, but if not defined, a NullPointerException is raised.

      The goal should fail if the karafConfig parameter is not provided, or, more elegant, use a default config.properties.

        Activity

        Hide
        Jean-Baptiste Onofré added a comment -

        Tested with features-maven-plugin 2.2.5, it works without problem.

        But I have a NullPointerException on 3.0.0-SNAPSHOT. I'm checking why.

        Show
        Jean-Baptiste Onofré added a comment - Tested with features-maven-plugin 2.2.5, it works without problem. But I have a NullPointerException on 3.0.0-SNAPSHOT. I'm checking why.
        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on trunk: revision 1225012.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on trunk: revision 1225012.

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Jean-Baptiste Onofré
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development