Bug #3923

NPE every 10 sections in info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection.run()

Added by hans about 3 years ago. Updated over 2 years ago.

Status:ClosedStart date:10/23/2014
Priority:NormalDue date:
Assignee:n8fr8% Done:

0%

Category:-
Target version:v14 - Armadillo's Agram
Component:

Description

I'm getting this in ChatSecure v14.0.4 set up with a Bonjour account and a "Secret Identity" on calyx:

                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
              dalvikvm  D  GC_EXPLICIT freed 464K, 29% free 8118K/11312K, paused 4ms+3ms, total 90ms
              GB.ImApp  E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
              dalvikvm  D  GC_FOR_ALLOC freed 871K, 14% free 8110K/9420K, paused 24ms, total 24ms
              GB.ImApp  E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
                        E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
                        E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
                        E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
              dalvikvm  D  GC_FOR_ALLOC freed 871K, 14% free 8110K/9420K, paused 28ms, total 28ms
              GB.ImApp  E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
                        E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
              dalvikvm  D  GC_FOR_ALLOC freed 871K, 14% free 8109K/9420K, paused 22ms, total 22ms
              GB.ImApp  E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
                        E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
                        E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)
              dalvikvm  D  GC_FOR_ALLOC freed 870K, 14% free 8110K/9420K, paused 24ms, total 24ms
              GB.ImApp  E  error processing presence
                        E  java.lang.NullPointerException
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.XmppConnection$13.run(XmppConnection.java:2978)
                        E      at java.util.Timer$TimerImpl.run(Timer.java:284)

History

#1 Updated by n8fr8 about 3 years ago

  • Status changed from New to In Progress
  • Assignee set to n8fr8

#2 Updated by hans about 3 years ago

I've narrowed it down more. This happens whenever creating an account with the wizard, so either the "New Account" feature, or the "Secret Identity" feature. My guess is that something is not getting inited.

#3 Updated by hans about 3 years ago

This is still happening in 14.0.6. I think it is also preventing XMPP Contact Invites from showing up on this account. I invited a secret account from Pidgin, and ChatSecure never did any acknowledgement in UI. Rebooting makes this go away, it seems like something is not being properly inited for the three setup screens that create accounts: New Account, WiFi Mesh Chat, and Secret Identity.

To reproduce, create a new Secret Identity.

#4 Updated by n8fr8 over 2 years ago

  • Status changed from In Progress to Resolved

#5 Updated by n8fr8 over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF