edisondeng / markers-for-android

Automatically exported from code.google.com/p/markers-for-android
Apache License 2.0
0 stars 0 forks source link

Clear screen crashes app #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
* What steps will reproduce the problem?
1. Open on a certain type of machine (Samsung Galaxy Tab 10.1 running Android 
3.2 - it runs fine on my Samsung Epic 4G running Android 2.3.6)
2. Draw a little and then press erase button.  Wait for crash.
3. If it does not crash, repeat step 2 until it inevitably does crash.

* What is the expected output? What do you see instead?
I expected the screen to clear

* What version of the product are you using? On what operating system?
Version 1.0 downloaded from Google Play it crashed.  I also compiled it from 
the source and it crashed.

It crashes on my Samsung Galaxy Tab 10.1 running Android 3.2  (It runs just 
fine on my Samsung Epic 4G running Android 2.3.6).  Reading the comments on 
Google Play, it seems to be crashing on at least two other peoples Galaxy Tab 
10.1's.  I also see crash reports from other Android devices posted to the 
public Google Play page.

Please provide any additional information below.

I sent a crash report via the mechanism on my device.  Logcat says:

I/InputDispatcher(  294): Delivering touch to current input target: action: 1, 
channel 'TouchIntercepter (server)'^M
D/AndroidRuntime(10311): Shutting down VM^M
W/dalvikvm(10311): threadid=1: thread exiting with uncaught exception 
(group=0x401f4760)^M
--------- beginning of /dev/log/system^M
E/AndroidRuntime(10311): FATAL EXCEPTION: main^M
E/AndroidRuntime(10311): java.lang.NullPointerException^M
E/AndroidRuntime(10311):        at 
android.view.GLES20Canvas.drawBitmap(GLES20Canvas.java:626)^M
E/AndroidRuntime(10311):        at 
android.view.GLES20RecordingCanvas.drawBitmap(GLES20RecordingCanvas.java:90)^M
E/AndroidRuntime(10311):        at 
com.google.android.apps.markers.ToolButton$PenTypeButton.onDraw(ToolButton.java:
176)^M
E/AndroidRuntime(10311):        at android.view.View.draw(View.java:9299)^M
E/AndroidRuntime(10311):        at 
android.view.View.getDisplayList(View.java:8762)^M
E/AndroidRuntime(10311):        at 
android.view.ViewGroup.drawChild(ViewGroup.java:2556)^M
E/AndroidRuntime(10311):        at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2189)^M
E/AndroidRuntime(10311):        at 
android.view.View.getDisplayList(View.java:8760)^M
E/AndroidRuntime(10311):        at 
android.view.ViewGroup.drawChild(ViewGroup.java:2556)^M
E/AndroidRuntime(10311):        at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2189)^M
E/AndroidRuntime(10311):        at android.view.View.draw(View.java:9302)^M
E/AndroidRuntime(10311):        at 
android.view.View.getDisplayList(View.java:8762)^M
E/AndroidRuntime(10311):        at 
android.view.ViewGroup.drawChild(ViewGroup.java:2556)^M
E/AndroidRuntime(10311):        at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2189)^M
E/AndroidRuntime(10311):        at android.view.View.draw(View.java:9302)^M
E/AndroidRuntime(10311):        at 
android.view.View.getDisplayList(View.java:8762)^M
E/AndroidRuntime(10311):        at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2298)^M
E/AndroidRuntime(10311):        at 
android.view.View.getDisplayList(View.java:8726)^M
E/AndroidRuntime(10311):        at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2298)^M
E/AndroidRuntime(10311):        at 
android.view.View.getDisplayList(View.java:8726)^M
E/AndroidRuntime(10311):        at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2298)^M
E/AndroidRuntime(10311):        at 
android.view.View.getDisplayList(View.java:8726)^M
E/AndroidRuntime(10311):        at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2298)^M
E/AndroidRuntime(10311):        at 
android.view.View.getDisplayList(View.java:8726)^M
E/AndroidRuntime(10311):        at 
android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:625)^M
E/AndroidRuntime(10311):        at 
android.view.ViewRoot.draw(ViewRoot.java:1602)^M
E/AndroidRuntime(10311):        at 
android.view.ViewRoot.performTraversals(ViewRoot.java:1418)^M
E/AndroidRuntime(10311):        at 
android.view.ViewRoot.handleMessage(ViewRoot.java:2063)^M
E/AndroidRuntime(10311):        at 
android.os.Handler.dispatchMessage(Handler.java:99)^M
E/AndroidRuntime(10311):        at android.os.Looper.loop(Looper.java:132)^M
E/AndroidRuntime(10311):        at 
android.app.ActivityThread.main(ActivityThread.java:4126)^M
E/AndroidRuntime(10311):        at java.lang.reflect.Method.invokeNative(Native 
Method)^M
E/AndroidRuntime(10311):        at 
java.lang.reflect.Method.invoke(Method.java:491)^M
E/AndroidRuntime(10311):        at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)^
M
E/AndroidRuntime(10311):        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)^M
E/AndroidRuntime(10311):        at dalvik.system.NativeStart.main(Native 
Method)^M
W/ActivityManager(  294):   Force finishing activity 
org.dsandler.apps.markers/com.google.android.apps.markers.MarkersActivity^M
E/android.os.Debug(  294): Dumpstate > /data/log/dumpstate_app_error^M
I/dumpstate(10324): begin^M
I/Process (  294): Sending signal. PID: 10311 SIG: 3^M
I/dalvikvm(10311): threadid=4: reacting to signal 3^M

Original issue reported on code.google.com by dennissh...@gmail.com on 26 Jun 2012 at 3:57

GoogleCodeExporter commented 8 years ago
Reading the Google Play comments had me test some more and I now see that more 
than just the clear button will crash the Samsung Tab 10.1.  Trying to bring up 
the About button crashes it as well.  On the same line within the program, line 
176 in ToolButton, a call to the drawBitmap method of canvas.

Original comment by dennissh...@gmail.com on 26 Jun 2012 at 4:08

GoogleCodeExporter commented 8 years ago
This should be fixed in version 1.0.1 (now on the Play store); please let me 
know if that version doesn't work on your Tab.

Original comment by dan.sandler on 3 Jul 2012 at 12:39