Skip to content

AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.rhbgroup.gowave.MainApplication package com.rhbgroup.gowave.dev #55023

@camboYY

Description

@camboYY

Description

--------- beginning of crash
01-02 15:16:39.037 9279 9279 E AndroidRuntime: FATAL EXCEPTION: main
01-02 15:16:39.037 9279 9279 E AndroidRuntime: Process: com.rhbgroup.gowave.dev, PID: 9279
01-02 15:16:39.037 9279 9279 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.rhbgroup.gowave.MainApplication package com.rhbgroup.gowave.dev: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1466)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1395)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6959)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2236)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:205)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.os.Looper.loop(Looper.java:294)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8177)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference

Steps to reproduce

--------- beginning of crash
01-02 15:16:39.037 9279 9279 E AndroidRuntime: FATAL EXCEPTION: main
01-02 15:16:39.037 9279 9279 E AndroidRuntime: Process: com.rhbgroup.gowave.dev, PID: 9279
01-02 15:16:39.037 9279 9279 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.rhbgroup.gowave.MainApplication package com.rhbgroup.gowave.dev: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1466)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1395)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6959)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2236)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:205)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.os.Looper.loop(Looper.java:294)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8177)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
01-02 15:16:39.037 9279 9279 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference

React Native Version

0.83.1

Affected Platforms

Runtime - Android

Output of npx @react-native-community/cli info

System:
  OS: macOS 15.6
  CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
  Memory: 871.40 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.19.4
    path: /usr/local/opt/node@20/bin/node
  Yarn:
    version: 4.9.1
    path: /usr/local/opt/node@20/bin/yarn
  npm:
    version: 10.8.2
    path: /usr/local/opt/node@20/bin/npm
  Watchman:
    version: 2025.09.01.00
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /Users/yousyoeun/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.0
      - iOS 26.0
      - macOS 26.0
      - tvOS 26.0
      - visionOS 26.0
      - watchOS 26.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2025.2 AI-252.27397.103.2522.14617522
  Xcode:
    version: 26.0.1/17A400
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.15
    path: /usr/bin/javac
  Ruby:
    version: 3.2.2
    path: /Users/yousyoeun/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.0
    wanted: 20.0.0
  react:
    installed: 19.2.0
    wanted: 19.2.0
  react-native:
    installed: 0.83.0
    wanted: 0.83.0
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Stacktrace or Logs

--------- beginning of crash
01-02 15:16:39.037  9279  9279 E AndroidRuntime: FATAL EXCEPTION: main
01-02 15:16:39.037  9279  9279 E AndroidRuntime: Process: com.rhbgroup.gowave.dev, PID: 9279
01-02 15:16:39.037  9279  9279 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.rhbgroup.gowave.MainApplication package com.rhbgroup.gowave.dev: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1466)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1395)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6959)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2236)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:205)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:294)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8177)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
01-02 15:16:39.037  9279  9279 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference

MANDATORY Reproducer

y

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions