Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2078] Android: runtime error on close, local movie

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:01.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, android_refactor, error, regression, runtime
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:09:49.000+0000
Updated2011-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

Comments

  1. Thomas Huelbert 2011-04-15

    g1 running 1.6 and the sim running 2.2 Ti Mobile sdk 1.5.0.02c264

  2. Marshall Culpepper 2011-04-15

    (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...

  3. Thomas Huelbert 2011-04-15

    G2 2.2 mobile sdk 1.5.0.2c1cae

JSON Source