2011-12-09 12 views
8

निम्न त्रुटि के साथ मेरा appwidget दुर्घटनाओं:java.lang.RuntimeException: सिस्टम सर्वर मृत?

E/AndroidRuntime(5572): FATAL EXCEPTION: main 
E/AndroidRuntime(5572): java.lang.RuntimeException: Unable to start receiver com.android.mlweatherwidget.WeatherWidgetLarge: java.lang.RuntimeException: system server dead? 
E/AndroidRuntime(5572): at android.app.ActivityThread.handleReceiver(ActivityThread.java:1805) 
E/AndroidRuntime(5572): at android.app.ActivityThread.access$2400(ActivityThread.java:117) 
E/AndroidRuntime(5572): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:981) 
E/AndroidRuntime(5572): at android.os.Handler.dispatchMessage(Handler.java:99) 
E/AndroidRuntime(5572): at android.os.Looper.loop(Looper.java:130) 
E/AndroidRuntime(5572): at android.app.ActivityThread.main(ActivityThread.java:3683) 
E/AndroidRuntime(5572): at java.lang.reflect.Method.invokeNative(Native Method) 
E/AndroidRuntime(5572): at java.lang.reflect.Method.invoke(Method.java:507) 
E/AndroidRuntime(5572): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 
E/AndroidRuntime(5572): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 
E/AndroidRuntime(5572): at dalvik.system.NativeStart.main(Native Method) 
E/AndroidRuntime(5572): Caused by: java.lang.RuntimeException: system server dead? 
E/AndroidRuntime(5572): at com.android.mlhome.appwidget.AppWidgetManager.getAppWidgetIds(AppWidgetManager.java:375) 
E/AndroidRuntime(5572): at com.android.mlweatherwidget.WeatherWidgetLarge.onReceive(WeatherWidgetLarge.java:202) 
E/AndroidRuntime(5572): at android.app.ActivityThread.handleReceiver(ActivityThread.java:1794) 
E/AndroidRuntime(5572): ... 10 more 
E/AndroidRuntime(5572): Caused by: android.os.DeadObjectException 
E/AndroidRuntime(5572): at android.os.BinderProxy.transact(Native Method) 
E/AndroidRuntime(5572): at com.android.mlhome.appwidget.ILauncherAppWidget$Stub$Proxy.getAppWidgetIds(ILauncherAppWidget.java:256) 
E/AndroidRuntime(5572): at com.android.mlhome.appwidget.AppWidgetManager.getAppWidgetIds(AppWidgetManager.java:369) 
E/AndroidRuntime(5572): ... 12 more 

किसी को भी ऊपर लॉग वास्तव में क्या इस त्रुटि उत्पन्न कर रहा है से समझ सकते हैं?

+0

रिसीवर आप सिस्टम सर्वर प्रारंभ करने में असमर्थ इस प्रकार जवाब दिमितार दिमित्रोव द्वारा लिखित copyed मृत – Pratik

+2

मेरा इरादा जानना चाहता है कि प्रणाली सर्वर मर जाता है था? किस परिस्थितियों में? – GamDroid

+0

क्या आपको पता चला? – auval

उत्तर

0

How to fix android.os.DeadObjectException android X इस लड़के को एक ही समस्या से मुलाकात हुई, इस लिंक को देखें।

मैं के रूप में

This means that your service had already stopped - either killed from the OS, or stopped from your application.

Does this problem happen every time you debug your project?

Override your service's onDestroy() method and watch what event flow leads to it. If you catch DeadObjectException without going through this method, your service should have been killed by the OS.

संबंधित मुद्दे