ClassLoader.loadLibrary NullPointerException Regression in 8u242

Anton Kozlov akozlov at azul.com
Mon Jan 27 09:38:38 UTC 2020


On 27.01.2020 11:20, Anton Kozlov wrote:
>> You can use their docker container to reproduce the bug though
>> change the version to https://corretto.aws/downloads/resources/8.242.07.1/amazon-corretto-8.242.07.1-linux-x64.tar.gz
>> hit the server on http://localhost:8111/
>> exception is logged to /opt/teamcity/logs/catalina.out
>> I can explain more if there is interest.

I was unable to reproduce the issue.
I followed TeamCity installation instructions to create a docker image.
The docker image do not specify particular TeamCity version, so I used recent 2019.2.1

I was able to login into TeamCity via web-browser.
I have no catalina.out, but have catalina.<date>.log. In the log, there is not NullPointerException.

Excerpt from the log

27-Jan-2020 08:54:01.518 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/8.5.47
27-Jan-2020 08:54:01.522 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Oct 7 2019 13:30:46 UTC
27-Jan-2020 08:54:01.522 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.47.0
27-Jan-2020 08:54:01.522 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
27-Jan-2020 08:54:01.523 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            5.4.6-arch1-1
27-Jan-2020 08:54:01.523 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
27-Jan-2020 08:54:01.523 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /opt/java/openjdk/jre
27-Jan-2020 08:54:01.523 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_242-b07
27-Jan-2020 08:54:01.523 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Amazon.com Inc.

I think it probably related to TeamCity version. Which one do you use?

Thanks,
Anton



More information about the jdk8u-dev mailing list