Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2522] Android: fatal exception tapping "open a window" on orientations test

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2011-04-15T03:21:53.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, crash, regression
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:21:53.000+0000
Updated2017-03-03T06:36:07.000+0000

Description

Titanium SDK version: 1.5.0 (12/06/10 08:42 4d92d40) device and sim

1.Phone > orientation
2.tap "open a window"

results: boom

E/AndroidRuntime( 8976): FATAL EXCEPTION: main
E/AndroidRuntime( 8976): java.lang.RuntimeException: No Context associated with current Thread
E/AndroidRuntime( 8976): at org.mozilla.javascript.Context.getContext(Context.java:2350)
E/AndroidRuntime( 8976): at org.mozilla.javascript.Context.javaToJS(Context.java:1705)
E/AndroidRuntime( 8976): at org.appcelerator.kroll.KrollConverter.convertNative(KrollConverter.java:192)
E/AndroidRuntime( 8976): at org.appcelerator.titanium.kroll.KrollBridge.bindContextSpecific(KrollBridge.java:115)
E/AndroidRuntime( 8976): at org.appcelerator.titanium.util.TiBindingHelper.bindCurrentActivity(TiBindingHelper.java:19)
E/AndroidRuntime( 8976): at org.appcelerator.titanium.util.TiBindingHelper.bindCurrentWindowAndActivity(TiBindingHelper.java:43)
E/AndroidRuntime( 8976): at ti.modules.titanium.ui.TiUIWindow.handlePostOpen(TiUIWindow.java:281)
E/AndroidRuntime( 8976): at ti.modules.titanium.ui.TiUIWindow.(TiUIWindow.java:136)
E/AndroidRuntime( 8976): at ti.modules.titanium.ui.WindowProxy.handleOpen(WindowProxy.java:97)
E/AndroidRuntime( 8976): at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:65)
E/AndroidRuntime( 8976): at ti.modules.titanium.ui.WindowProxy.handleMessage(WindowProxy.java:84)
E/AndroidRuntime( 8976): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 8976): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 8976): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 8976): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8976): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 8976): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 8976): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 8976): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 1296): Force finishing activity com.appcelerator.KitchenSink/org.appcelerator.titanium.TiActivity
W/ActivityManager( 1296): Activity pause timeout for HistoryRecord{45123928 com.appcelerator.KitchenSink/org.appcelerator.titanium.TiActivity}
E/KINETO ( 1419): KLOG0C3- xmk_QueryOSQueue SDL Queue empty : WAIT_FOREVER

Comments

  1. Don Thorp 2011-04-15

    Duplicate of #2505

  2. Lee Morris 2017-03-03

    Closing issue due to time passed and irrelevance of the ticket.

JSON Source