Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8312] Android: UI Composite Layout KindleFire - Video view crashes giving an error,"The application UIcompositeLayout has stopped unexpectedly. Please try again".

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Do
Resolution Date2020-01-09T21:46:13.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sn/a
Componentsn/a
Labelsqe-and031912
ReporterAnshu Mittal
AssigneeUnknown
Created2012-03-26T13:21:15.000+0000
Updated2020-01-09T21:46:13.000+0000

Description

Video view crashes giving an error,"The application UIcompositeLayout has stopped unexpectedly. Please try again". Steps to reproduce: 1. Run the app UICompositeLayout (Test case: UI Composite Layout Acceptance 1077). Expected: The video view should fill the screen. Actual: The video starts playing and then throws error after stating,"The application UIcompositeLayout has stopped unexpectedly. Please try again". Please find the code and error logs below: App.js

var win = Ti.UI.createWindow({
    backgroundColor : 'white'
});

var label = Ti.UI.createLabel({
    text: 'Pass if video fills the screen',
    top: 40,
    left: 10,
    height: Ti.UI.SIZE,
    width: Ti.UI.SIZE,
    color: 'black'
});

var video = Ti.Media.createVideoPlayer({
    contentURL: 'movie.mp4',
    movieControlMode:Titanium.Media.VIDEO_CONTROL_FULLSCREEN,
    scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL
});
win.add(label);
video.add(label);
win.add(video);
video.play();

win.open();

Error Logs
E/TiApplication( 5786): (main) [3432,25138] Sending event: exception on thread: main msg:java.lang.AbstractMethodError: abstract method not implemented; Titanium 2.0.0,2012/03/25 21:33,963fcfe
E/TiApplication( 5786): java.lang.AbstractMethodError: abstract method not implemented
E/TiApplication( 5786): at android.widget.TiVideoView8.onControllerHide(TiVideoView8.java)
E/TiApplication( 5786): at android.widget.MediaController$7.handleMessage(MediaController.java:704)
E/TiApplication( 5786): at android.os.Handler.dispatchMessage(Handler.java:99)
E/TiApplication( 5786): at android.os.Looper.loop(Looper.java:130)
E/TiApplication( 5786): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/TiApplication( 5786): at java.lang.reflect.Method.invokeNative(Native Method)
E/TiApplication( 5786): at java.lang.reflect.Method.invoke(Method.java:507)
E/TiApplication( 5786): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:850)
E/TiApplication( 5786): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
E/TiApplication( 5786): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5786): FATAL EXCEPTION: main
E/AndroidRuntime( 5786): java.lang.AbstractMethodError: abstract method not implemented
E/AndroidRuntime( 5786): at android.widget.TiVideoView8.onControllerHide(TiVideoView8.java)
E/AndroidRuntime( 5786): at android.widget.MediaController$7.handleMessage(MediaController.java:704)
E/AndroidRuntime( 5786): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5786): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 5786): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 5786): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5786): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 5786): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:850)
E/AndroidRuntime( 5786): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
E/AndroidRuntime( 5786): at dalvik.system.NativeStart.main(Native Method)

Comments

  1. Alan Hutton 2020-01-09

    This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.

JSON Source