Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Callback exception

Hi,

that is a NPE in code outside of the paho client:
   org.bull.a2nets.MyInterwokringProxy.broker.SimpleMqttClient.messageArrived(SimpleMqttClient.java:197)

You should look at that code first to see what is throwing the null pointer.

NIck

On 16 July 2015 at 09:03, Seif Eddine Jemli <seifeddinejemli@xxxxxxxxx> wrote:

I am using eclipse.paho as a client. I get these errors when I publish a message on a topic that my client is subscribed to.

 DEBUG [org.eclipse.paho.client.mqttv3.internal.CommsCallback]: a/topic: callback threw exception
    java.lang.NullPointerException
            at org.bull.a2nets.MyInterwokringProxy.broker.SimpleMqttClient.messageArrived(SimpleMqttClient.java:197)
            at org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:354)
            at org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:162)

What can be the solution? thanks.


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev


Back to the top