Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9791

nifi-runtime-manifest fails to build due to exec:java failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.16.0
    • None
    • None

    Description

      Here is the build failure I encountered locally when running the 1.16.0 RC1 build:

       

      [*INFO*] -- maven-surefire-plugin:3.0.0-M5:test (default-test) @ nifi-runtime-manifest --

      [*INFO*] Tests are skipped.

      [*INFO*] 

      [*INFO*] -- exec-maven-plugin:1.6.0:java (generate-runtime-manifest) @ nifi-runtime-manifest --

      Mar 11, 2022 3:54:43 PM org.apache.nifi.runtime.manifest.impl.RuntimeManifestGenerator main

      INFO: Writing runtime manifest to: /private/tmp/nifi-1.16.0/nifi-manifest/nifi-runtime-manifest/target/classes/nifi-runtime-manifest.json

      [*WARNING*] 

      java.lang.NumberFormatException: For input string: "${timestamp}"

          at java.lang.NumberFormatException.forInputString (NumberFormatException.java:65)

          at java.lang.Long.parseLong (Long.java:678)

          at java.lang.Long.valueOf (Long.java:1144)

          at org.apache.nifi.runtime.manifest.impl.RuntimeManifestGenerator.execute (RuntimeManifestGenerator.java:81)

          at org.apache.nifi.runtime.manifest.impl.RuntimeManifestGenerator.main (RuntimeManifestGenerator.java:143)

          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke (Method.java:566)

          at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)

          at java.lang.Thread.run (Thread.java:829)

      Attachments

        Issue Links

          Activity

            People

              bbende Bryan Bende
              mike.thomsen Mike Thomsen
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m