incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-1521) NullPointerException in JellyBean emulator
Date Fri, 21 Sep 2012 15:14:07 GMT
Simon MacDonald created CB-1521:
-----------------------------------

             Summary: NullPointerException in JellyBean emulator
                 Key: CB-1521
                 URL: https://issues.apache.org/jira/browse/CB-1521
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: Master
            Reporter: Simon MacDonald
            Assignee: Joe Bowser


It appears that webview is null when the NetworkManager is trying to update navigator.network.connection.type
on startup of the app in the JellyBean emulator.


09-21 11:09:30.560: E/AndroidRuntime(620): FATAL EXCEPTION: main
09-21 11:09:30.560: E/AndroidRuntime(620): java.lang.RuntimeException: Error receiving broadcast
Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x8000010 (has extras) } in org.apache.cordova.NetworkManager$1@411f06f0
09-21 11:09:30.560: E/AndroidRuntime(620): 	at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:765)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at android.os.Handler.handleCallback(Handler.java:615)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at android.os.Handler.dispatchMessage(Handler.java:92)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at android.os.Looper.loop(Looper.java:137)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at android.app.ActivityThread.main(ActivityThread.java:4745)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at java.lang.reflect.Method.invokeNative(Native
Method)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at java.lang.reflect.Method.invoke(Method.java:511)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at dalvik.system.NativeStart.main(Native Method)
09-21 11:09:30.560: E/AndroidRuntime(620): Caused by: java.lang.NullPointerException
09-21 11:09:30.560: E/AndroidRuntime(620): 	at org.apache.cordova.api.Plugin.success(Plugin.java:166)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at org.apache.cordova.NetworkManager.sendUpdate(NetworkManager.java:199)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at org.apache.cordova.NetworkManager.updateConnectionInfo(NetworkManager.java:168)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at org.apache.cordova.NetworkManager.access$000(NetworkManager.java:34)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at org.apache.cordova.NetworkManager$1.onReceive(NetworkManager.java:102)
09-21 11:09:30.560: E/AndroidRuntime(620): 	at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:755)
09-21 11:09:30.560: E/AndroidRuntime(620): 	... 9 more


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message