Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streampay zilla instance crashes while trying to access https://localhost:9090 #975

Closed
ankitk-me opened this issue Apr 23, 2024 · 1 comment · Fixed by #976
Closed

Streampay zilla instance crashes while trying to access https://localhost:9090 #975

ankitk-me opened this issue Apr 23, 2024 · 1 comment · Fixed by #976
Assignees
Labels
bug Something isn't working

Comments

@ankitk-me
Copy link
Contributor

ankitk-me commented Apr 23, 2024

Describe the bug
Streampay starts as expected, but crashes while trying to access https://localhost:9090. I was able to valid this behaviour with latest image ghcr.io/aklivity/zilla:latest.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the steps mentioned in streampay readme to start the streampay app.
  2. Try accessing https://localhost:9090
  3. zilla instance crashes with mentioned exception :
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.doWork(EngineWorker.java:823)
        at org.agrona.core/org.agrona.concurrent.AgentRunner.doDutyCycle(AgentRunner.java:291)
        at org.agrona.core/org.agrona.concurrent.AgentRunner.run(AgentRunner.java:164)
        at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.NegativeArraySizeException: -1
        at [email protected]/io.aklivity.zilla.runtime.binding.filesystem.internal.stream.FileSystemServerFactory$FileSystemServer.calculateTag(FileSystemServerFactory.java:388)
        at [email protected]/io.aklivity.zilla.runtime.binding.filesystem.internal.stream.FileSystemServerFactory$FileSystemServer.onAppBegin(FileSystemServerFactory.java:346)
        at [email protected]/io.aklivity.zilla.runtime.binding.filesystem.internal.stream.FileSystemServerFactory$FileSystemServer.onAppMessage(FileSystemServerFactory.java:297)
        at [email protected]/io.aklivity.zilla.runtime.binding.filesystem.internal.stream.FileSystemServerFactory.lambda$newStream$0(FileSystemServerFactory.java:186)
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.handleDefaultReadInitial(EngineWorker.java:1321)
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.handleReadInitial(EngineWorker.java:1258)
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.handleRead(EngineWorker.java:1205)
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.concurent.ManyToOneRingBuffer.read(ManyToOneRingBuffer.java:181)
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.doWork(EngineWorker.java:817)
        ... 3 more
        Suppressed: java.lang.Exception: [engine/data#0]        [0x0000000000000021] streams=[consumeAt=0x00024700 (0x0000000000024700), produceAt=0x00034238 (0x0000000000034238)]
                at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.doWork(EngineWorker.java:821)
                ... 3 more
stopped
org.agrona.concurrent.AgentTerminationException: java.lang.NullPointerException: Cannot invoke "io.aklivity.zilla.runtime.engine.binding.function.MessageConsumer.accept(int, 
org.agrona.DirectBuffer, int, int)" because "receiver" is null
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.doWork(EngineWorker.java:823)
        at org.agrona.core/org.agrona.concurrent.AgentRunner.doDutyCycle(AgentRunner.java:291)
        at org.agrona.core/org.agrona.concurrent.AgentRunner.run(AgentRunner.java:164)
        at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.NullPointerException: Cannot invoke "io.aklivity.zilla.runtime.engine.binding.function.MessageConsumer.accept(int, org.agrona.DirectBuffer, int, int)" because "receiver" is null
        at [email protected]/io.aklivity.zilla.runtime.binding.kafka.internal.stream.KafkaCacheBootstrapFactory.doEnd(KafkaCacheBootstrapFactory.java:273)
        at [email protected]/io.aklivity.zilla.runtime.binding.kafka.internal.stream.KafkaCacheBootstrapFactory$KafkaBootstrapMetaStream.doMetaInitialEnd(KafkaCacheBootstrapFactory.java:1176)
        at [email protected]/io.aklivity.zilla.runtime.binding.kafka.internal.stream.KafkaCacheBootstrapFactory$KafkaBootstrapMetaStream.doMetaInitialEndIfNecessary(KafkaCacheBootstrapFactory.java:1167)
        at [email protected]/io.aklivity.zilla.runtime.binding.kafka.internal.stream.KafkaCacheBootstrapFactory$KafkaBootstrapStream.onBootstrapInitialEnd(KafkaCacheBootstrapFactory.java:495)
        at [email protected]/io.aklivity.zilla.runtime.binding.kafka.internal.stream.KafkaCacheBootstrapFactory$KafkaBootstrapStream.onBootstrapInitial(KafkaCacheBootstrapFactory.java:439)
        at [email protected]/io.aklivity.zilla.runtime.binding.kafka.internal.stream.KafkaCacheBootstrapFactory.lambda$newStream$2(KafkaCacheBootstrapFactory.java:171)
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.handleReadInitial(EngineWorker.java:1241)
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.handleRead(EngineWorker.java:1205)
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.concurent.ManyToOneRingBuffer.read(ManyToOneRingBuffer.java:181)
        at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.doWork(EngineWorker.java:817)
        ... 3 more
        Suppressed: java.lang.Exception: [engine/data#9]        [0x0109000000000003] streams=[consumeAt=0x00005258 (0x0000000000005258), produceAt=0x000054d8 (0x00000000000054d8)]
                at [email protected]/io.aklivity.zilla.runtime.engine.internal.registry.EngineWorker.doWork(EngineWorker.java:821)
                ... 3 more

Expected behavior

Arrive at this page, while trying to access https://localhost:9090

Screenshot 2024-04-23 at 12 56 20 PM

@ankitk-me ankitk-me added the bug Something isn't working label Apr 23, 2024
@jfallows jfallows self-assigned this May 7, 2024
@jfallows jfallows linked a pull request May 22, 2024 that will close this issue
@jfallows
Copy link
Contributor

Fixed by #976

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants