dya2 / android-scripting

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

Crash when launching script from home screen shortcut #433

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?

ADP1

What firmware version are you running on the device?

What steps will reproduce the problem?
1. Install oplop.py (link on SL4A's project home page)
2. Add a home screen shortcut for the oplop.py (background or foreground does 
not matter)
3. Launch script

What is the expected output? What do you see instead?

Should have the script launch which starts with a text input box. Instead 
Android says that SL4A crashed. Interpreter is also left running with no script 
executing (really wish there was a way to forcibly kill the interpreter at that 
point).

What version of the product are you using? On what operating system?

SL4A r2, Android 1.6.

Please provide any additional information below.

I attached the logcat. If you search for 
"android.intent.action.CREATE_SHORTCUT" you will see where I started to 
reproduce the bug. If you keep going down you will notice there is a class cast 
exception where a java.io.File object is being passed in instead of a String. 
That seems to cascade into a NullPointerException.

Original issue reported on code.google.com by bcannon on 14 Sep 2010 at 11:23

Attachments:

GoogleCodeExporter commented 9 years ago
Duplicate of #432

Original comment by spence...@gmail.com on 15 Sep 2010 at 4:54

GoogleCodeExporter commented 9 years ago

Original comment by damonkoh...@gmail.com on 25 Sep 2010 at 9:35