Skip to content Skip to sidebar Skip to footer

Null Pointer Exception When Starting New Activity

Okay, I'm getting a null pointer exception when I start my third activity. Here is the LogCat message: 12-28 04:38:00.350: ERROR/AndroidRuntime(776): java.lang.RuntimeException: U

Solution 1:

This is your clue, from the stack trace:

12-2803:47:21.670: ERROR/AndroidRuntime(862): Caused by: java.lang.NullPointerException
12-2803:47:21.670: ERROR/AndroidRuntime(862): at com.acithium.rss.ShowDescription.onCreate(ShowDescription.java:47)

What's line 47 in ShowDescription.java?

Solution 2:

what is the 47 line in your ShowDescription code? I think you are passing a null cursor.

Post a Comment for "Null Pointer Exception When Starting New Activity"