Bug#1108593: wildfly-common: FTBFS with default Java 25
Vladimir Petko
vpa1977 at gmail.com
Tue Jul 1 05:25:26 BST 2025
Source: wildfly-common
Version: 1.7.0-1
Severity: normal
Tags: ftbfs
Usertags: default-java25
Dear Maintainers,
The package wildfly-common ftbfs with default Java 25.
The relevant part of the build log:
---------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.wildfly.common.rpc.TestRemoteExceptionCause
[ERROR] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.071 s <<< FAILURE! - in org.wildfly.common.rpc.TestRemoteExceptionCause
[ERROR] message(org.wildfly.common.rpc.TestRemoteExceptionCause) Time elapsed: 0.004 s <<< ERROR!
java.lang.ExceptionInInitializerError
at org.wildfly.common.rpc.TestRemoteExceptionCause.message(TestRemoteExceptionCause.java:52)
Caused by: java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found)
at org.wildfly.common.rpc.TestRemoteExceptionCause.message(TestRemoteExceptionCause.java:52)
[INFO] Running org.wildfly.common.xml.XmlFactoriesTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 s - in org.wildfly.common.xml.XmlFactoriesTest
[INFO] Running org.wildfly.common.expression.ExpressionTestCase
[ERROR] Tests run: 56, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 0.034 s <<< FAILURE! - in org.wildfly.common.expression.ExpressionTestCase
[ERROR] testPoint17(org.wildfly.common.expression.ExpressionTestCase) Time elapsed: 0.001 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.common._private.CommonMessages
at org.wildfly.common.expression.ExpressionTestCase.testPoint17(ExpressionTestCase.java:304)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testPoint19(org.wildfly.common.expression.ExpressionTestCase) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.common._private.CommonMessages
at org.wildfly.common.expression.ExpressionTestCase.testPoint19(ExpressionTestCase.java:322)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testPoint22(org.wildfly.common.expression.ExpressionTestCase) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.common._private.CommonMessages
at org.wildfly.common.expression.ExpressionTestCase.testPoint22(ExpressionTestCase.java:351)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testPoint24(org.wildfly.common.expression.ExpressionTestCase) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.common._private.CommonMessages
at org.wildfly.common.expression.ExpressionTestCase.testPoint24(ExpressionTestCase.java:369)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testPoint27(org.wildfly.common.expression.ExpressionTestCase) Time elapsed: 0.002 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.common._private.CommonMessages
at org.wildfly.common.expression.ExpressionTestCase.testPoint27(ExpressionTestCase.java:396)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testPoint34(org.wildfly.common.expression.ExpressionTestCase) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.common._private.CommonMessages
at org.wildfly.common.expression.ExpressionTestCase.testPoint34(ExpressionTestCase.java:453)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testPoint41(org.wildfly.common.expression.ExpressionTestCase) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.common._private.CommonMessages
at org.wildfly.common.expression.ExpressionTestCase.testPoint41(ExpressionTestCase.java:511)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testPoint2(org.wildfly.common.expression.ExpressionTestCase) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.common._private.CommonMessages
at org.wildfly.common.expression.ExpressionTestCase.testPoint2(ExpressionTestCase.java:159)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testPoint5(org.wildfly.common.expression.ExpressionTestCase) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.common._private.CommonMessages
at org.wildfly.common.expression.ExpressionTestCase.testPoint5(ExpressionTestCase.java:195)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testPoint9(org.wildfly.common.expression.ExpressionTestCase) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.common._private.CommonMessages
at org.wildfly.common.expression.ExpressionTestCase.testPoint9(ExpressionTestCase.java:232)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[INFO] Running org.wildfly.common.net.CidrAddressTableTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.wildfly.common.net.CidrAddressTableTest
[INFO] Running org.wildfly.common.net.InetTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.wildfly.common.net.InetTest
[INFO] Running org.wildfly.common.net.CidrAddressTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.wildfly.common.net.CidrAddressTest
[INFO] Running org.wildfly.common.codec.Base32Test
[ERROR] Tests run: 16, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in org.wildfly.common.codec.Base32Test
[ERROR] testDecodeInvalidCharacter(org.wildfly.common.codec.Base32Test) Time elapsed: 0 s <<< ERROR!
java.lang.Exception: Unexpected exception, expected<org.wildfly.common.codec.DecodeException> but was<java.lang.NoClassDefFoundError>
at org.wildfly.common.codec.Base32Test.testDecodeInvalidCharacter(Base32Test.java:258)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testDecodeInvalidPadding(org.wildfly.common.codec.Base32Test) Time elapsed: 0 s <<< ERROR!
java.lang.Exception: Unexpected exception, expected<org.wildfly.common.codec.DecodeException> but was<java.lang.NoClassDefFoundError>
at org.wildfly.common.codec.Base32Test.testDecodeInvalidPadding(Base32Test.java:263)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[INFO] Running org.wildfly.common.codec.HexTest
[ERROR] Tests run: 19, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in org.wildfly.common.codec.HexTest
[ERROR] testDecodeInvalidLength(org.wildfly.common.codec.HexTest) Time elapsed: 0.001 s <<< ERROR!
java.lang.Exception: Unexpected exception, expected<org.wildfly.common.codec.DecodeException> but was<java.lang.NoClassDefFoundError>
at org.wildfly.common.codec.HexTest.testDecodeInvalidLength(HexTest.java:192)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testDecodeInvalidCharacter(org.wildfly.common.codec.HexTest) Time elapsed: 0 s <<< ERROR!
java.lang.Exception: Unexpected exception, expected<org.wildfly.common.codec.DecodeException> but was<java.lang.NoClassDefFoundError>
at org.wildfly.common.codec.HexTest.testDecodeInvalidCharacter(HexTest.java:187)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[INFO] Running org.wildfly.common.codec.Base64Test
[ERROR] Tests run: 34, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.002 s <<< FAILURE! - in org.wildfly.common.codec.Base64Test
[ERROR] testInvalidInputDecodePadding1(org.wildfly.common.codec.Base64Test) Time elapsed: 0 s <<< ERROR!
java.lang.Exception: Unexpected exception, expected<java.lang.IllegalArgumentException> but was<java.lang.NoClassDefFoundError>
at org.wildfly.common.codec.Base64Test.testInvalidInputDecodePadding1(Base64Test.java:228)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testInvalidInputDecodePadding2(org.wildfly.common.codec.Base64Test) Time elapsed: 0 s <<< ERROR!
java.lang.Exception: Unexpected exception, expected<java.lang.IllegalArgumentException> but was<java.lang.NoClassDefFoundError>
at org.wildfly.common.codec.Base64Test.testInvalidInputDecodePadding2(Base64Test.java:233)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testInvalidInputDecodePadding3(org.wildfly.common.codec.Base64Test) Time elapsed: 0 s <<< ERROR!
java.lang.Exception: Unexpected exception, expected<java.lang.IllegalArgumentException> but was<java.lang.NoClassDefFoundError>
at org.wildfly.common.codec.Base64Test.testInvalidInputDecodePadding3(Base64Test.java:238)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[ERROR] testInvalidInputDecodeNonAlphabeticChar(org.wildfly.common.codec.Base64Test) Time elapsed: 0 s <<< ERROR!
java.lang.Exception: Unexpected exception, expected<java.lang.IllegalArgumentException> but was<java.lang.NoClassDefFoundError>
at org.wildfly.common.codec.Base64Test.testInvalidInputDecodeNonAlphabeticChar(Base64Test.java:243)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Invalid bundle interface org.wildfly.common._private.CommonMessages (implementation not found) [in thread "main"]
[INFO] Running org.wildfly.common.os.ProcessTest
Process ID: 18552
Process name: surefirebooter81008790259731193.jar
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.wildfly.common.os.ProcessTest
[INFO] Running org.wildfly.common.context.ContextPermissionTestCase
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.wildfly.common.context.ContextPermissionTestCase
[INFO] Running org.wildfly.common.iteration.CompositeIteratorTestCase
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.wildfly.common.iteration.CompositeIteratorTestCase
[INFO] Running org.wildfly.common.iteration.CompositeIterableTestCase
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.wildfly.common.iteration.CompositeIterableTestCase
[INFO] Running org.wildfly.common.string.CompositeCharSequenceTestCase
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.wildfly.common.string.CompositeCharSequenceTestCase
[INFO] Running org.wildfly.common.archive.ArchiveTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in org.wildfly.common.archive.ArchiveTest
[INFO] Running org.wildfly.common.archive.ArchiveIndexTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.wildfly.common.archive.ArchiveIndexTest
[INFO] Running org.wildfly.common.math.HashMathTestCase
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.wildfly.common.math.HashMathTestCase
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] Base32Test.testDecodeInvalidCharacter » Unexpected exception, expected<org.wi...
[ERROR] Base32Test.testDecodeInvalidPadding » Unexpected exception, expected<org.wild...
[ERROR] Base64Test.testInvalidInputDecodeNonAlphabeticChar » Unexpected exception, ex...
[ERROR] Base64Test.testInvalidInputDecodePadding1 » Unexpected exception, expected<ja...
[ERROR] Base64Test.testInvalidInputDecodePadding2 » Unexpected exception, expected<ja...
[ERROR] Base64Test.testInvalidInputDecodePadding3 » Unexpected exception, expected<ja...
[ERROR] HexTest.testDecodeInvalidCharacter » Unexpected exception, expected<org.wildf...
[ERROR] HexTest.testDecodeInvalidLength » Unexpected exception, expected<org.wildfly....
[ERROR] ExpressionTestCase.testPoint17:304 » NoClassDefFound Could not initialize clas...
[ERROR] ExpressionTestCase.testPoint19:322 » NoClassDefFound Could not initialize clas...
[ERROR] ExpressionTestCase.testPoint2:159 » NoClassDefFound Could not initialize class...
[ERROR] ExpressionTestCase.testPoint22:351 » NoClassDefFound Could not initialize clas...
[ERROR] ExpressionTestCase.testPoint24:369 » NoClassDefFound Could not initialize clas...
[ERROR] ExpressionTestCase.testPoint27:396 » NoClassDefFound Could not initialize clas...
[ERROR] ExpressionTestCase.testPoint34:453 » NoClassDefFound Could not initialize clas...
[ERROR] ExpressionTestCase.testPoint41:511 » NoClassDefFound Could not initialize clas...
[ERROR] ExpressionTestCase.testPoint5:195 » NoClassDefFound Could not initialize class...
[ERROR] ExpressionTestCase.testPoint9:232 » NoClassDefFound Could not initialize class...
[ERROR] TestRemoteExceptionCause.message:52 » ExceptionInInitializer
[INFO]
[ERROR] Tests run: 184, Failures: 0, Errors: 19, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32.176 s
[INFO] Finished at: 2025-06-11T20:33:40Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on project wildfly-common: There are test failures.
[ERROR]
[ERROR] Please refer to /<<PKGBUILDDIR>>/target/surefire-reports for the individual test results.
[ERROR] Please refer to 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 -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties 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:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
---------------
-- System Information:
Debian Release: trixie/sid
APT prefers plucky-updates
APT policy: (500, 'plucky-updates'), (500, 'plucky-security'), (500, 'plucky')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.14.0-22-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the pkg-java-maintainers
mailing list