activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (APLO-400) Connecting with paho.mqtt.client python lib does not work and causes NullPointer java error
Date Thu, 02 Nov 2017 15:50:00 GMT

     [ https://issues.apache.org/jira/browse/APLO-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish closed APLO-400.
-----------------------------
    Resolution: Won't Fix

The Apollo Broker is not really under active development so you most likely won't get any
help here.  I'd recommend using the ActiveMQ 5.15.2 release or trying out ActiveMQ Artemis.

> Connecting with paho.mqtt.client python lib does not work and causes NullPointer java
error
> -------------------------------------------------------------------------------------------
>
>                 Key: APLO-400
>                 URL: https://issues.apache.org/jira/browse/APLO-400
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-mqtt
>    Affects Versions: 1.7.1
>         Environment: Ubuntu 16.04 server x86_64
>            Reporter: John W
>            Priority: Major
>
> Was getting a `[Errno 54] Connection reset by peer` error on my python frontend which
wasn't useful so I checked my connection log and found this:
> 2017-11-02 11:24:23,919 MQTT connection '/192.168.1.122:49730' error: Internal Server
Error: java.lang.NullPointerException
> That lead me to take a look at the stacktrace:
> {code:java}
> 2017-11-02 11:24:23,919 | WARN  | stackref=15f7965f9e0
> java.lang.NullPointerException
>         at org.apache.activemq.apollo.mqtt.MqttProtocolHandler.on_mqtt_connect(MqttProtocolHandler.java:443)
>         at org.apache.activemq.apollo.mqtt.MqttProtocolHandler$9.call(MqttProtocolHandler.java:410)
>         at org.apache.activemq.apollo.util.UnitFn1.apply(Scala2JavaHelper.scala:41)
>         at org.apache.activemq.apollo.mqtt.MqttProtocolHandler.on_transport_command(MqttProtocolHandler.java:377)
>         at org.apache.activemq.apollo.broker.BrokerConnection.on_transport_command(Connection.scala:144)
>         at org.apache.activemq.apollo.broker.Connection$$anon$1.onTransportCommand(Connection.scala:71)
>         at org.fusesource.hawtdispatch.transport.TcpTransport.drainInbound(TcpTransport.java:709)
>         at org.fusesource.hawtdispatch.transport.TcpTransport$9.run(TcpTransport.java:770)
>         at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:100)
>         at org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:77)
> {code}
> Any idea what this is?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message