java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by rivaldi8
, 1 year ago
Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null object reference
at org.gnucash.android.export.ExportParams.parseCsv(ExportParams.java:160)
at org.gnucash.android.ui.transaction.ScheduledActionsListFragment$ScheduledExportCursorAdapter.bindView(ScheduledActionsListFragment.java:563)
at org.gnucash.android.ui.transaction.ScheduledActionsListFragment$ScheduledExportCursorAdapter.getView(ScheduledActionsListFragment.java:501)
at android.widget.AbsListView.obtainView(AbsListView.java:2459)
at android.widget.ListView.makeAndAddView(ListView.java:1889)
at android.widget.ListView.fillDown(ListView.java:705)
at android.widget.ListView.fillFromTop(ListView.java:766)
at android.widget.ListView.layoutChildren(ListView.java:1676)
at android.widget.AbsListView.onLayout(AbsListView.java:2222)
at android.view.View.layout(View.java:15900)
at android.view.ViewGroup.layout(ViewGroup.java:5103)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1954)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1808)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1717)
at android.view.View.layout(View.java:15900)
at android.view.ViewGroup.layout(ViewGroup.java:5103)
at android.view.View.layout(View.java:15900)
at android.view.ViewGroup.layout(ViewGroup.java:5103)
at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:122)
at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1170)
at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:814)
at android.view.View.layout(View.java:15900)
at android.view.ViewGroup.layout(ViewGroup.java:5103)
at android.view.View.layout(View.java:15900)
at android.view.ViewGroup.layout(ViewGroup.java:5103)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:628)
at android.widget.FrameLayout.onLayout(FrameLayout.java:563)
at android.view.View.layout(View.java:15900)
at android.view.ViewGroup.layout(ViewGroup.java:5103)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:628)
at android.widget.FrameLayout.onLayout(FrameLayout.java:563)
at android.view.View.layout(View.java:15900)
at android.view.ViewGroup.layout(ViewGroup.java:5103)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:628)
at android.widget.FrameLayout.onLayout(FrameLayout.java:563)
at android.view.View.layout(View.java:15900)
at android.view.ViewGroup.layout(ViewGroup.java:5103)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1954)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1808)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1717)
at android.view.View.layout(View.java:15900)
at android.view.ViewGroup.layout(ViewGroup.java:5103)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:628)
at android.widget.FrameLayout.onLayout(FrameLayout.java:563)
at android.view.View.layout(View.java:15900)
at android.view.ViewGroup.layout(ViewGroup.java:5103)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2420)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2126)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1251)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6438)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:795)
at android.view.Choreographer.doCallbacks(Choreographer.java:598)
at android.view.Choreographer.doFrame(Choreographer.java:567)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.