-3

My complete code and stack trace is attached in the below link for your kind reference.

http://pastebin.com/30vA30hM.

I get the following error:

java.lang.NullPointerException at com.texter.messenger.SmsReceiverService$ServiceHandler.handleMessage(SmsReceiverService.java:116)

  1. I also need help in Sending MMS thru my Android application. Any sample code will be of great help.

  2. How can i display all the feeds from my Facebook account in facebook application along with my android application.

Thanks.

musefan
  • 47,875
  • 21
  • 135
  • 185
  • 2
    Please extract the relevant parts of your code and paste them here, along with the stack trace, rather than dumping hundreds of lines of code on external site. – Aleks G Dec 01 '11 at 10:24
  • 1
    post your logcat clearly and mention error line, just past code where your getting error.. – RajaReddy PolamReddy Dec 01 '11 at 10:24
  • I think you've changed the source code since the exception. Line 116 *cannot* produce a `NullPointerException`. – Che Jami Dec 01 '11 at 10:26
  • Step 1) Find out what was null (debuggers are handy). 2) Find out why it was null (brains are handy). 3) Fix it (hands are handy). 4) Drink a cold/hot [insert name of favorite beverage]. Delicious... and this question is far too localized. –  Dec 01 '11 at 10:26
  • http://pastebin.com/gZjD2Pts.. Please look into the code. I have edited and sent you where the error occurs. please tell me how to clear the error. – RAGHAV RAJAGOPALAN Dec 01 '11 at 10:37

1 Answers1

0

Looking at your trace, this might be related to:

http://code.google.com/p/android/issues/detail?id=6191

http://daniel-codes.blogspot.com/2010/05/viewflipper-receiver-not-registered.html

Apparently this is a problem that occurs on Android 2.1 and 2.2 Maybe try to run it in 2.3 and see if it's still happening?

Also that question and its answers might be of some help:

Viewflipper Receiver not registered error while orientation change in 2.1 and 2.2

Community
  • 1
  • 1
Guillaume
  • 22,694
  • 14
  • 56
  • 70
  • pastebin.com/gZjD2Pts.. Please look into the code. I have edited and sent you where the error occurs. please tell me how to clear the error. – RAGHAV RAJAGOPALAN Dec 01 '11 at 11:12