• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help problems with 2.1 "genie" weather widget 1.5 port

gastr

Newbie
Oct 15, 2009
34
1
London
if you weren't aware, the "news and weather" widget from 2.1 has been ported to 1.5:
http://androidforums.com/htc-droid-eris/43812-nexus-one-genie-widget.html

anyone tried this? i installed it on my galaxy and have a problem: widget works fine (both the weather and the news/weather combo one), but when i tap it to go to the news/weather app i can only view the news pages, the weather page force-closes. if i was at home i could get the error message via logcat but i can't do that right now (will update with that later).

anyone else have this problem, know why it occurs or how to solve it?
 
Interesting that you don't get a crash when you have location off, ryko- it still crashes for me.

I have the logcat results now. Looks to me like it's running out of memory. You see it get a cache miss, then go to look up the weather data, and a process or two is killed to save memory (calendar in this case, other apps at other times when I run this), and then it proceeds to get a StackOverflow.

ryko, perhaps you have loads of memory free?

The logcat dump:
D/Genie ( 4503): Making MASF Request to http://www.google.com/m/appreq - g:gne/r: GenieRequest [no location]fakeLocation: London type: [15, 16] with maxAge: 21600000 at 08:31, February 17
D/Genie ( 4503): Network status: CONNECTED
D/Genie ( 4503): Cached entry too old
D/Genie ( 4503): MASF cache miss
I/ActivityManager( 1060): Process com.android.calendar (pid 2885) has died.
I/WindowManager( 1060): WIN DEATH: Window{436090d8 com.android.calendar/com.android.calendar.MonthActivity paused=false}
D/Genie ( 4503): ctrl.requestData has finished.
D/Genie ( 4503): RefreshService: Waiting for requestlatch to clear...
D/InetAddress( 4503): Google 216.239.59.105 (family 2, proto 6)
D/InetAddress( 4503): Google 216.239.59.106 (family 2, proto 6)
D/InetAddress( 4503): Google 216.239.59.147 (family 2, proto 6)
D/InetAddress( 4503): Google 216.239.59.99 (family 2, proto 6)
D/InetAddress( 4503): Google 216.239.59.103 (family 2, proto 6)
D/InetAddress( 4503): Google 216.239.59.104 (family 2, proto 6)
W/System.err( 4503): java.lang.NullPointerException
W/System.err( 4503): at com.google.masf.MobileServiceMux.handleResponse(Unknown Source)
W/System.err( 4503): at com.google.masf.MobileServiceMux.handleResponses(Unknown Source)
W/System.err( 4503): at com.google.masf.MobileServiceMux.access$200(Unknown Source)
W/System.err( 4503): at com.google.masf.MobileServiceMux$3.run(Unknown Source)
W/System.err( 4503): at com.google.common.task.AbstractTask.run(Unknown Source)
W/System.err( 4503): at com.google.common.task.AbstractTask.runInternal(Unknown Source)
W/System.err( 4503): at com.google.common.task.TaskRunner.run(Unknown Source)
W/System.err( 4503): at com.google.common.lang.ThreadFactory$ThreadImpl.run(Unknown Source)
D/dalvikvm( 4503): GC freed 12834 objects / 459640 bytes in 223ms
D/dalvikvm( 1106): GC freed 6693 objects / 540648 bytes in 311ms
I/Genie ( 4503): Next data refresh scheduled for: 14:31, February 17 (basetime was 08:31, February 17)
D/Genie ( 4503): Got response: GeniePayload: isCached: false payload: 41 and updated model: READY: showing news 0 of 40 weather=Clear at, 08:31, February 17 with timestamp: 08:31, February 17 next auto-refresh time = 1266417096411
D/Genie ( 4503): Refresh Complete, notifying success.
D/Genie ( 4503): Building resource from cache: h
D/dalvikvm( 4503): GC freed 8186 objects / 419416 bytes in 117ms
D/Genie ( 4503): Refreshing widget.
D/Genie ( 4503): RefreshService: Done, fetching news and weather icons.
D/Genie ( 4503): NewsImageCache: Cache: 46 items in index, and 47 files on disk.
D/Genie ( 4503): Building resource from cache: w
D/dalvikvm( 4503): GC freed 5678 objects / 443232 bytes in 116ms
D/dalvikvm( 4503): GC freed 2089 objects / 157328 bytes in 250ms
I/dalvikvm( 4503): Stack overflow, expanding (0x41048200 to 0x41048000)
I/dalvikvm( 4503): Shrank stack (to 0x41048200, curFrame is 0x41049cd8)
D/AndroidRuntime( 4503): Shutting down VM
W/dalvikvm( 4503): threadid=3: thread exiting with uncaught exception (group=0x4000fe70)
E/AndroidRuntime( 4503): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 4503): java.lang.StackOverflowError
E/AndroidRuntime( 4503): at com.android.internal.util.ArrayUtils.emptyArray(ArrayUtils.java:107)
E/AndroidRuntime( 4503): at android.text.SpannableStringInternal.getSpans(SpannableStringInternal.java:269)
E/AndroidRuntime( 4503): at android.text.SpannedString.getSpans(SpannedString.java:25)
E/AndroidRuntime( 4503): at android.text.Styled.each(Styled.java:43)
E/AndroidRuntime( 4503): at android.text.Styled.foreach(Styled.java:249)
E/AndroidRuntime( 4503): at android.text.Styled.drawText(Styled.java:302)
E/AndroidRuntime( 4503): at android.text.Layout.drawText(Layout.java:1346)
E/AndroidRuntime( 4503): at android.text.Layout.draw(Layout.java:339)
E/AndroidRuntime( 4503): at android.text.BoringLayout.draw(BoringLayout.java:356)
E/AndroidRuntime( 4503): at android.widget.TextView.onDraw(TextView.java:3922)
E/AndroidRuntime( 4503): at android.view.View.draw(View.java:5856)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.View.draw(View.java:5859)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.View.draw(View.java:5859)
E/AndroidRuntime( 4503): at android.view.View.buildDrawingCache(View.java:5635)
E/AndroidRuntime( 4503): at android.view.View.getDrawingCache(View.java:5476)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1422)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.View.draw(View.java:5962)
E/AndroidRuntime( 4503): at android.widget.FrameLayout.draw(FrameLayout.java:352)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.View.draw(View.java:5859)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.View.draw(View.java:5859)
E/AndroidRuntime( 4503): at android.widget.FrameLayout.draw(FrameLayout.java:352)
E/AndroidRuntime( 4503): at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
E/AndroidRuntime( 4503): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
E/AndroidRuntime( 4503): at android.view.View.draw(View.java:5859)
E/AndroidRuntime( 4503): at android.widget.FrameLayout.draw(FrameLayout.java:352)
E/AndroidRuntime( 4503): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1850)
E/AndroidRuntime( 4503): at android.view.ViewRoot.draw(ViewRoot.java:1217)
E/AndroidRuntime( 4503): at android.view.ViewRoot.performTraversals(ViewRoot.java:1030)
E/AndroidRuntime( 4503): at android.view.ViewRoot.handleMessage(ViewRoot.java:1482)
E/AndroidRuntime( 4503): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4503): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 4503): at android.app.ActivityThread.main(ActivityThread.java:3952)
E/AndroidRuntime( 4503): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4503): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 4503): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 4503): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime( 4503): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 1060): Sending signal. PID: 4503 SIG: 3
I/dalvikvm( 4503): threadid=7: reacting to signal 3
I/dalvikvm( 4503): Wrote stack trace to '/data/anr/traces.txt'
W/WindowManager( 1060): No window to dispatch pointer action 1
I/Process ( 4503): Sending signal. PID: 4503 SIG: 9
I/WindowManager( 1060): WIN DEATH: Window{436a8928 com.google.android.apps.genie.geniewidget/com.google.android.apps.genie.geniewidget.activities.NewsActivity paused=false}
W/ActivityManager( 1060): Exception when sending broadcast to ComponentInfo{com.google.android.apps.genie.geniewidget/com.google.android.apps.genie.geniewidget.miniwidget.MiniWidgetProvider}
W/ActivityManager( 1060): android.os.DeadObjectException
W/ActivityManager( 1060): at android.os.BinderProxy.transact(Native Method)
W/ActivityManager( 1060): at android.app.ApplicationThreadProxy.scheduleReceiver(ApplicationThreadNative.java:482)
W/ActivityManager( 1060): at com.android.server.am.ActivityManagerService.processCurBroadcastLocked(ActivityManagerService.java:10488)
W/ActivityManager( 1060): at com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java:10795)
W/ActivityManager( 1060): at com.android.server.am.ActivityManagerService.access$200(ActivityManagerService.java:110)
W/ActivityManager( 1060): at com.android.server.am.ActivityManagerService$2.handleMessage(ActivityManagerService.java:936)
W/ActivityManager( 1060): at android.os.Handler.dispatchMessage(Handler.java:99)
W/ActivityManager( 1060): at android.os.Looper.loop(Looper.java:123)
W/ActivityManager( 1060): at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1146)
I/ActivityManager( 1060): Start proc com.google.android.apps.genie.geniewidget for broadcast com.google.android.apps.genie.geniewidget/.miniwidget.MiniWidgetProvider: pid=4527 uid=10072 gids={3003}
I/ActivityManager( 1060): Process com.google.android.apps.genie.geniewidget (pid 4503) has died.
W/ActivityManager( 1060): Scheduling restart of crashed service com.google.android.apps.genie.geniewidget/.GenieRefreshService in 5000ms
W/ActivityManager( 1060): finishReceiver called but none active
I/Launcher( 1106): onResume mRestoring = false
W/InputManagerService( 1060): Got RemoteException sending setActive(false) notification to pid 4503 uid 10072
I/dalvikvm( 4527): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=38)
W/ActivityManager( 1060): No pending application record for pid 4527 (IApplicationThread android.app.ApplicationThreadProxy@43620208); dropping process
I/Process ( 1060): Sending signal. PID: 4527 SIG: 9
 
Upvote 0
Hi Bbrosen,
Sorry I,m really busy lately (self employed) did not see your post straight away.
You do not need to be rooted to use logcat but you will have to make your computer and telephone ADB compatable. there is an explanation here http://androidforums.com/samsung-i7500/15401-how-make-adb-list-my-galaxy.html but I will try and find the post I used to install everything hope this helps for now . :) Ryko
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones