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 isosceles
, 1 year ago
Unable to start activity ComponentInfo{com.example.apps.restclienttemplate/com.example.apps.twitterClient.TimelineActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.activeandroid.TableInfo.getTableName()' on a null object reference
via GitHub by simon1964
, 2 years ago
Unable to start activity ComponentInfo{net.osmand.plus/net.osmand.plus.download.DownloadActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference
via Stack Overflow by Steve C.
, 1 year ago
Unable to start activity ComponentInfo{com.curtrostudios.testapp/com.curtrostudios.testapp.ProductDetail}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim()' on a null object reference
via 28im.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.twitter.i_droidi.mynotes/com.twitter.i_droidi.mynotes.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.Cursor android.database.sqlite.SQLiteDatabase.query
via GitHub by galadril
, 1 year ago
Unable to start activity ComponentInfo{nl.hnogames.domoticz/nl.hnogames.domoticz.GraphActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference
via Stack Overflow by Dithesh Vishalakshan
, 10 months ago
Unable to start activity ComponentInfo{com.appeonix.dithesh.docevent/com.appeonix.docevent.Activity.Fragment.Readmore}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toString()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.activeandroid.TableInfo.getTableName()' on a null object reference	at com.activeandroid.Cache.getTableName(Cache.java:156)	at com.activeandroid.query.From.addFrom(From.java:169)	at com.activeandroid.query.From.toSql(From.java:250)	at com.activeandroid.query.From.execute(From.java:298)	at com.example.apps.twitterClient.models.Tweet.getAll(Tweet.java:99)	at com.example.apps.twitterClient.TimelineActivity.onCreate(TimelineActivity.java:71)	at android.app.Activity.performCreate(Activity.java:6289)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)