Re: ARTEMIS - java.lang.NullPointerException switching subscription with #

2017-06-07 Thread francesco81
Attached you can find a junit to replicate the issue. Cheers. Francesco PahoMQTTWildcardTest.java -- View this message in context: http://activemq.2283324.n4.nabble.com/ARTEMIS-java-lang-NullPointerException-sw

Re: ARTEMIS - java.lang.NullPointerException switching subscription with #

2017-06-05 Thread francesco81
Hi, just an update. We found out that there was a client subscribed to the incriminated topic with a double wildcard char: "/prj/plantid/+/gwid/+/connection_state". So, there is a step 0 to add to the ones in my previous post: "0) connect a client and subscribe the topic /prj/plantid/+/gwid/+/conne

ARTEMIS - java.lang.NullPointerException switching subscription with #

2017-05-29 Thread francesco81
Hi, I'm facing an issue when switching a topic subscription from the full path to the "wildcard char" one (with '#') and viceversa. I'm using the last 2.1.0 version (downloaded from activemq.apache.org). Here my test: 1) connect to Artemis 2) subscribe a topic by using full path, eg. "/prj/plantid