Attempt to invoke virtual method 'double java.lang.Double.doubleValue()' on a null object reference

Please provide the following:

  1. SDK Version: 34.0.3
  2. Platforms(Android/iOS/web/all): android (all?)

Hi all, I’m working on a React Native mobile app where neither the primary developer nor I can get a new build to behave. I’ve spent hours rebuilding this in various ways to ensure AWS build is behaving properly… and it seems to be.

Doing the following basic steps…

git clone
amplify init
npm install
expo start

… followed by pulling up the app an android device (tunnel or lan), yields our expected login screen. Once we log in, however, we get the null object reference error with no discernible information in the console, or stack that we can figure out what is resulting in this error.

Any suggestions? Help would be greatly appreciated.

Hi. What changed between the time it was last working and now?

The following bug report looks similar and you might fine one of the comments useful.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.