gorio / android-os-monitor

Automatically exported from code.google.com/p/android-os-monitor
0 stars 0 forks source link

OS Monitor crashes when pressing 'Misc' #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start OS Monitor, have seen it when installed on device but also when moved 
to SD card, list of running processes appears, ok
2. Press Misc, then a window appears, in german, but telling me:
3. The applic. OSMonitor (process com.eolwral.osmonitor) has been stopped, try 
again.

What is the expected output? What do you see instead?
Expecting the displays that Misc shall provide.

What version of the product are you using? On what operating system?
Device is HTC Sensation, Android 2.3, not rooted. 

Please provide any additional information below.

Thanks for support !!!

Original issue reported on code.google.com by BMey4...@googlemail.com on 2 Aug 2011 at 9:15

GoogleCodeExporter commented 8 years ago
It should be fixed on OS Monitor version 2.0.0

Original comment by eolw...@gmail.com on 19 Aug 2011 at 8:33

GoogleCodeExporter commented 8 years ago

Original comment by eolw...@gmail.com on 19 Aug 2011 at 11:11

GoogleCodeExporter commented 8 years ago
Problem is not(!) solved with version 2.0.1: After updating the App, I noticed 
that the problem with crashing for selection of 'Misc' is still there! Same 
error message. Could it be that the issue has to do with the specific processor 
that the HTC Sensation has?

Original comment by BMey4...@googlemail.com on 22 Aug 2011 at 8:37

GoogleCodeExporter commented 8 years ago
I agree with your guess, I also think it is due to the specific processor, but 
I didn't find an HTC Sensation to try this error, if you could rise this error 
and use "Report",  "Android Application Error Reports" will show me detail 
information, I think it will helpful to solve it, otherwise, I only guess this 
error and try to fix it. :<

Original comment by eolw...@gmail.com on 22 Aug 2011 at 1:07

GoogleCodeExporter commented 8 years ago
Thanks! I get the report from Android Application Error Report. now I can fix 
it now.

The detail information like below.

java.lang.RuntimeException: Unable to resume activity 
{com.eolwral.osmonitor/com.eolwral.osmonitor.misc.MiscBox}: 
java.lang.NullPointerException
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2485)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:138)
at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:656)
at android.widget.TabHost.setCurrentTab(TabHost.java:326)
at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:132)
at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:458)
at android.view.View.performClick(View.java:2532)
at android.view.View$PerformClick.run(View.java:9308)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:4293)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at android.hardware.SensorManager.registerListener(SensorManager.java:1107)
at android.hardware.SensorManager.registerListener(SensorManager.java:1031)
at com.eolwral.osmonitor.misc.MiscBox.onResume(MiscBox.java:595)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1242)
at android.app.Activity.performResume(Activity.java:4004)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2475)
... 17 more

Original comment by eolw...@gmail.com on 23 Aug 2011 at 3:54

GoogleCodeExporter commented 8 years ago
HTC Sensation Android 2.3 - same as above error I suspect:

08-26 15:22:57.292 D/UPolicy (  255): settings_user_profiling value: false
08-26 15:22:57.292 D/UserBehaviorLoggingService(  255): [EventLogStore::addLog] 
The policy is disabled. AppId: system_server, category: activity_launch_history
08-26 15:22:57.292 V/Performance(21883): 
>>com.eolwral.osmonitor.misc.MiscBox@4059d300 onCreate
08-26 15:22:57.322 V/Performance(21883): 
<<com.eolwral.osmonitor.misc.MiscBox@4059d300 onCreate, 28ms
08-26 15:22:57.322 V/Performance(21883): 
>>com.eolwral.osmonitor.misc.MiscBox@4059d300 onStart
08-26 15:22:57.322 V/Performance(21883): 
<<com.eolwral.osmonitor.misc.MiscBox@4059d300 onStart, 0ms
08-26 15:22:57.322 V/Performance(21883): 
>>com.eolwral.osmonitor.misc.MiscBox@4059d300 onPostCreate
08-26 15:22:57.322 V/Performance(21883): 
<<com.eolwral.osmonitor.misc.MiscBox@4059d300 onPostCreate, 0ms
08-26 15:22:57.322 V/Performance(21883): 
>>com.eolwral.osmonitor.misc.MiscBox@4059d300 onResume
08-26 15:22:57.332 D/AndroidRuntime(21883): Shutting down VM
08-26 15:22:57.332 W/dalvikvm(21883): threadid=1: thread exiting with uncaught 
exception (group=0x4001d648)
08-26 15:22:57.342 E/AndroidRuntime(21883): FATAL EXCEPTION: main
08-26 15:22:57.342 E/AndroidRuntime(21883): java.lang.RuntimeException: Unable 
to resume activity {com.eolwral.osmonitor/com.eolwral.osmonitor.misc.MiscBox}: 
java.lang.NullPointerException
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:2485)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:138)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:656)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.widget.TabHost.setCurrentTab(TabHost.java:326)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:132)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:458)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.view.View.performClick(View.java:2532)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.view.View$PerformClick.run(View.java:9308)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.os.Handler.handleCallback(Handler.java:587)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.os.Handler.dispatchMessage(Handler.java:92)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.os.Looper.loop(Looper.java:143)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.app.ActivityThread.main(ActivityThread.java:4293)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
java.lang.reflect.Method.invokeNative(Native Method)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
java.lang.reflect.Method.invoke(Method.java:507)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
dalvik.system.NativeStart.main(Native Method)
08-26 15:22:57.342 E/AndroidRuntime(21883): Caused by: 
java.lang.NullPointerException
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.hardware.SensorManager.registerListener(SensorManager.java:1107)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.hardware.SensorManager.registerListener(SensorManager.java:1031)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
com.eolwral.osmonitor.misc.MiscBox.onResume(MiscBox.java:595)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1242)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.app.Activity.performResume(Activity.java:4004)
08-26 15:22:57.342 E/AndroidRuntime(21883): at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:2475)
08-26 15:22:57.342 E/AndroidRuntime(21883): ... 17 more
08-26 15:22:57.352 V/BatteryStatsImpl(  255): hold partial wakelock, 
name=ActivityManager-Launch, pid=255
08-26 15:22:57.352 W/ActivityManager(  255):   Force finishing activity 
com.eolwral.osmonitor/.OSMonitor
08-26 15:22:57.392 D/InputDispatcher(  255): Focus left window: 40577c60 
com.eolwral.osmonitor/com.eolwral.osmonitor.OSMonitor (server)
08-26 15:22:57.392 D/InputDispatcher(  255): Focus entered window: 40592db0 
Sorry! (server)
08-26 15:22:57.852 W/ActivityManager(  255): Activity pause timeout for 
HistoryRecord{40845660 com.eolwral.osmonitor/.OSMonitor}

Original comment by andysweb...@gmail.com on 26 Aug 2011 at 2:33

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by eolw...@gmail.com on 28 Aug 2011 at 2:46