[Bug 1765570] Re: libcommons-lang3-java causes NullPointer in surefire/javadoc

Launchpad Bug Tracker 1765570 at bugs.launchpad.net
Fri Apr 20 17:58:02 UTC 2018


This bug was fixed in the package libcommons-lang3-java - 3.5-2ubuntu1

---------------
libcommons-lang3-java (3.5-2ubuntu1) bionic; urgency=medium

  * debian/patches/fix-openjdk-10-nullpointer-lang-1365.diff: calls to
    org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast cause
    NullPointerException when running under openjdk-10 which in turn causes
    other packages to FTBFS with the message "Execution default-cli of goal
    groupId:artifactId:version:jar failed.: NullPointerException -> [Help 1]".
    LP: #1765570. (Closes: #895234)
  * debian/patches/fix-numeric-3-area-code-support-lang-1312.diff: pull
    upstream fix for numeric-3 area code support. (Closes: #895583)

 -- Tiago Stürmer Daitx <tiago.daitx at ubuntu.com>  Fri, 20 Apr 2018
01:43:40 +0000

** Changed in: libcommons-lang3-java (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1765570

Title:
  libcommons-lang3-java causes NullPointer in surefire/javadoc

Status in libcommons-lang3-java package in Ubuntu:
  Fix Released
Status in surefire package in Ubuntu:
  New
Status in libcommons-lang3-java package in Debian:
  New

Bug description:
  libcommons-lang3-java requires a patch to work with openjdk-10,
  without it any packages that depend on it on runtime will fail with a
  NullPointerException - specially libmaven-javadoc-plugin-java (doc
  generation) and libsurefire-java (tests), which are used by most (if
  not all) maven dependent builds, thus a lot of stuff fails.

  As the libcommons-lang3-java build itself depends on both libmaven-javadoc-plugin-java and libsurefire-java, there's a 3 step to get a build working:
  1) build libcommons-lang3-java patched for openjdk-10 (with docs and tests disabled)
  2) rebuild surefire (for some reason it embeds libcommons-lang3-java code during build time instead of relying on the system dependency)
  3) rebuild libcommons-lang3-java patched for openjdk-10

  The resulting debian binary package from each step must be included in
  the next build steps: step #2 requires the binary from #1; step #3
  requires the binaries from #1 and #2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcommons-lang3-java/+bug/1765570/+subscriptions



More information about the Ubuntu-sponsors mailing list