[Android Apps and Games] faugusztin:
Hi,

i was having a issue with a Pure Messenger scrollable widget, Zeam was throwing this exception in DDMS log and the widget was displayed like you can see in the attached picture (missing text) :

12-21 01:33:44.733: WARN/System.err(4276): java.lang.NullPointerException
12-21 01:33:44.733: WARN/System.err(4276): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:390)
12-21 01:33:44.733: WARN/System.err(4276): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
12-21 01:33:44.733: WARN/System.err(4276): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:666)
12-21 01:33:44.733: WARN/System.err(4276): at mobi.intuitit.android.widget.ListViewImageManager.getImageFromId(ListViewImageManager.java:101)
12-21 01:33:44.733: WARN/System.err(4276): at mobi.intuitit.android.widget.WidgetListAdapter.bindView(WidgetListAdapter.java:320)
12-21 01:33:44.733: WARN/System.err(4276): at mobi.intuitit.android.widget.WidgetListAdapter.getView(WidgetListAdapter.java:428)
12-21 01:33:44.733: WARN/System.err(4276): at android.widget.AbsListView.obtainView(AbsListView.java:1357)
12-21 01:33:44.733: WARN/System.err(4276): at android.widget.ListView.makeAndAddView(ListView.java:1733)
12-21 01:33:44.733: WARN/System.err(4276): at android.widget.ListView.fillSpecific(ListView.java:1274)
12-21 01:33:44.733: WARN/System.err(4276): at android.widget.ListView.layoutChildren(ListView.java:1576)
12-21 01:33:44.733: WARN/System.err(4276): at android.widget.AbsListView.onLayout(AbsListView.java:1165)
12-21 01:33:44.733: WARN/System.err(4276): at android.view.View.layout(View.java:7056)
12-21 01:33:44.733: WARN/System.err(4276): at android.widget.RelativeLayout.onLayout(RelativeLayout.java:909)
12-21 01:33:44.733: WARN/System.err(4276): at android.view.View.layout(View.java:7056)
12-21 01:33:44.743: WARN/System.err(4276): at android.widget.RelativeLayout.onLayout(RelativeLayout.java:909)
12-21 01:33:44.743: WARN/System.err(4276): at android.view.View.layout(View.java:7056)
12-21 01:33:44.743: WARN/System.err(4276): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
12-21 01:33:44.743: WARN/System.err(4276): at android.view.View.layout(View.java:7056)
12-21 01:33:44.743: WARN/System.err(4276): at org.zeam.CellLayout.onLayout(CellLayout.java:605)
12-21 01:33:44.743: WARN/System.err(4276): at android.view.View.layout(View.java:7056)
12-21 01:33:44.743: WARN/System.err(4276): at org.zeam.Workspace.onLayout(Workspace.java:592)
12-21 01:33:44.743: WARN/System.err(4276): at android.view.View.layout(View.java:7056)
12-21 01:33:44.743: WARN/System.err(4276): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
12-21 01:33:44.743: WARN/System.err(4276): at android.view.View.layout(View.java:7056)
12-21 01:33:44.743: WARN/System.err(4276): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
12-21 01:33:44.743: WARN/System.err(4276): at android.view.View.layout(View.java:7056)
12-21 01:33:44.743: WARN/System.err(4276): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
12-21 01:33:44.743: WARN/System.err(4276): at android.view.View.layout(View.java:7056)
12-21 01:33:44.743: WARN/System.err(4276): at android.view.ViewRoot.performTraversals(ViewRoot.java:1049)
12-21 01:33:44.743: WARN/System.err(4276): at android.view.ViewRoot.handleMessage(ViewRoot.java:1744)
12-21 01:33:44.743: WARN/System.err(4276): at android.os.Handler.dispatchMessage(Handler.java:99)
12-21 01:33:44.743: WARN/System.err(4276): at android.os.Looper.loop(Looper.java:143)
12-21 01:33:44.743: WARN/System.err(4276): at android.app.ActivityThread.main(ActivityThread.java:5068)
12-21 01:33:44.743: WARN/System.err(4276): at java.lang.reflect.Method.invokeNative(Native Method)
12-21 01:33:44.743: WARN/System.err(4276): at java.lang.reflect.Method.invoke(Method.java:521)
12-21 01:33:44.743: WARN/System.err(4276): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
12-21 01:33:44.743: WARN/System.err(4276): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
12-21 01:33:44.743: WARN/System.err(4276): at dalvik.system.NativeStart.main(Native Method)

Next i tried LauncherPro, nearly identical exception. Then i asked the developer of the widget and his answer was :

Which is in fact true, the widget running on ADW doesn't exhibit the problems i had (missing text in widget), but it's not Zeam, so could you look into this and upgrade your scrollable widget support code ?

Thanks