java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference at android.content.pm.ApplicationInfo android.content.ContextWrapper.getApplicationInfo() (ContextWrapper.java:152) at android.content.res.Resources$Theme android.view.ContextThemeWrapper.getTheme() (ContextThemeWrapper.java:103) at int android.app.AlertDialog.resolveDialogTheme(android.content.Context, int) (AlertDialog.java:143) at void android.app.AlertDialog$Builder.<init>(android.content.Context) (AlertDialog.java:360) at void fr.limsi.ARViewer.MainActivity.alertBeforeNewTechnique() (MainActivity.java:329) at void fr.limsi.ARViewer.MainActivity.showAlerts() (MainActivity.java:320) at void fr.limsi.ARViewer.MainActivity.endTrial() (MainActivity.java:369) Dumping all threads without appropriate locks held: thread list lock mutator lock All threads: DALVIK THREADS (20): "main" prio=5 tid=1 Native | group="main" sCount=0 dsCount=0 obj=0x646c7b70 self=0x41da3c80 | sysTid=24708 nice=0 cgrp=apps sched=0/0 handle=0x4010b154 | state=S schedstat=( 2797045067 1500623419 9968 ) utm=213 stm=66 core=0 HZ=100 | stack=0xbe552000-0xbe556000 stackSize=8MB native: android::Looper::pollOnce(int, int*, int*, void**)+92 [0x401ab94d] (libutils.so) native: android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22 [0x40254331] (libandroid_runtime.so) native: oatexec+18045636 [0x634efac4] (system@framework@boot.oat) at android.os.MessageQueue.nativePollOnce(Native method)

Stack Overflow | LBes | 4 months ago
  1. 0

    Null Pointer Exception in alert Dialog Builder call from JNI

    Stack Overflow | 4 months ago | LBes
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference at android.content.pm.ApplicationInfo android.content.ContextWrapper.getApplicationInfo() (ContextWrapper.java:152) at android.content.res.Resources$Theme android.view.ContextThemeWrapper.getTheme() (ContextThemeWrapper.java:103) at int android.app.AlertDialog.resolveDialogTheme(android.content.Context, int) (AlertDialog.java:143) at void android.app.AlertDialog$Builder.<init>(android.content.Context) (AlertDialog.java:360) at void fr.limsi.ARViewer.MainActivity.alertBeforeNewTechnique() (MainActivity.java:329) at void fr.limsi.ARViewer.MainActivity.showAlerts() (MainActivity.java:320) at void fr.limsi.ARViewer.MainActivity.endTrial() (MainActivity.java:369) Dumping all threads without appropriate locks held: thread list lock mutator lock All threads: DALVIK THREADS (20): "main" prio=5 tid=1 Native | group="main" sCount=0 dsCount=0 obj=0x646c7b70 self=0x41da3c80 | sysTid=24708 nice=0 cgrp=apps sched=0/0 handle=0x4010b154 | state=S schedstat=( 2797045067 1500623419 9968 ) utm=213 stm=66 core=0 HZ=100 | stack=0xbe552000-0xbe556000 stackSize=8MB native: android::Looper::pollOnce(int, int*, int*, void**)+92 [0x401ab94d] (libutils.so) native: android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22 [0x40254331] (libandroid_runtime.so) native: oatexec+18045636 [0x634efac4] (system@framework@boot.oat) at android.os.MessageQueue.nativePollOnce(Native method)
  2. 0

    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference

    Stack Overflow | 2 years ago | user2734182
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
  3. 0

    GLSurfaceView not appearing over MapView

    Stack Overflow | 2 years ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView$GLThread.surfaceCreated()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException - Drawable.setBounds - probably due to fragment transitions

    Stack Overflow | 1 year ago | prom85
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setBounds(int, int, int, int)' on a null object reference
  6. 0

    Not send authentciation cookie (LtpaToken) on Android devices using IBM MF 7.0 and Cordova

    Stack Overflow | 1 year ago | KRRySS
    java.lang.NullPointerException: Attempt to invoke virtual method android.webkit.WebSettings android.webkit.WebView.getSettings()' on a null object reference

  1. filpgame 19 times, last 4 weeks ago
  2. sbattaglino 1 times, last 3 months ago
  3. FreeZy 1 times, last 5 months ago
  4. jk 1 times, last 5 months ago
  5. Diogo Jaym 2 times, last 6 months ago
7 more registered users
69 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference at android.content.pm.ApplicationInfo android.content.ContextWrapper.getApplicationInfo() (ContextWrapper.java:152) at android.content.res.Resources$Theme android.view.ContextThemeWrapper.getTheme() (ContextThemeWrapper.java:103) at int android.app.AlertDialog.resolveDialogTheme(android.content.Context, int) (AlertDialog.java:143) at void android.app.AlertDialog$Builder.<init>(android.content.Context) (AlertDialog.java:360) at void fr.limsi.ARViewer.MainActivity.alertBeforeNewTechnique() (MainActivity.java:329) at void fr.limsi.ARViewer.MainActivity.showAlerts() (MainActivity.java:320) at void fr.limsi.ARViewer.MainActivity.endTrial() (MainActivity.java:369) Dumping all threads without appropriate locks held: thread list lock mutator lock All threads: DALVIK THREADS (20): "main" prio=5 tid=1 Native | group="main" sCount=0 dsCount=0 obj=0x646c7b70 self=0x41da3c80 | sysTid=24708 nice=0 cgrp=apps sched=0/0 handle=0x4010b154 | state=S schedstat=( 2797045067 1500623419 9968 ) utm=213 stm=66 core=0 HZ=100 | stack=0xbe552000-0xbe556000 stackSize=8MB native: android::Looper::pollOnce(int, int*, int*, void**)+92 [0x401ab94d] (libutils.so) native: android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22 [0x40254331] (libandroid_runtime.so) native: oatexec+18045636 [0x634efac4] (system@framework@boot.oat) at android.os.MessageQueue.nativePollOnce(Native method)

    at android.os.MessageQueue.next()
  2. Android Platform
    ActivityThread.main
    1. android.os.MessageQueue.next(MessageQueue.java:138)
    2. android.os.Looper.loop(Looper.java:123)
    3. android.app.ActivityThread.main(ActivityThread.java:5030)
    3 frames