Ok, I'm getting a couple things that look funny.  The first is:

11-24 10:28:11.748: INFO/ActivityManager(74): Starting activity:
Intent { cmp=com.mallet.tool/.Sheet (has extras) }
11-24 10:28:14.148: INFO/System.out(3912): resolveUri failed on bad
bitmap uri: 0
11-24 10:28:14.648: INFO/System.out(3912): resolveUri failed on bad
bitmap uri: 0

when the app crashes however its due to:

11-24 10:28:52.638: ERROR/AndroidRuntime(4015): Uncaught handler:
thread main exiting due to uncaught exception

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):
java.lang.RuntimeException: Unable to start activity ComponentInfo
{com.mallet.tool/com.mallet.tool.Sheet}:java.lang.NullPointerException

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2401)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2417)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
android.app.ActivityThread.access$2100(ActivityThread.java:116)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
android.os.Handler.dispatchMessage(Handler.java:99)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
android.os.Looper.loop(Looper.java:123)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
android.app.ActivityThread.main(ActivityThread.java:4203)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
java.lang.reflect.Method.invokeNative(Native Method)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
java.lang.reflect.Method.invoke(Method.java:521)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:791)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
dalvik.system.NativeStart.main(Native Method)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015): Caused by:
java.lang.NullPointerException

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
com.mallet.tool.Sheet.showStats(Sheet.java:280)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
com.mallet.tool.Sheet.onCreate(Sheet.java:127)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1123)

11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2364)
11-24 10:28:52.758: ERROR/AndroidRuntime(4015):     ... 11 more


On Nov 23, 8:46 pm, Mark Murphy <[email protected]> wrote:
> JasonMP wrote:
> > Well the console view in eclipse spits this out when I start the
> > emulator:
>
> > ActivityManager: DDM dispatch reg wait timeout
> > ActivityManager: Can't dispatch DDM chunk 52454151: no handler defined
>
> That is not DDMS. That is the console, roughly equivalent to the
> command-line output you might see running commands from a Linux/OS X
> terminal or a Windows command prompt.
>
> Use adb logcat, the standalone DDMS program, or the DDMS perspective in
> Eclipse to view the Java stack trace.
>
> > but other than that it runs fine.  The errors start occurring on my
> > actual phone when I test it there.  I knew about using the logcat to
> > view errors in the emulator, is there a way to do that when I'm
> > testing on the phone?  Its an HTC G1 btw.
>
> Use the mini USB cable to connect the G1 to the PC. Then, use adb
> logcat, DDMS, or the DDMS perspective in Eclipse to view the logcat
> data, which contains the Java stack traces. You will need to tell those
> tools to examine your G1 rather than any running emulator(s) (e.g., in
> DDMS, choose your device from the list of devices in the upper left
> tree-table).
>
> http://developer.android.com/guide/developing/tools/ddms.htmlhttp://developer.android.com/guide/developing/tools/adb.html#logcat
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to