Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3839] Titanium.UI.Window open method crashes

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2016-06-13T04:25:53.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterAndrea
AssigneeShak Hossain
Created2016-06-11T09:42:38.000+0000
Updated2016-06-13T04:25:53.000+0000

Description

Launching thins code the app crashes: var win2 = Ti.UI.createWindow({ fullscreen: false // Makes it heavyweight before Titanium 3.2.0 }); win2.open();

Comments

  1. Andrea 2016-06-11

    Tracing code executionI find these messages: [DEBUG] : ProgressBar: setProgressDrawable drawableHeight = 32 [DEBUG] : Window: Checkpoint: postWindowCreated() [DEBUG] : AndroidRuntime: Shutting down VM [WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x416cada0) [INFO] : Process: Sending signal. PID: 32376 SIG: 9 [TRACE] : updating tiapp metadata with Appcelerator Platform... [TRACE] : Uploaded tiapp metadata with Appcelerator Platform!
  2. Andrea 2016-06-11

    I'm launching the app on an android device Galaxy SIII, Android Version 4.4.2
  3. Nazmus Salahin 2016-06-12

    Hello, I am not able to reproduce this issue entirely with following code. The app does not crashes on launch. But some error log is produced which given below. *app.js:*
       var win2 = Ti.UI.createWindow(
       	{ 
       	fullscreen: false // Makes it heavyweight before Titanium 3.2.0 
       	}
       
       );
       
       win2.open();
       
    *Error Log:*
       [ERROR] :  dalvikvm: Could not find class 'android.transition.Explode', referenced from method ti.modules.titanium.ui.WindowProxy.createTransition
       [WARN] :   dalvikvm: VFY: unable to resolve new-instance 1750 (Landroid/transition/Explode;) in Lti/modules/titanium/ui/WindowProxy;
       [WARN] :   dalvikvm: VFY: unable to resolve direct method 14097: Landroid/transition/Slide;.<init> (I)V
       [WARN] :   dalvikvm: VFY: unable to resolve direct method 14097: Landroid/transition/Slide;.<init> (I)V
       [WARN] :   dalvikvm: VFY: unable to resolve direct method 14097: Landroid/transition/Slide;.<init> (I)V
       [WARN] :   dalvikvm: VFY: unable to resolve direct method 14097: Landroid/transition/Slide;.<init> (I)V
       [ERROR] :  dalvikvm: Could not find class 'android.transition.ChangeClipBounds', referenced from method ti.modules.titanium.ui.WindowProxy.createTransition
       [WARN] :   dalvikvm: VFY: unable to resolve new-instance 1747 (Landroid/transition/ChangeClipBounds;) in Lti/modules/titanium/ui/WindowProxy;
       [ERROR] :  dalvikvm: Could not find class 'android.transition.ChangeTransform', referenced from method ti.modules.titanium.ui.WindowProxy.createTransition
       [WARN] :   dalvikvm: VFY: unable to resolve new-instance 1749 (Landroid/transition/ChangeTransform;) in Lti/modules/titanium/ui/WindowProxy;
       [ERROR] :  dalvikvm: Could not find class 'android.transition.ChangeImageTransform', referenced from method ti.modules.titanium.ui.WindowProxy.createTransition
       
    *Environment*: *Device info:* HTC One (Android 4.4.3) *Node.js Version:* 0.12.7 *npm Version:* 2.11.3 *Titanium SDKs:* 5.3.0.GA *Java Development Kit Version:* 1.8.0_73 *Titanium CLI Version:* 5.0.6 *Appcelerator CLI Version:* 5.2.2 *Appcelerator Studio:* 4.5.0
  4. Andrea 2016-06-12

    Maybe on my Android device is little different, but also you can see the problem. I fear that this issue is related to TIMOB-20258
  5. Nazmus Salahin 2016-06-13

    Hello [~freedevcom], Thanks for pointing out the related issue. It looks like both issue is same. I am closing this issue and merging to TIMOB-20258. Please keep following that ticket. Regards
  6. Nazmus Salahin 2016-06-13

JSON Source