[G1 Android Development] kernelzilla:
Ive run into a reproducible bug: Open HTC Music, play a song for a moment, press pause, then home, open up MMS and soon you'll see a FC for the music app, it seems to be a nullpointer, possibly because its using old API calls. Heres a snippet from logcat:

/Service ( 1092): setForeground: ignoring old API call on com.htc.music.MediaPlaybackService

V/MediaPlaybackService( 1092): onStart

D/AndroidRuntime( 1092): Shutting down VM

W/dalvikvm( 1092): threadid=3: thread exiting with uncaught exception (group=0x4001e178)

E/AndroidRuntime( 1092): Uncaught handler: thread main exiting due to uncaught exception

E/AndroidRuntime( 1092): java.lang.RuntimeException: Unable to start service com.htc.music.MediaPlaybackService@43bfb5e8 with null: java.lang.NullPointerException

E/AndroidRuntime( 1092):	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2882)

E/AndroidRuntime( 1092):	at android.app.ActivityThread.access$3500(ActivityThread.java:119)

E/AndroidRuntime( 1092):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1926)

E/AndroidRuntime( 1092):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 1092):	at android.os.Looper.loop(Looper.java:123)

E/AndroidRuntime( 1092):	at android.app.ActivityThread.main(ActivityThread.java:4363)

E/AndroidRuntime( 1092):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 1092):	at java.lang.reflect.Method.invoke(Method.java:521)

E/AndroidRuntime( 1092):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)

E/AndroidRuntime( 1092):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

E/AndroidRuntime( 1092):	at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 1092): Caused by: java.lang.NullPointerException

E/AndroidRuntime( 1092):	at com.htc.music.MediaPlaybackService.onStart(MediaPlaybackService.java:1206)

E/AndroidRuntime( 1092):	at android.app.Service.onStartCommand(Service.java:306)

E/AndroidRuntime( 1092):	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2873)

E/AndroidRuntime( 1092):	... 10 more

I/Process ( 159): Sending signal. PID: 1092 SIG: 3

I/dalvikvm( 1092): threadid=7: reacting to signal 3

I/dalvikvm( 1092): Wrote stack trace to '/data/anr/traces.txt'

and the stack trace:

----- pid 1092 at 2010-05-21 12:18:14 -----

Cmd line: com.htc.music

DALVIK THREADS:

"main" prio=5 tid=3 NATIVE

| group="main" sCount=1 dsCount=0 s=N obj=0x4001e258 self=0xbcf0

| sysTid=1092 nice=0 sched=0/0 cgrp=default handle=-1343997136

at android.os.BinderProxy.transact(Native Method)

at android.app.ActivityManagerProxy.handleApplicationError(ActivityManagerNative.java:2376)

at com.android.internal.os.RuntimeInit.crash(RuntimeInit.java:339)

at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)

at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)

at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)

at dalvik.system.NativeStart.main(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE

| group="main" sCount=1 dsCount=0 s=N obj=0x43bb9780 self=0x123780

| sysTid=1097 nice=0 sched=0/0 cgrp=default handle=1176336

at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE

| group="main" sCount=1 dsCount=0 s=N obj=0x43bb9450 self=0x140568

| sysTid=1096 nice=0 sched=0/0 cgrp=default handle=1312040

at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT

| group="system" sCount=1 dsCount=0 s=N obj=0x43bb82a0 self=0x11e188

| sysTid=1095 nice=0 sched=0/0 cgrp=default handle=1230440

at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE

| group="system" sCount=0 dsCount=0 s=N obj=0x43bb81e8 self=0x11a418

| sysTid=1094 nice=0 sched=0/0 cgrp=default handle=1178048

at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT

| group="system" sCount=1 dsCount=0 s=N obj=0x42e5d238 self=0x11f8a8

| sysTid=1093 nice=0 sched=0/0 cgrp=default handle=1357296

at dalvik.system.NativeStart.run(Native Method)

----- end 1092 -----