Problem Description
The app encounters an ExceptionInInitializerError when initializing the JavaScript engine. This error occurs because the VMBridge instance fails to be created, causing a failure in setting up the JavaScript runtime environment.
Steps to Reproduce the Behavior
- Open the app and navigate to the
WebViewPane.
- Trigger an action that initializes or interacts with the JavaScript engine (e.g., running a script or executing a JavaScript function).
- Observe the crash, which occurs during the initialization of the JavaScript engine.
Expected Behavior
- The app should initialize the JavaScript engine and execute scripts without crashing. The VMBridge instance should be created successfully, allowing smooth interaction with JavaScript functionalities.
Crash Details
- Crash Date: Thu Sep 05 2024 14:01:10 GMT+0100 (West Africa Standard Time)
Crashlytics Issue ID
8c42fe20ec460f1f2bb87c206438081f
- Thread:
main
- Exception:
java.lang.IllegalStateException
Message:
java.lang.IllegalStateException: Failed to create VMBridge instance
The crash occurs because the app fails to create a VMBridge instance, which is essential for the JavaScript engine's operation. This failure leads to an IllegalStateException during the initialization process.
Stack Trace
Non-fatal Exception: java.lang.ExceptionInInitializerError:
at org.mozilla.javascript.n.f()
at com.eup.codeopsstudio.JavascriptEngine.e.x(:5)
at com.eup.codeopsstudio.MainFragment$e.run(:32)
at java.lang.Thread.run(Thread.java:929)
Caused by java.lang.IllegalStateException: Failed to create VMBridge instance
at org.mozilla.javascript.h1.<clinit>(:38)
at org.mozilla.javascript.n.f()
at com.eup.codeopsstudio.JavascriptEngine.e.x(:5)
at com.eup.codeopsstudio.MainFragment$e.run(:32)
at java.lang.Thread.run(Thread.java:929)
System Information
- Package Name:
com.eup.codeopsstudio
- App Version:
1.0.0 (1)
Problem Description
The app encounters an
ExceptionInInitializerErrorwhen initializing the JavaScript engine. This error occurs because the VMBridge instance fails to be created, causing a failure in setting up the JavaScript runtime environment.Steps to Reproduce the Behavior
WebViewPane.Expected Behavior
Crash Details
Crashlytics Issue ID
mainjava.lang.IllegalStateExceptionMessage:
The crash occurs because the app fails to create a VMBridge instance, which is essential for the JavaScript engine's operation. This failure leads to an
IllegalStateExceptionduring the initialization process.Stack Trace
System Information
com.eup.codeopsstudio1.0.0 (1)