Article View: linux.debian.bugs.rc
Article #1995Bug#1152578: reload4j: FTBFS: java.lang.NullPointerException: Cannot invoke "String.indexOf(String)" because the return value of...
From: Santiago Vila
Date: Fri, 30 Oct 2026 11:30
Date: Fri, 30 Oct 2026 11:30
105 lines
8769 bytes
8769 bytes
Package: src:reload4j Version: 1.2.26-1 Severity: serious Tags: ftbfs forky sid Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202610/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:reload4j, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s -- in org.apache.log4j.net.HashmapDOSTest [WARNING] org.apache.log4j.net.HashmapDOSTest skipped [INFO] Running org.apache.log4j.net.TelnetAppenderTest [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.401 s <<< FAILURE! -- in org.apache.log4j.net.TelnetAppenderTest [ERROR] org.apache.log4j.net.TelnetAppenderTest.testIt -- Time elapsed: 1.401 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "String.indexOf(String)" because the return value of "java.lang.System.getProperty(String)" is null at org.apache.log4j.net.TelnetAppenderTest.testIt(TelnetAppenderTest.java:72) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] MinimumTestCase.ttcc:105 [ERROR] PatternParserTestCase.mdcPattern:122 [ERROR] XMLLayoutTestCase.locationInfo:81 [ERROR] XMLLayoutTestCase.testCDATA:103 [ERROR] XMLLayoutTestCase.testMDC:148 [ERROR] XMLLayoutTestCase.testMDCEscaped:167 [ERROR] XMLLayoutTestCase.testNull:123 [ERROR] XMLLayoutTestCase.testSmoke:69 [ERROR] Errors: [ERROR] LevelTest.testDeserializeINFO:67 NullPointer Cannot invoke "String.startsWith(String)" because the return value of "java.lang.System.getProperty(String)" is null [ERROR] MDCTestCase.testRemoveLastKey:57->checkThreadLocalsForLeaks:71 ยป InaccessibleObject Unable to make field private java.lang.ThreadLocal$ThreadLocalMap java.lang.Thread.threadLocals accessible: module java.base does not "opens java.lang" to unnamed module @50cbc42f [ERROR] SocketServerTestCase.test1:120 ยป FileNotFound target/test-output/socketServerTestCase.out (No such file or directory) [ERROR] SocketServerTestCase.test2:141 ยป FileNotFound target/test-output/socketServerTestCase.out (No such file or directory) [ERROR] SocketServerTestCase.test3:161 ยป FileNotFound target/test-output/socketServerTestCase.out (No such file or directory) [ERROR] SocketServerTestCase.test4:183 NullPointer Cannot invoke "String.startsWith(String)" because the return value of "java.lang.System.getProperty(String)" is null [ERROR] SocketServerTestCase.test5:219 NullPointer Cannot invoke "String.startsWith(String)" because the return value of "java.lang.System.getProperty(String)" is null [ERROR] SocketServerTestCase.test6:253 NullPointer Cannot invoke "String.startsWith(String)" because the return value of "java.lang.System.getProperty(String)" is null [ERROR] SocketServerTestCase.test7:283 NullPointer Cannot invoke "String.startsWith(String)" because the return value of "java.lang.System.getProperty(String)" is null [ERROR] SocketServerTestCase.test8:312 NullPointer Cannot invoke "String.indexOf(String)" because the return value of "java.lang.System.getProperty(String)" is null [ERROR] TelnetAppenderTest.testIt:72 NullPointer Cannot invoke "String.indexOf(String)" because the return value of "java.lang.System.getProperty(String)" is null [INFO] [ERROR] Tests run: 656, Failures: 8, Errors: 11, Skipped: 3 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 57.651 s [INFO] Finished at: 2026-10-29T21:34:32Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.6:test (default-test) on project reload4j: There are test failures. [ERROR] [ERROR] See /<<PKGBUILDDIR>>/target/surefire-reports for the individual test results. [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException dh_auto_test: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test returned exit code 1 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
Technical Details
Message-ID:
<NTSY3-8NRf-43@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1152578: reload4j: FTBFS: java.lang.NullPointerException: Cannot invoke "String.indexOf(String)" because the return value of "java.lang.System.getProperty(String)" is null Date: Fri, 30 Oct 2026 12:30:03 +0100 Message-ID: <NTSY3-8NRf-43@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Fri Oct 30 11:27:26 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.462 Reply-To: Santiago Vila <sanvila@debian.org>, 1152578@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, pkg-java-maintainers@lists.alioth.debian.org X-Debian-Pr-Message: report 1152578 X-Debian-Pr-Package: src:reload4j X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: reload4j X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/836604 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 105 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 30 Oct 2026 11:23:23 +0000 X-Original-Message-ID: <E1xMkhf-000UWM-2f@paradis.debian.org>