java.lang.NullPointerException: This exception has no message.

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 Lineflyer
, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at butterknife.ButterKnife.findById(ButterKnife.java:380)
at cgeo.geocaching.CacheDetailActivity$DetailsViewCreator.toggleAttributesView(CacheDetailActivity.java:1036)
at cgeo.geocaching.CacheDetailActivity$DetailsViewCreator$2.onItemClick(CacheDetailActivity.java:1030)
at android.widget.AdapterView.performItemClick(AdapterView.java:308)
at android.widget.AbsListView.performItemClick(AbsListView.java:1476)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3497)
at android.widget.AbsListView$3.run(AbsListView.java:4814)
at android.widget.AbsListView.onDetachedFromWindow(AbsListView.java:3316)
at android.view.View.dispatchDetachedFromWindow(View.java:13462)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2791)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2789)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2789)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2789)
at android.view.ViewGroup.removeViewInternal(ViewGroup.java:4056)
at android.view.ViewGroup.removeViewInternal(ViewGroup.java:4029)
at android.view.ViewGroup.removeView(ViewGroup.java:3961)
at cgeo.geocaching.activity.AbstractViewPagerActivity$ViewPagerAdapter.destroyItem(AbstractViewPagerActivity.java:130)
at android.support.v4.view.ViewPager.dataSetChanged(ViewPager.java:874)
at cgeo.geocaching.activity.AbstractViewPagerActivity.reinitializeViewPager(AbstractViewPagerActivity.java:289)
at cgeo.geocaching.CacheDetailActivity.notifyDataSetChanged(CacheDetailActivity.java:744)
at cgeo.geocaching.CacheDetailActivity.onLoadFinished(CacheDetailActivity.java:215)
at cgeo.geocaching.CacheDetailActivity.onLoadFinished(CacheDetailActivity.java:153)
at android.support.v4.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:427)
at android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:395)
at android.support.v4.content.Loader.deliverResult(Loader.java:104)
at android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:223)
at android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:61)
at android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:461)
at android.support.v4.content.ModernAsyncTask.access$500(ModernAsyncTask.java:47)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5335)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)

Users with the same issue

Once, 1 year ago

Write tip

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