[TIMOB-8159] Android:Views - View.updateLayout -crashes KitchenSink
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-03-22T09:30:33.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Sitara Shylaja |
Assignee | Marshall Culpepper |
Created | 2012-03-21T11:37:37.000+0000 |
Updated | 2014-06-19T12:44:37.000+0000 |
Description
In views/View updateLayout when 'change Size' button is tapped it crashes Kitchen Sink . An Alert is displayed in the view 'Unfortunately, KitchenSink has stopped.'
Error messages are also displayed in the log file
03-21 12:20:28.120: W/dalvikvm(14079): threadid=1: thread exiting with uncaught exception (group=0x40a591f8)
03-21 12:20:28.120: E/TiApplication(14079): (main) [36607,190172] Sending event: exception on thread: main msg:java.lang.ClassCastException: java.util.HashMap cannot be cast to org.appcelerator.kroll.KrollDict; Titanium 2.0.0,2012/03/20 00:03,91a288e
03-21 12:20:28.120: E/TiApplication(14079): java.lang.ClassCastException: java.util.HashMap cannot be cast to org.appcelerator.kroll.KrollDict
03-21 12:20:28.120: E/TiApplication(14079): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:388)
03-21 12:20:28.120: E/TiApplication(14079): at android.os.Handler.dispatchMessage(Handler.java:95)
03-21 12:20:28.120: E/TiApplication(14079): at android.os.Looper.loop(Looper.java:137)
03-21 12:20:28.120: E/TiApplication(14079): at android.app.ActivityThread.main(ActivityThread.java:4340)
03-21 12:20:28.120: E/TiApplication(14079): at java.lang.reflect.Method.invokeNative(Native Method)
03-21 12:20:28.120: E/TiApplication(14079): at java.lang.reflect.Method.invoke(Method.java:511)
03-21 12:20:28.120: E/TiApplication(14079): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
03-21 12:20:28.120: E/TiApplication(14079): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
03-21 12:20:28.120: E/TiApplication(14079): at dalvik.system.NativeStart.main(Native Method)
03-21 12:20:28.213: E/AndroidRuntime(14079): FATAL EXCEPTION: main
03-21 12:20:28.213: E/AndroidRuntime(14079): java.lang.ClassCastException: java.util.HashMap cannot be cast to org.appcelerator.kroll.KrollDict
03-21 12:20:28.213: E/AndroidRuntime(14079): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:388)
03-21 12:20:28.213: E/AndroidRuntime(14079): at android.os.Handler.dispatchMessage(Handler.java:95)
03-21 12:20:28.213: E/AndroidRuntime(14079): at android.os.Looper.loop(Looper.java:137)
03-21 12:20:28.213: E/AndroidRuntime(14079): at android.app.ActivityThread.main(ActivityThread.java:4340)
03-21 12:20:28.213: E/AndroidRuntime(14079): at java.lang.reflect.Method.invokeNative(Native Method)
03-21 12:20:28.213: E/AndroidRuntime(14079): at java.lang.reflect.Method.invoke(Method.java:511)
03-21 12:20:28.213: E/AndroidRuntime(14079): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
03-21 12:20:28.213: E/AndroidRuntime(14079): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
03-21 12:20:28.213: E/AndroidRuntime(14079): at dalvik.system.NativeStart.main(Native Method)
03-21 12:20:28.221: W/ActivityManager(183): Force finishing activity com.appcelerator.titanium/org.appcelerator.titanium.TiActivity
steps to reproduce:
1:tap on Views>View updateLayout
2:tap on Change Size
Actual Result: Stops Kitchen Sink
Expected Result:the square size should change to 150x150
Attachments
File | Date | Size |
---|---|---|
device-2012-03-21-105919.png | 2012-03-21T11:37:37.000+0000 | 27048 |
Closing as duplicated of TIMOB-8157. TIMOB-8157 was closed as fixed and verified on: SDK: 2.0.0.v20120321231752 Titanium Studio build: 2.0.0.201203211914 Android 4.0.2 Galaxy Nexus