[Kindle Fire Android Development] twa_priv:
Shoot, found an issue with my build using the latest CM7 sources. I'm getting a status bar FC (The application Status Bar (process com.android.systemui) has stopped unexpectedly) very frequently for some reason. This is possibly related to the new ICS animations.

My Android debugging skills are pretty much non-existent (yet) and I haven't looked at the code so far. Below the log excerpt showing the stacktrace for the error.

Any pointers are very welcome.

Thanks

E/WindowManager( 1431): Window Session Crash
E/WindowManager( 1431): java.lang.NullPointerException
E/WindowManager( 1431):	at android.view.Surface.init(Native Method)
E/WindowManager( 1431):	at android.view.Surface.<init>(Surface.java:207)
[COLOR="Red"]E/WindowManager( 1431):	at com.android.server.ScreenRotationAnimation.<init>(ScreenRotationAnimation.java:93)[/COLOR]
E/WindowManager( 1431):	at com.android.server.WindowManagerService.startFreezingDisplayLocked(WindowManagerService.java:10120)
E/WindowManager( 1431):	at com.android.server.WindowManagerService.startAppFreezingScreenLocked(WindowManagerService.java:3774)
E/WindowManager( 1431):	at com.android.server.WindowManagerService.startAppFreezingScreen(WindowManagerService.java:3806)
E/WindowManager( 1431):	at com.android.server.am.ActivityRecord.startFreezingScreenLocked(ActivityRecord.java:411)
E/WindowManager( 1431):	at com.android.server.am.ActivityStack.ensureActivityConfigurationLocked(ActivityStack.java:3474)
E/WindowManager( 1431):	at com.android.server.am.ActivityManagerService.updateConfigurationLocked(ActivityManagerService.java:11513)
E/WindowManager( 1431):	at com.android.server.am.ActivityManagerService.updateConfiguration(ActivityManagerService.java:11422)
E/WindowManager( 1431):	at com.android.server.WindowManagerService.sendNewConfiguration(WindowManagerService.java:5045)
E/WindowManager( 1431):	at com.android.server.WindowManagerService.addWindow(WindowManagerService.java:2035)
E/WindowManager( 1431):	at com.android.server.WindowManagerService$Session.add(WindowManagerService.java:5749)
E/WindowManager( 1431):	at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:68)
E/WindowManager( 1431):	at com.android.server.WindowManagerService$Session.onTransact(WindowManagerService.java:5721)
E/WindowManager( 1431):	at android.os.Binder.execTransact(Binder.java:320)
E/WindowManager( 1431):	at com.android.server.SystemServer.init1(Native Method)
E/WindowManager( 1431):	at com.android.server.SystemServer.main(SystemServer.java:736)
E/WindowManager( 1431):	at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager( 1431):	at java.lang.reflect.Method.invoke(Method.java:507)
E/WindowManager( 1431):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/WindowManager( 1431):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
E/WindowManager( 1431):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1503): FATAL EXCEPTION: main
E/AndroidRuntime( 1503): java.lang.RuntimeException: Unable to create service com.android.systemui.statusbar.StatusBarService: java.lang.NullPointerException
E/AndroidRuntime( 1503):	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2076)
E/AndroidRuntime( 1503):	at android.app.ActivityThread.access$2500(ActivityThread.java:123)
E/AndroidRuntime( 1503):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:993)
E/AndroidRuntime( 1503):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1503):	at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1503):	at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime( 1503):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1503):	at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1503):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/AndroidRuntime( 1503):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
E/AndroidRuntime( 1503):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1503): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1503):	at android.os.Parcel.readException(Parcel.java:1328)
E/AndroidRuntime( 1503):	at android.os.Parcel.readException(Parcel.java:1276)
E/AndroidRuntime( 1503):	at android.view.IWindowSession$Stub$Proxy.add(IWindowSession.java:403)
E/AndroidRuntime( 1503):	at android.view.ViewRoot.setView(ViewRoot.java:498)
E/AndroidRuntime( 1503):	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
E/AndroidRuntime( 1503):	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
E/AndroidRuntime( 1503):	at com.android.systemui.statusbar.StatusBarService.addStatusBarView(StatusBarService.java:555)
E/AndroidRuntime( 1503):	at com.android.systemui.statusbar.StatusBarService.onCreate(StatusBarService.java:341)
E/AndroidRuntime( 1503):	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2066)
E/AndroidRuntime( 1503):	... 10 more