java.lang.NullPointerException: Attempt to get length of null array

GitHub | moovida | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    error from ACRA - dashed lines

    GitHub | 8 months ago | moovida
    java.lang.NullPointerException: Attempt to get length of null array

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to get length of null array

      at eu.geopaparazzi.library.style.Style.dashToString()
    2. eu.geopaparazzi.library
      Style.dashToString
      1. eu.geopaparazzi.library.style.Style.dashToString(Style.java:200)
      1 frame
    3. eu.geopaparazzi.spatialite
      SpatialiteDatabasesTreeListActivity.onDashChanged
      1. eu.geopaparazzi.spatialite.database.spatial.activities.databasesview.SpatialiteDatabasesExpandableListAdapter.onDashChanged(SpatialiteDatabasesExpandableListAdapter.java:440)
      2. eu.geopaparazzi.spatialite.database.spatial.activities.databasesview.SpatialiteDatabasesTreeListActivity.onDashChanged(SpatialiteDatabasesTreeListActivity.java:438)
      2 frames
    4. eu.geopaparazzi.library
      StrokeDashDialogFragment$1.onClick
      1. eu.geopaparazzi.library.core.dialogs.StrokeDashDialogFragment$1.onClick(StrokeDashDialogFragment.java:149)
      1 frame
    5. Android
      AlertController$ButtonHandler.handleMessage
      1. com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:161)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:135)
      3. android.app.ActivityThread.main(ActivityThread.java:5538)
      3 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames