View Single Post
  #12 (permalink)  
Old August 18th, 2010, 02:27 PM
MellowFellow MellowFellow is offline
Authorized User
 
Join Date: Jul 2010
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Default Error code

Yes I started getting that Exception again.

I tried the fix you gave, but now I'm getting a different error:

08-18 13:49:18.660: WARN/dalvikvm(714): Exception Ljava/lang/RuntimeException; thrown during Landroid/os/AsyncTask;.<clinit>
08-18 13:49:18.660: WARN/dalvikvm(714): threadid=7: thread exiting with uncaught exception (group=0x4001d800)
08-18 13:49:18.710: ERROR/AndroidRuntime(714): FATAL EXCEPTION: earthquakeUpdates
08-18 13:49:18.710: ERROR/AndroidRuntime(714): java.lang.ExceptionInInitializerError
08-18 13:49:18.710: ERROR/AndroidRuntime(714): at com.paad.earthquake1.EarthquakeService.refreshEart hquakes(EarthquakeService.java:250)
08-18 13:49:18.710: ERROR/AndroidRuntime(714): at com.paad.earthquake1.EarthquakeService.access$0(Ea rthquakeService.java:247)
08-18 13:49:18.710: ERROR/AndroidRuntime(714): at com.paad.earthquake1.EarthquakeService$1.run(Earth quakeService.java:191)
08-18 13:49:18.710: ERROR/AndroidRuntime(714): at java.util.Timer$TimerImpl.run(Timer.java:289)
08-18 13:49:18.710: ERROR/AndroidRuntime(714): Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
08-18 13:49:18.710: ERROR/AndroidRuntime(714): at android.os.Handler.<init>(Handler.java:121)
Reply With Quote