Thread View: linux.debian.bugs.rc
3 messages
3 total messages
Started by Santiago Vila
Fri, 30 Oct 2026 11:30
Bug#1152578: reload4j: FTBFS: java.lang.NullPointerException: Cannot invoke "String.indexOf(String)" because the return value of...
Author: 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 --------------------------------------------------------------------------------
Processed: Bug#1152578 marked as pending in reload4j
Author: Debian Bug Tracking System
Date: Fri, 30 Oct 2026 16:20
Date: Fri, 30 Oct 2026 16:20
12 lines
2088 bytes
2088 bytes
Processing control commands: > tag -1 pending Bug #1152578 [src:reload4j] reload4j: FTBFS: java.lang.NullPointerException: Cannot invoke "String.indexOf(String)" because the return value of "java.lang.System.getProperty(String)" is null Added tag(s) pending. -- 1152578: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152578 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
Bug#1152578: marked as pending in reload4j
Author: Emmanuel Bourg
Date: Fri, 30 Oct 2026 16:20
Date: Fri, 30 Oct 2026 16:20
19 lines
2373 bytes
2373 bytes
Control: tag -1 pending Hello, Bug #1152578 in reload4j reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/java-team/reload4j/-/commit/cb150690d23b7bf2883507c00fe76c780db9620a ------------------------------------------------------------------------ Fixed the build failure with surefire 3 (Closes: #1152578) ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1152578
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads