RES: ARTEMIS-3677 mitigate NPE when browsing messages

2022-02-25 Thread Edson Richter
Ok, I had success. I’ve downloaded 2.20.0 source code, edited JsonUtil with two method changes: public static String truncateString(final String str, final int valueSizeLimit) { String result = str == null ? "" : str; if (valueSizeLimit >= 0 && result.length() > valueSizeLimit) {

RES: ARTEMIS-3677 mitigate NPE when browsing messages

2022-02-24 Thread Edson Richter
Thanks for all your patience. I’ll follow your recomendation, download the sources of 2.20.0 and patch it. I do believe it’s only necessary to replace the jar file that contains the offending class. Regards, ER. Enviado do Email para Windows ___

RES: ARTEMIS-3677 mitigate NPE when browsing messages

2022-02-24 Thread Edson Richter
); } else { return str; } } Regards, ER Enviado do Email<https://go.microsoft.com/fwlink/?LinkId=550986> para Windows De: Edson Richter<mailto:edsonrich...@hotmail.com> Enviado:quinta-feira, 24 de fevereiro de 2022 17:52 Para: users@activemq.apache.org

RES: ARTEMIS-3677 mitigate NPE when browsing messages

2022-02-24 Thread Edson Richter
It’s quite similar to examples found in documentation here: stomp/main.go at master · go-stomp/stomp (github.com). The difference from the example above is that I’m using application/json and sending a json string inste

RES: ARTEMIS-3677 mitigate NPE when browsing messages

2022-02-24 Thread Edson Richter
Ok, I would need some help identifying Where is my fault. Please advise. I don’t see anything null in here: 2022-02-24 17:15:34,530 DEBUG [org.apache.activemq.artemis.core.protocol.stomp.StompConnection] STOMP(/192.168.0.30:60724, f7986f29): IN << StompFrame[command=CONNECT, headers={accept-ve

RES: ARTEMIS-3677 mitigate NPE when browsing messages

2022-02-24 Thread Edson Richter
Just one point... I’m not sending any null atributes; except the cause is that I’m not sending a unique identifier. Is there a way to log what ActiveMQ is receiving from my STOMP client? Thanks, ER Enviado do Email para Windows De: Justin Bertram

RES: ARTEMIS-3677 mitigate NPE when browsing messages

2022-02-23 Thread Edson Richter
Perfect! Thanks! Edson Enviado do Email para Windows De: Justin Bertram Enviado:quarta-feira, 23 de fevereiro de 2022 12:15 Para: users@activemq.apache.org Assunto: Re: ARTEMIS-3677 mit