java.lang.NullPointerException: Attempt to write to field 'int android.view.ViewGroup$LayoutParams.height' on a null object reference

Stack Overflow | Sem Ideia | 2 months ago
  1. 0

    I can't inflate a view in a custom infowindow in Mapbox. (Setting getinfowindow with images)

    Stack Overflow | 2 months ago | Sem Ideia
    java.lang.NullPointerException: Attempt to write to field 'int android.view.ViewGroup$LayoutParams.height' on a null object reference
  2. 0

    Application is crash while set the height of button in Android

    Stack Overflow | 8 months ago | jandroid
    java.lang.NullPointerException: Attempt to write to field 'int android.view.ViewGroup$LayoutParams.height' on a null object reference
  3. 0

    Android Question - AHSwipeToRefresh and CustomListView Issue | B4X Community - Android, iOS, desktop programming tools

    b4x.com | 1 year ago
    java.lang.NullPointerException: Attempt to read from field 'int android.view.ViewGroup$LayoutParams.height' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error using Lollipop

    GitHub | 2 years ago | carmelo-ruota
    java.lang.NullPointerException: Attempt to read from field 'int android.view.ViewGroup$LayoutParams.height' on a null object reference
  6. 0

    (android) Nullpointer exception while setting a spinner

    Stack Overflow | 10 months ago | Piter Carranza
    java.lang.NullPointerException: Attempt to read from field 'int android.view.ViewGroup$LayoutParams.height' on a null object reference

    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 write to field 'int android.view.ViewGroup$LayoutParams.height' on a null object reference

      at afinal.projeto.unb.guiadoaluno.Mapa$1$1.getInfoWindow()
    2. afinal.projeto.unb
      Mapa$1$1.getInfoWindow
      1. afinal.projeto.unb.guiadoaluno.Mapa$1$1.getInfoWindow(Mapa.java:87)
      1 frame
    3. com.mapbox.mapboxsdk
      MapView$GestureListener.onSingleTapConfirmed
      1. com.mapbox.mapboxsdk.annotations.Marker.showInfoWindow(Marker.java:165)
      2. com.mapbox.mapboxsdk.maps.MapboxMap.selectMarker(MapboxMap.java:1295)
      3. com.mapbox.mapboxsdk.maps.MapView$GestureListener.onSingleTapConfirmed(MapView.java:1792)
      3 frames
    4. Android Platform
      ActivityThread.main
      1. android.view.GestureDetector$GestureHandler.handleMessage(GestureDetector.java:280)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:145)
      4. android.app.ActivityThread.main(ActivityThread.java:5940)
      4 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1389)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1184)
      2 frames