dexapier / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Crash when SD card mounted #462

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Launch SL4a when the SD card is mounted and it will crash.

Original issue reported on code.google.com by damonkoh...@gmail.com on 20 Oct 2010 at 9:53

GoogleCodeExporter commented 9 years ago
Confirmed on milestone android 2.1

Original comment by nitz...@gmail.com on 31 Oct 2010 at 1:47

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 487f82f829.

Original comment by damonkoh...@gmail.com on 11 Nov 2010 at 9:25

GoogleCodeExporter commented 9 years ago
Issue 444 has been merged into this issue.

Original comment by damonkoh...@gmail.com on 11 Nov 2010 at 9:30

GoogleCodeExporter commented 9 years ago
I am having the same problem without the SD card mounted on an actual android 
device using r3.
logcat reports: 

03-17 20:10:22.106: ERROR/sl4a.FileUtils:121(1761): Failed to create directory.
03-17 20:10:22.106: DEBUG/AndroidRuntime(1761): Shutting down VM
03-17 20:10:22.106: WARN/dalvikvm(1761): threadid=3: thread exiting with 
uncaught exception (group=0x4001b168)
03-17 20:10:22.116: ERROR/AndroidRuntime(1761): Uncaught handler: thread main 
exiting due to uncaught exception
03-17 20:10:22.126: ERROR/AndroidRuntime(1761): java.lang.RuntimeException: 
Unable to start activity 
ComponentInfo{com.googlecode.android_scripting/com.googlecode.android_scripting.
activity.ScriptManager}: java.lang.RuntimeException: Failed to create scripts 
directory.
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
        at android.app.ActivityThread.access$2200(ActivityThread.java:119)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:123)
        at android.app.ActivityThread.main(ActivityThread.java:4363)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:521)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
        at dalvik.system.NativeStart.main(Native Method)
        Caused by: java.lang.RuntimeException: Failed to create scripts directory.
        at com.googlecode.android_scripting.activity.ScriptManager.onCreate(ScriptManager.java:112)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
        ... 11 more

Original comment by scottbur...@gmail.com on 17 Mar 2011 at 8:13