eclipse-paho / eclipse-paho/paho.mqtt.java
Log message translation in Loggger using ResourceBundle throwing MissingResourceException causes crash
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 919
- PR merge metrics
- No merged PRs in 30d
Description
migrated from Bugzilla [#471748](https://bugs.eclipse.org/bugs/show_bug.cgi?id=471748)
status UNCONFIRMED severity _normal_ in component _MQTT-Java_ for _1.2_
Reported in version _1.2_ on platform _Other_
Assigned to: Ian Craggs
On 2015-07-02 17:36:14 -0400, Marc Pomar Torres wrote:
> Hi!
>
> I'm using PAHO to do some networking in android, the final goal is to develop a native android Unity Plugin that uses paho as networking client. I've got into a problem regarding the Logger that paho uses in java due to Unity not packing the ResourceBundle that you use to translate log messages with final produced .jar files. I've managed to solve it by simply discarding the translation step by passing a null inside LoggerFactory.getLogger.
>
> Unity supports new android archive library format (.aar file). Is there a way to implement a better Logger in android that uses string translation system provided by android? When ResouceBundle fails i cannot even instance MQTTAsyncClient.
Contributor guide
Assessment
This issue has not been assessed yet.