Unable to start receiver ... xmppService.ServiceAutoStart

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Unable to start receiver ... xmppService.ServiceAutoStart

Postby mrocket » Mon Nov 26, 2007 1:58 am

Hey guys

I've been peacfully coding for about a week now with only a few problems, but right now out of goddamn nowhere the emulator started giving me that exception out of nowhere:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. An error has occurred in process com.google.process.content. Unable to
  2.  
  3. start receiver com.google.android.xmppService.ServiceAutoStart:
  4.  
  5. java.lang.NullPointerException.
Parsed in 0.031 seconds, using GeSHi 1.0.8.4

I changed only little in my code so I don't believe it is really my fault :?

Now I cannot even run the Browser and the Maps without getting an NullPointerException :cry:

Help pls..

mrocket
mrocket
Junior Developer
Junior Developer
 
Posts: 10
Joined: Thu Nov 15, 2007 7:28 pm

Top

Postby plusminus » Mon Nov 26, 2007 2:23 am

Hello mrocket,

Up to now there are only two possible solutions for this problem.
On both you should save your data (database / other files - BEFORE :!:)

1.) Start the emulator once with "-wipe-data" on Additional Cmd-Line-Options:
Image


or 2.) Delete the emulator-image (userdata.img) located at:
WinXP: "C:Documents and Settings<win_loginname>Local SettingsApplication DataAndroid"
WinVista: "C:Users<win_loginname>AppDataLocalAndroid"

Both should fix it!

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby mrocket » Mon Nov 26, 2007 2:49 am

Big thank +/-,

Had nothing to lose in the DB so i simply ran like the nice screenshot above and now i'm back at work =)

Will probably be back soon :roll:
mrocket
Junior Developer
Junior Developer
 
Posts: 10
Joined: Thu Nov 15, 2007 7:28 pm

Postby agent00 » Fri Feb 15, 2008 11:14 am

Hi all,

The first way doesn't work in my case so i tried to delete the file as explained in the second ay but i'm working on mac and i don't know where are these files.

Someone knows it ?

Tanks in advance,

Regards,
Agent00
agent00
Junior Developer
Junior Developer
 
Posts: 12
Joined: Fri Jan 18, 2008 4:23 pm

Postby plusminus » Fri Feb 15, 2008 11:37 am

Hello agent00,

no sorry never worked with a mac.
But perhaps simply search for "userdata.img" :?

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby agent00 » Fri Feb 15, 2008 11:43 am

I done it before posting and when I remove it the emulator don't start. Maybe another userdata.img file exist somewhere in my disk but I don't know where !
agent00
Junior Developer
Junior Developer
 
Posts: 12
Joined: Fri Jan 18, 2008 4:23 pm

Top

Postby plusminus » Fri Feb 15, 2008 11:49 am

agent00 wrote:I done it before posting and when I remove it the emulator don't start. Maybe another userdata.img file exist somewhere in my disk but I don't know where !


On Windows a new userdata.img appears on next emulator start :?

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby nk » Mon Mar 03, 2008 6:07 pm

Hi,

i have the same problem after updating to the latest sdk and eclipse plugin version.

When i want to start my application it says: "Applicaton Error: n3po.consumate. Unable to start activity Componentinfo{n3po.consumate/n3po.consumate.consumate}:java.lang.NullPointerException.

I already deleted the userdata.img but the errormessage stays the same.

Does anybody know how to solve this problem? I am stuck since hours....


Thanks a lot!

nk


My thesis about Java / J2ME & Bluetooth
nk
Junior Developer
Junior Developer
 
Posts: 21
Joined: Tue Jan 29, 2008 3:23 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: Google Feedfetcher and 5 guests