Expo Bare Workflow TaskManager - Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference
See original GitHub issue🐛 Bug Report
Environment
Expo CLI 3.15.4 environment info: System: OS: Windows 10 10.0.17763 Binaries: Node: 13.11.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.19.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.13.7 - C:\Program Files\nodejs\npm.CMD IDEs: Android Studio: Version 3.5.0.0 AI-191.8026.42.35.5791312 npmPackages: expo: ~36.0.0 => 36.0.2 react: ~16.9.0 => 16.9.0 react-native: ~0.61.4 => 0.61.5
I am running on android via react-native run-android
Steps to Reproduce
Run react-native run-android
on a bare workflow expo project that utilizes the TaskManager module.
Actual Behavior
Java Runtime Error (See below)
Reproducible Demo
The source of this error is in TaskManagerInternalModule.java
.
private boolean isRunningInHeadlessMode() {
return mTaskService.isStartedByHeadlessLoader(getAppId());
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Attempt to invoke virtual method 'boolean java.lang.Boolean ...
First of all use boolean instead of Boolean, and try checking if your getIntent() is not returning null intent, before receiving bundle from ......
Read more >Attempt to invoke virtual method 'boolean java.lang ... - Reddit
Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference. i am about to making the android ...
Read more >SecureStore - Expo Documentation
expo -secure-store provides a way to encrypt and securely store key–value pairs locally on the device. Each Expo project has a separate storage...
Read more >java.lang.Boolean.booleanValue java code examples - Tabnine
Gets the primitive value of this boolean, either true or false. Popular methods of Boolean. valueOf. Returns a Boolean instance representing the specified ......
Read more >Development Logs - AdaCore
SPARK Pro Wed Dec 14 2022, Support predicates with Relaxed_Initialization GNATprove now supports the Relaxed_Initialization aspect on types, objects, ...
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
@DmitryKvant What package did you upgrade to version 8? I’m seeing something like 5.1.* highest on these packages.
Okey update unimodules to version 8 fix if