java.lang.NullPointerException

  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. korman 1 times, last 6 months ago
9 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.graphics.Paint_Delegate.nGetFontMetricsInt()
  2. Android Platform
    View.measure
    1. android.graphics.Paint_Delegate.nGetFontMetricsInt(Paint_Delegate.java:607)
    2. android.graphics.Paint.nGetFontMetricsInt(Paint.java)
    3. android.graphics.Paint.getFontMetricsInt(Paint.java:1668)
    4. android.text.TextLine.expandMetricsFromPaint(TextLine.java:661)
    5. android.text.TextLine.handleRun(TextLine.java:860)
    6. android.text.TextLine.measureRun(TextLine.java:387)
    7. android.text.TextLine.measure(TextLine.java:277)
    8. android.text.TextLine.metrics(TextLine.java:251)
    9. android.text.BoringLayout.isBoring(BoringLayout.java:310)
    10. android.widget.TextView.onMeasure(TextView.java:7069)
    11. android.view.View.measure(View.java:19731)
    12. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6120)
    13. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
    14. android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1117)
    15. android.widget.LinearLayout.onMeasure(LinearLayout.java:642)
    16. android.view.View.measure(View.java:19731)
    17. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
    18. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
    19. android.view.View.measure(View.java:19731)
    19 frames
  3. com.android.layoutlib
    Bridge.createSession
    1. com.android.layoutlib.bridge.impl.RenderSessionImpl.measureView(RenderSessionImpl.java:545)
    2. com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:342)
    3. com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)
    3 frames
  4. com.android.tools.sdk-common
    LayoutLibrary.createSession
    1. com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:389)
    1 frame
  5. com.android.tools
    RenderTask$2.compute
    1. com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:548)
    2. com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:533)
    2 frames
  6. IDEA
    ApplicationImpl.runReadAction
    1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)
    1 frame
  7. com.android.tools
    RenderTask.lambda$inflate$53
    1. com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:533)
    2. com.android.tools.idea.rendering.RenderTask.lambda$inflate$53(RenderTask.java:659)
    2 frames