Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » I am getting this error while connecting to MqttClient(Any solution?im using dexguard.)
I am getting this error while connecting to MqttClient [message #1732725] Thu, 19 May 2016 15:41 Go to next message
sunil kumar is currently offline sunil kumarFriend
Messages: 2
Registered: May 2016
Junior Member
FATAL EXCEPTION: java.lang.ExceptionInInitializerError
at org.eclipse.paho.client.mqttv3.MqttClient.(MqttClient.java:224)
Caused by: java.util.MissingResourceException: Can't find resource for bundle 'org.eclipse.paho.client.mqttv3.internal.nls.logcat_en_IN', key ''
at java.util.ResourceBundle.missingResourceException(ResourceBundle.java:238)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:230)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:139)
at org.eclipse.paho.client.mqttv3.logging.LoggerFactory.getLogger(LoggerFactory.java:73)
at org.eclipse.paho.client.mqttv3.MqttAsyncClient.(MqttAsyncClient.java:79
Re: I am getting this error while connecting to MqttClient [message #1739419 is a reply to message #1732725] Mon, 01 August 2016 08:11 Go to previous messageGo to next message
James Sutton is currently offline James SuttonFriend
Messages: 71
Registered: July 2015
Member
Hi, you got this error because we have not got a logcat properties file for en_IN, currently our logcat logs only support english.
Re: I am getting this error while connecting to MqttClient [message #1739422 is a reply to message #1739419] Mon, 01 August 2016 08:27 Go to previous messageGo to next message
sunil kumar is currently offline sunil kumarFriend
Messages: 2
Registered: May 2016
Junior Member
@James Sutton Thanks Smile I resolved this by adding -keep class org.eclipse.paho.client.mqttv3.logging.JSR47Logger { *; } in my pro-guard-rules
Re: I am getting this error while connecting to MqttClient [message #1751171 is a reply to message #1739422] Thu, 05 January 2017 10:46 Go to previous message
Dang Hien is currently offline Dang HienFriend
Messages: 1
Registered: January 2017
Junior Member
Thanks u so much bro. I fixed my bug . thanks u so muchhhh
Previous Topic:MQTT client stops sending PINGREQ packets after receiving a message on its subscription
Next Topic:How to enable SSL over ActiveMQ using C client
Goto Forum:
  


Current Time: Fri Nov 16 05:46:33 GMT 2018

Powered by FUDForum. Page generated in 0.02527 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top