[TIMOB-2078] Android: runtime error on close, local movie
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, android_refactor, error, regression, runtime |
Reporter | Thomas Huelbert |
Assignee | Don Thorp |
Created | 2011-04-15T03:09:49.000+0000 |
Updated | 2011-04-17T01:58:01.000+0000 |
Description
1.Phone>playmovie
2.hit the back button
runtime error.
E/KrollCallback( 7774): (kroll$20) [210,909521] Error evaluating
source, invocation: [callMethod
Media.VideoPlayer.Media.VideoPlayer:event:load null], message:
Wrapped java.lang.ClassCastException: java.lang.Object
(app://examples/movie_local.js#45)
E/KrollCallback( 7774): org.mozilla.javascript.WrappedException:
Wrapped java.lang.ClassCastException: java.lang.Object
(app://examples/movie_local.js#45)
E/KrollCallback( 7774): at
org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1781)
E/KrollCallback( 7774): at
org.appcelerator.kroll.KrollMethod.call(Unknown Source)
E/KrollCallback( 7774): at
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1711)
E/KrollCallback( 7774): at
script(app://examples/movie_local.js:45)
E/KrollCallback( 7774): at
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/KrollCallback( 7774): at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/KrollCallback( 7774): at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/KrollCallback( 7774): at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
E/KrollCallback( 7774): at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
E/KrollCallback( 7774): at
org.appcelerator.titanium.kroll.KrollCallback$1.run(Unknown
Source)
E/KrollCallback( 7774): at
android.os.Handler.handleCallback(Handler.java:587)
E/KrollCallback( 7774): at
android.os.Handler.dispatchMessage(Handler.java:92)
E/KrollCallback( 7774): at
android.os.Looper.loop(Looper.java:123)
E/KrollCallback( 7774): at
org.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown
Source)
E/KrollCallback( 7774): Caused by: java.lang.ClassCastException:
java.lang.Object
E/KrollCallback( 7774): at
org.appcelerator.titanium.util.TiAnimationBuilder.applyOptions(Unknown
Source)
E/KrollCallback( 7774): at
org.appcelerator.titanium.proxy.TiViewProxy.animate(Unknown
Source)
E/KrollCallback( 7774): at
org.appcelerator.titanium.proxy.TiViewProxyBindingGen$7.invoke(Unknown
Source)
E/KrollCallback( 7774): at
org.appcelerator.kroll.KrollMethod.call(Unknown Source)
E/KrollCallback( 7774): ... 11 more
g1 running 1.6 and the sim running 2.2 Ti Mobile sdk 1.5.0.02c264
(from [ca56d730dadcd779cc5081ca0c28a16f95bf0924]) 2dmatrix methods were returning void, causing problems in some animation tests. exposed VideoPlayer.hide, removed some dead code, and added a toString for the default undefined object [#2078 state:fixed-in-qa] http://github.com/appcelerator/titanium_mobile/commit/ca56d730dadcd779cc5081ca0c28a16f95bf0924"> http://github.com/appcelerator/titanium_mobile/commit/ca56d730dadcd...
G2 2.2 mobile sdk 1.5.0.2c1cae