Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-8266

Crash after exiting app: null pointer exception in isNetworkEnabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 0.11.0 Beta 5
    • 0.11.0 Beta 4
    • None
    • Unconfirmed
    • Tablet - Android - Asus Nexus 7

      After closing the app from the title screen, I get the message "Unfortunately, Minecraft - Pocket Edition has stopped". In the LogCat, I get this error:

      I/DEBUG   (14972): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      I/DEBUG   (14972): Build fingerprint: 'google/nakasi/grouper:5.1/LMY47D/1743759:user/release-keys'
      I/DEBUG   (14972): Revision: '0'
      I/DEBUG   (14972): ABI: 'arm'
      I/DEBUG   (14972): pid: 31560, tid: 32211, name: Thread-5850  >>> com.mojang.minecraftpe <<<
      I/DEBUG   (14972): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
      I/DEBUG   (14972): Abort message: 'art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: obj == null'
      I/DEBUG   (14972):     r0 00000000  r1 00007dd3  r2 00000006  r3 00000000
      I/DEBUG   (14972):     r4 6b09fdd8  r5 00000006  r6 0000000b  r7 0000010c
      I/DEBUG   (14972):     r8 00000000  r9 4003b9f8  sl 614ae0c8  fp 000007f8
      I/DEBUG   (14972):     ip 00007dd3  sp 6b09f938  lr 40212c81  pc 40239020  cpsr 60070010
      I/DEBUG   (14972): 
      I/DEBUG   (14972): backtrace:
      I/DEBUG   (14972):     #00 pc 0003d020  /system/lib/libc.so (tgkill+12)
      I/DEBUG   (14972):     #01 pc 00016c7d  /system/lib/libc.so (pthread_kill+52)
      I/DEBUG   (14972):     #02 pc 0001789b  /system/lib/libc.so (raise+10)
      I/DEBUG   (14972):     #03 pc 00014029  /system/lib/libc.so
      I/DEBUG   (14972):     #04 pc 000124f0  /system/lib/libc.so (abort+4)
      I/DEBUG   (14972):     #05 pc 00218341  /system/lib/libart.so (art::Runtime::Abort()+160)
      I/DEBUG   (14972):     #06 pc 000a6eeb  /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)
      I/DEBUG   (14972):     #07 pc 000b0bf9  /system/lib/libart.so
      I/DEBUG   (14972):     #08 pc 000b1151  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
      I/DEBUG   (14972):     #09 pc 001a4179  /system/lib/libart.so
      I/DEBUG   (14972):     #10 pc 002eeb83  /data/app/com.mojang.minecraftpe-1/lib/arm/libminecraftpe.so (_JNIEnv::CallBooleanMethod(_jobject*, _jmethodID*, ...)+22)
      I/DEBUG   (14972):     #11 pc 002ef6dd  /data/app/com.mojang.minecraftpe-1/lib/arm/libminecraftpe.so (AppPlatform_android::isNetworkEnabled(bool)+52)
      I/DEBUG   (14972):     #12 pc 0020cf6b  /data/app/com.mojang.minecraftpe-1/lib/arm/libminecraftpe.so (SnoopClient::update()+34)
      I/DEBUG   (14972):     #13 pc 002de561  /data/app/com.mojang.minecraftpe-1/lib/arm/libminecraftpe.so (Minecraft::update()+80)
      I/DEBUG   (14972):     #14 pc 002f7675  /data/app/com.mojang.minecraftpe-1/lib/arm/libminecraftpe.so (android_main+724)
      I/DEBUG   (14972):     #15 pc 0030ccdf  /data/app/com.mojang.minecraftpe-1/lib/arm/libminecraftpe.so
      I/DEBUG   (14972):     #16 pc 00016467  /system/lib/libc.so
      I/DEBUG   (14972):     #17 pc 00014393  /system/lib/libc.so
      

            zhuowei Zhuowei Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: