question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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) image

Reproducible Demo

The source of this error is in TaskManagerInternalModule.java.

private boolean isRunningInHeadlessMode() {
    return mTaskService.isStartedByHeadlessLoader(getAppId());
  }

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
zlanichcommented, Jun 4, 2020

@DmitryKvant What package did you upgrade to version 8? I’m seeing something like 5.1.* highest on these packages.

0reactions
DmitryKvantcommented, May 7, 2020

Okey update unimodules to version 8 fix if

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found