Skip to content

StringLatin1 ArrayIndexOutOfBoundsException: null #21031

Closed
eclipse-omr/omr
#7691

Description

@pshipton

https://openj9-jenkins.osuosl.org/job/Test_openjdk24_j9_extended.system_s390x_linux_Nightly_testList_2/3/ - rh7-390-1
SC_Softmx_JitAot_Linux_0

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk24_j9_extended.system_s390x_linux_Nightly_testList_2/3/system_test_output.tar.gz

02:19:23 STF 02:19:20.598 - **FAILED** Process jvm4 ended with exit code (2) and not the expected exit code/s (0,1)

16.jvm4.stdout

02:19:19.126 - Failed to initialise LoadTest
java.lang.ArrayIndexOutOfBoundsException: null
	at java.lang.StringLatin1.writeDigitPair(StringLatin1.java:199) ~[?:?]
	at java.lang.StringLatin1.getChars(StringLatin1.java:127) ~[?:?]
	at java.lang.StringConcatHelper.prepend(StringConcatHelper.java:685) ~[?:?]
	at net.adoptopenjdk.loadTest.InventoryData.<init>(InventoryData.java:118) ~[bin/:?]
	at net.adoptopenjdk.loadTest.LoadTest.createSuite(LoadTest.java:478) ~[bin/:?]
	at net.adoptopenjdk.loadTest.LoadTest.<init>(LoadTest.java:329) ~[bin/:?]
	at net.adoptopenjdk.loadTest.LoadTest.main(LoadTest.java:106) [bin/:?]

Activity

  1. added this to the Java 24 (0.50) milestone on Jan 28, 2025
  2. pshipton commented on Jan 28, 2025

    @pshipton
    MemberAuthor
  3. hzongaro commented on Jan 28, 2025

    @hzongaro
    Member

    Could be related to #19839

  4. pshipton commented on Jan 30, 2025

    @pshipton
    MemberAuthor

    Temporarily excluding the test via adoptium/aqa-tests#5933

  5. self-assigned this
    on Feb 20, 2025
  6. pshipton commented on Feb 20, 2025

    @pshipton
    MemberAuthor

    https://openj9-jenkins.osuosl.org/job/Test_openjdk24_j9_extended.system_s390x_linux_Nightly_testList_2/20 - rh7-390-1
    DBBLoadTest_5m_0

    07:53:14  DBLT java.lang.ArrayIndexOutOfBoundsException: null
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.util.MessageHeader.parse(MessageHeader.java:42) ~[bin/:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.util.ReceivingMessage.parseAndSetHeader(ReceivingMessage.java:42) ~[bin/:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$ServerReadCompletionHandler.parseBuffer(EchoServer.java:357) ~[bin/:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$ServerReadCompletionHandler.completed(EchoServer.java:295) ~[bin/:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$ServerReadCompletionHandler.completed(EchoServer.java:275) ~[bin/:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:121) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invokeDirect(Invoker.java:140) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:566) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:277) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:298) ~[?:?]
    07:53:14  DBLT 	at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:409) ~[?:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$ServerReadCompletionHandler.completed(EchoServer.java:316) ~[bin/:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$ServerReadCompletionHandler.completed(EchoServer.java:275) ~[bin/:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:121) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invokeDirect(Invoker.java:140) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:566) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:277) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:298) ~[?:?]
    07:53:14  DBLT 	at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:409) ~[?:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$ServerReadCompletionHandler.completed(EchoServer.java:316) ~[bin/:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$ServerReadCompletionHandler.completed(EchoServer.java:275) ~[bin/:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:121) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invokeDirect(Invoker.java:140) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:566) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:277) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:298) ~[?:?]
    07:53:14  DBLT 	at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:409) ~[?:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$ServerReadCompletionHandler.completed(EchoServer.java:316) ~[bin/:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$ServerReadCompletionHandler.completed(EchoServer.java:275) ~[bin/:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:121) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invokeDirect(Invoker.java:140) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:566) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:277) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:298) ~[?:?]
    07:53:14  DBLT 	at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:409) ~[?:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$1.completed(EchoServer.java:198) ~[bin/:?]
    07:53:14  DBLT 	at net.adoptopenjdk.test.nio2.asyncio.server.EchoServer$1.completed(EchoServer.java:156) ~[bin/:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:121) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invokeDirect(Invoker.java:140) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.Invoker.invoke(Invoker.java:168) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.onEvent(UnixAsynchronousServerSocketChannelImpl.java:186) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:305) ~[?:?]
    07:53:14  DBLT 	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:108) ~[?:?]
    07:53:14  DBLT 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095) ~[?:?]
    07:53:14  DBLT 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619) ~[?:?]
    07:53:14  DBLT 	at java.lang.Thread.run(Thread.java:1458) [?:?]
    
  7. 9 remaining items

  8. hzongaro commented on Mar 19, 2025

    @hzongaro
    Member

    I was never able to reproduce the failure for DBBLoadTest_5m_0, so I don't know whether the fix for SC_Softmx_JitAot_Linux_0, SC_Softmx_JitAot_0 and SC_Softmx_JitAot_1 fixed that problem as well.

  9. hzongaro commented on Mar 21, 2025

    @hzongaro
    Member

    Fix has been promoted. Opened aqa-tests pull request adoptium/aqa-tests#6089 to re-enable the tests that had been disabled. Closing.

  10. pshipton commented on Mar 21, 2025

    @pshipton
    MemberAuthor

    I'll just keep this open until the test is unexcluded for 0.51

  11. hzongaro commented on Mar 21, 2025

    @hzongaro
    Member

    Opened pull request adoptium/aqa-tests#6090 to enable those tests in the aqa-tests v1.0.6-release branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status
    No status

Relationships

None yet

Development

No branches or pull requests

Issue actions