You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a Null Pointer Exception when receiving messages, and thus cannot receive any messages.
It happens under SignalServiceMessageReceiver.retrieveMessages(..) when the received envelope has null for entity.getUpdatedPni(). When this is null the Envelop.Builder will fail when calling .setUpdatedPni(updatedPni) since for some reason it is using the String value to make the call value.getClass(). I would guess this is generated code based on the protobuf stuff. So, a non-null check would be needed before this, unless the problem lies elsewhere.
I can't really say why it is null. I send a message from my phone and receive it with my bot.
Perhaps the deserialization is incorrectly configured to interpret missing data as null, the field is optional.
optional string updatedPni = 15;
The signal-client "lib" code in the adroid app does not set the updatedPni argument
Signal-Android doesn't use this forked library and the updatedPni field is an addition here. You could check the signal-cli code if that does something differently: https://github.com/AsamK/signal-cli/
I get a Null Pointer Exception when receiving messages, and thus cannot receive any messages.
It happens under
SignalServiceMessageReceiver.retrieveMessages(..)
when the received envelope has null forentity.getUpdatedPni()
. When this is null the Envelop.Builder will fail when calling.setUpdatedPni(updatedPni)
since for some reason it is using the String value to make the callvalue.getClass()
. I would guess this is generated code based on the protobuf stuff. So, a non-null check would be needed before this, unless the problem lies elsewhere.I can't really say why it is null. I send a message from my phone and receive it with my bot.
Perhaps the deserialization is incorrectly configured to interpret missing data as null, the field is optional.
optional string updatedPni = 15;
The signal-client "lib" code in the adroid app does not set the updatedPni argument
I may have done something wrong, however I can't see what that would be.
The text was updated successfully, but these errors were encountered: