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 Stack Overflow by Jeet.Deir
, 1 year ago
Unable to start activity ComponentInfo{in.ddas.pretense/in.ddas.pretense.BagActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference
via Stack Overflow by aysha man
, 1 year ago
Unable to start activity ComponentInfo{com.example.aysha.todocln/com.example.aysha.todocln.CalendarActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference
via Stack Overflow by MsCrelix
, 1 year ago
Unable to start activity ComponentInfo{com.crelix.crelix/com.crelix.crelix.NavigationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference
via Stack Overflow by John
, 1 year ago
Unable to start activity ComponentInfo{com.example.downer.localys/com.example.downer.localys.ShowProducts}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference
via Stack Overflow by venkatesh
, 3 months ago
Unable to start activity ComponentInfo{com.example.venkateshbm.myapplication/com.example.venkateshbm.myapplication.ViewAllProducts}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference
via Stack Overflow by SomeRandomNameCuzWhyNot
, 2 years ago
Unable to start activity ComponentInfo{at.wurz.david.recyclerviewtemplate/at.wurz.david.recyclerviewtemplate.RecyclerViewActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference	at in.ddas.pretense.BagActivity.onCreate(BagActivity.java:28)	at android.app.Activity.performCreate(Activity.java:5933)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)