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

Failover in cli-protonj2 #294

Open
jiridanek opened this issue Sep 9, 2021 · 0 comments
Open

Failover in cli-protonj2 #294

jiridanek opened this issue Sep 9, 2021 · 0 comments

Comments

@jiridanek
Copy link
Member

podman run --network loadbalanc --rm --env PN_TRACE_FRM=1 quay.io/rhmessagingqe/cli-java:ubi8-openjdk11 cli-protonj2-receiver -b 'failover:(amqpws://artemis-broker-A:6113)' -a 'loadbalance_test_q'
java.lang.NullPointerException: Cannot create a reconnect entry with a null host value
        at java.base/java.util.Objects.requireNonNull(Objects.java:246)
        at org.apache.qpid.protonj2.client.ReconnectLocation.<init>(ReconnectLocation.java:41)
        at org.apache.qpid.protonj2.client.impl.ClientConnection.<init>(ClientConnection.java:153)
        at org.apache.qpid.protonj2.client.impl.ClientInstance.connect(ClientInstance.java:99)
        at com.redhat.mqe.CliProtonJ2Receiver.call(CliProtonJ2Receiver.java:183)
        at com.redhat.mqe.CliProtonJ2Receiver.call(CliProtonJ2Receiver.java:45)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at com.redhat.mqe.Main.main(Main.java:62)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant