swifiic/repo

SUTA crashes on receieving update from Hub

Opened this issue · 0 comments

SUTA appears to work now to refresh user lists, but it crashes every time an update is received from hub. The exception thrown is as follows:

09-07 22:07:57.641 32446-32446/in.swifiic.plat.app.suta.andi E/AndroidRuntime: FATAL EXCEPTION: main
                Process: in.swifiic.plat.app.suta.andi, PID: 32446
                java.lang.RuntimeException: Unable to start receiver in.swifiic.plat.app.suta.andi.NewMessageReceiver: java.util.NoSuchElementException
                    at android.app.ActivityThread.handleReceiver(ActivityThread.java:3055)
                    at android.app.ActivityThread.-wrap18(ActivityThread.java)
                    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1579)
                    at android.os.Handler.dispatchMessage(Handler.java:102)
                    at android.os.Looper.loop(Looper.java:154)
                    at android.app.ActivityThread.main(ActivityThread.java:6195)
                    at java.lang.reflect.Method.invoke(Native Method)
                    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:874)
                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:764)
                Caused by: java.util.NoSuchElementException
                    at java.util.StringTokenizer.nextToken(StringTokenizer.java:349)
                    at in.swifiic.plat.app.suta.andi.provider.Provider.loadUserSchema(Provider.java:172)
                    at in.swifiic.plat.app.suta.andi.NewMessageReceiver.handleNotification(NewMessageReceiver.java:96)
                    at in.swifiic.plat.app.suta.andi.NewMessageReceiver.onReceive(NewMessageReceiver.java:39)
                    at android.app.ActivityThread.handleReceiver(ActivityThread.java:3048)
                    at android.app.ActivityThread.-wrap18(ActivityThread.java) 
                    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1579) 
                    at android.os.Handler.dispatchMessage(Handler.java:102) 
                    at android.os.Looper.loop(Looper.java:154) 
                    at android.app.ActivityThread.main(ActivityThread.java:6195) 
                    at java.lang.reflect.Method.invoke(Native Method) 
                    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:874) 
                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:764) 
09-07 22:07:57.645 32446-32446/in.swifiic.plat.app.suta.andi E/MQSEventManagerDelegate: failed to get MQSService.