incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1210) [Kindle] Location API crashe app
Date Tue, 14 Aug 2012 18:35:38 GMT

     [ https://issues.apache.org/jira/browse/CB-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser resolved CB-1210.
----------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0
         Assignee: Joe Bowser  (was: Andrew Grieve)

Tested.  The Kindle Fire doesn't have GPS, so this is why it crashes!  The thing is that Cordova
geolocation should only be used when there's no native Geolocation.
                
> [Kindle] Location API crashe app
> --------------------------------
>
>                 Key: CB-1210
>                 URL: https://issues.apache.org/jira/browse/CB-1210
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>            Reporter: Evgeni Petrov
>            Assignee: Joe Bowser
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> Location API crashes kindle.
> 73line in GeoBroker  Location last is null.
> I will investigate and if I find a solution I would do pull request.
> 08-08 10:49:43.145: E/AndroidRuntime(6323): FATAL EXCEPTION: main
> 08-08 10:49:43.145: E/AndroidRuntime(6323): java.lang.NullPointerException
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at org.apache.cordova.GeoBroker.execute(GeoBroker.java:73)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at org.apache.cordova.api.PluginManager.exec(PluginManager.java:218)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at org.apache.cordova.CordovaChromeClient.onJsPrompt(CordovaChromeClient.java:207)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:566)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at android.os.Handler.dispatchMessage(Handler.java:99)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at android.os.Looper.loop(Looper.java:130)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at android.app.ActivityThread.main(ActivityThread.java:3683)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at java.lang.reflect.Method.invokeNative(Native
Method)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at java.lang.reflect.Method.invoke(Method.java:507)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:850)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
> 08-08 10:49:43.145: E/AndroidRuntime(6323): 	at dalvik.system.NativeStart.main(Native
Method)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message