incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-282) Taking a picture causes the app to crash with a StackOverflowError
Date Tue, 28 Feb 2012 20:25:46 GMT

    [ https://issues.apache.org/jira/browse/CB-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218577#comment-13218577
] 

Simon MacDonald commented on CB-282:
------------------------------------

Pulled the latest from master ran the test and it crashed again but with a different stack
trace:


E/AndroidRuntime(17200): FATAL EXCEPTION: main
E/AndroidRuntime(17200): java.lang.NoSuchMethodError: org.apache.cordova.api.CordovaInterface.managedQuery
E/AndroidRuntime(17200): 	at org.apache.cordova.FileUtils.getRealPathFromURI(FileUtils.java:1042)
E/AndroidRuntime(17200): 	at org.apache.cordova.CameraLauncher.onActivityResult(CameraLauncher.java:333)
E/AndroidRuntime(17200): 	at org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:1158)
E/AndroidRuntime(17200): 	at android.app.Activity.dispatchActivityResult(Activity.java:3908)
E/AndroidRuntime(17200): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:2532)
E/AndroidRuntime(17200): 	at android.app.ActivityThread.handleSendResult(ActivityThread.java:2578)
E/AndroidRuntime(17200): 	at android.app.ActivityThread.access$2000(ActivityThread.java:117)
E/AndroidRuntime(17200): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:965)
E/AndroidRuntime(17200): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(17200): 	at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime(17200): 	at android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime(17200): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(17200): 	at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(17200): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
E/AndroidRuntime(17200): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime(17200): 	at dalvik.system.NativeStart.main(Native Method)

                
> Taking a picture causes the app to crash with a StackOverflowError
> ------------------------------------------------------------------
>
>                 Key: CB-282
>                 URL: https://issues.apache.org/jira/browse/CB-282
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> Go into the mobile spec tests, tap Camera, tap "Take a Picture". Use the Intent to take
a picture. Then tap "Save" to return the picture data to mobile spec. The app crashes with
the following error:
> W/dalvikvm(14323): threadid=1: thread exiting with uncaught exception (group=0x40015578)
> E/AndroidRuntime(14323): FATAL EXCEPTION: main
> E/AndroidRuntime(14323): java.lang.StackOverflowError
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuery(DroidGap.java:1409)
> E/AndroidRuntime(14323): 	at org.apache.cordova.DroidGap.managedQuer
> W/ActivityManager(  129):   Force finishing activity com.phonegap.mobilespec/.MobileSpec

--
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