System.err: TypeError: Cannot read property '_executingContext' of undefined
See original GitHub issueEnvironment
- CLI: 7.1.2
- Cross-platform modules: 7.1.3
- Android Runtime: 7.0.1
- Plugins:
├── @nativescript/android@7.0.1
├── @nativescript/core@7.1.3
├── @nativescript/theme@2.3.4
├── @nativescript/types@7.0.4
├── @nativescript/webpack@4.0.1
Describe the bug Building a project with --env.uglify causes the following crash on start:
System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method onAnimationEnd failed
System.err: TypeError: Cannot read property '_executingContext' of undefined
System.err:
System.err: StackTrace:
System.err: F(file: node_modules/@nativescript/core/ui/frame/fragment.transitions.android.js:537:40)
System.err: at r.onAnimationEnd(file: node_modules/@nativescript/core/ui/frame/fragment.transitions.android.js:177:8)
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1302)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:1188)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1175)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1153)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1149)
System.err: at com.tns.gen.java.lang.Object_vendor_5941_22_r.onAnimationEnd(Object_vendor_5941_22_r.java:50)
System.err: at android.animation.AnimatorSet.endAnimation(AnimatorSet.java:1301)
System.err: at android.animation.AnimatorSet.doAnimationFrame(AnimatorSet.java:1086)
System.err: at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
System.err: at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)
System.err: at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:970)
System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:796)
System.err: at android.view.Choreographer.doFrame(Choreographer.java:727)
System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957)
System.err: at android.os.Handler.handleCallback(Handler.java:938)
System.err: at android.os.Handler.dispatchMessage(Handler.java:99)
System.err: at android.os.Looper.loop(Looper.java:223)
System.err: at android.app.ActivityThread.main(ActivityThread.java:7660)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
To Reproduce
Make sure you have the versions installed as mentioned above and run ns run android --env.uglify
% ns create issue-uglify --ts
% ns platform add android
% ns run android --env.uglify
Expected behavior No crash
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Voice Extensible Markup Language (VoiceXML ... - W3C
Abstract. This document specifies VoiceXML, the Voice Extensible Markup Language. VoiceXML is designed for creating audio dialogs that ...
Read more >API: event Event.js (YUI Library)
This means that the module pattern can't be used. if (!YAHOO.util. ... If * this property is set to true, it will also...
Read more >Expert JavaScript - Springer Link
Enumerable properties appear if an object's properties are iterated over using code. When set to false, those properties cannot be iterated over.
Read more >Incident Response - Hybrid Analysis
Guest System: Windows 7 32 bit, Professional, 6.1 (build 7601), Service Pack 1 ... No relevant data available. ... No relevant HTTP requests...
Read more >Professional JavaScript for Web Developers
Browser Error Reporting ... The System Cannot Locate the Resource Specified ... You can read messages in the forums without joining P2P, but...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@saschaarthur https://github.com/NativeScript/NativeScript/pull/9165 - you will likely need to recreate config when released, because we enabled Prettier formatting on it - so it changed.
Fixed in https://github.com/NativeScript/NativeScript/pull/9165