java.lang.NullPointerException

Stack Overflow | user3228219 | 3 years ago
  1. 0

    Android Compatibility Error

    Stack Overflow | 6 years ago | Arthur
    java.lang.NullPointerException
  2. 0

    Help with GridView, ImageAdapter and Custom Drawable

    Google Groups | 6 years ago | Evan Ruff
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 3#62728197

    GitHub | 2 years ago | Anth06ny
    java.lang.RuntimeException: An error occured while executing doInBackground()
  5. 0

    NullPointer on new ImageView

    Stack Overflow | 5 months ago | Wiltaprizes
    java.lang.NullPointerException

  1. brunosatriani 13 times, last 5 months ago
1 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

    No message provided

    at android.view.ViewConfiguration.get()
  2. Android Platform
    ImageView.<init>
    1. android.view.ViewConfiguration.get(ViewConfiguration.java:318)
    2. android.view.View.<init>(View.java:3234)
    3. android.widget.ImageView.<init>(ImageView.java:105)
    3 frames
  3. com.example.android
    ImageAdapter.getView
    1. com.example.android.navigationdrawerexample.ImageAdapter.getView(ImageAdapter.java:35)
    1 frame
  4. Android Platform
    View.measure
    1. android.widget.AbsListView.obtainView(AbsListView.java:2159)
    2. android.widget.GridView.onMeasure(GridView.java:1040)
    3. android.view.View.measure(View.java:15513)
    4. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4827)
    5. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    6. android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1052)
    7. android.widget.LinearLayout.onMeasure(LinearLayout.java:590)
    8. android.view.View.measure(View.java:15513)
    9. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4827)
    10. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    11. android.view.View.measure(View.java:15513)
    11 frames
  5. Android Support v4
    DrawerLayout.onMeasure
    1. android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:615)
    1 frame
  6. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:15513)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4827)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    4. android.view.View.measure(View.java:15513)
    5. android.widget.LinearLayout.measureVertical(LinearLayout.java:847)
    6. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    7. android.view.View.measure(View.java:15513)
    8. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4827)
    9. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    9 frames
  7. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2176)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:15513)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1874)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1089)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1265)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:562)
    9. android.view.Choreographer.doFrame(Choreographer.java:532)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
    11. android.os.Handler.handleCallback(Handler.java:725)
    12. android.os.Handler.dispatchMessage(Handler.java:92)
    13. android.os.Looper.loop(Looper.java:137)
    14. android.app.ActivityThread.main(ActivityThread.java:5039)
    14 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame