[android-developers] Re: Weird stuff - help!

2010-02-18 Thread nikhil
Has any one seen this?

02-18 14:31:49.159: ERROR/AndroidRuntime(23066): Uncaught handler:
thread android.server.ServerThread exiting due to uncaught exception
02-18 14:31:49.159: ERROR/AndroidRuntime(23066): *** EXCEPTION IN
SYSTEM PROCESS.  System will crash.
02-18 14:31:49.169: ERROR/AndroidRuntime(23066):
java.lang.IndexOutOfBoundsException: index=1 count=0
02-18 14:31:49.169: ERROR/AndroidRuntime(23066): at
android.view.ViewGroup.addInArray(ViewGroup.java:1935)
02-18 14:31:49.169: ERROR/AndroidRuntime(23066): at
android.view.ViewGroup.addViewInner(ViewGroup.java:1879)
02-18 14:31:49.169: ERROR/AndroidRuntime(23066): at
android.view.ViewGroup.addView(ViewGroup.java:1756)
02-18 14:31:49.169: ERROR/AndroidRuntime(23066): at
android.view.ViewGroup.addView(ViewGroup.java:1713)
02-18 14:31:49.169: ERROR/AndroidRuntime(23066): at
com.android.server.status.StatusBarService.addNotificationView(StatusBarService.java:
875)
02-18 14:31:49.169: ERROR/AndroidRuntime(23066): at
com.android.server.status.StatusBarService.performAddUpdateIcon(StatusBarService.java:
673)
02-18 14:31:49.169: ERROR/AndroidRuntime(23066): at
com.android.server.status.StatusBarService
$H.handleMessage(StatusBarService.java:618)
02-18 14:31:49.169: ERROR/AndroidRuntime(23066): at
android.os.Handler.dispatchMessage(Handler.java:99)
02-18 14:31:49.169: ERROR/AndroidRuntime(23066): at
android.os.Looper.loop(Looper.java:123)
02-18 14:31:49.169: ERROR/AndroidRuntime(23066): at
com.android.server.ServerThread.run(SystemServer.java:428)


On Feb 10, 5:36 pm, nikhil  wrote:
> Do we have any one from google on this forum? I connected the mobile
> phone to the machine remove my app and started the default google "car
> home" app and it shows this in the logcat.
>
> 02-10 15:19:18.717: INFO/dalvikvm(20930): Uncaught exception thrown by
> finalizer (will be discarded):
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@447d7c70 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930):     at dalvik.system.NativeStart.run(Native
> Method)
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
> discarded):
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@44803170 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930):     at dalvik.system.NativeStart.run(Native
> Method)
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
> discarded):
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@44af3658 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930):     at dalvik.system.NativeStart.run(Native
> Method)
> 02-10 15:19:18.727: INFO/dalvikvm(20930): Uncaught exception thrown by
> finalizer (will be discarded):
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@44b04dd8 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930):     at dalvik.system.NativeStart.run(Native
> Method)
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
> discarded):
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@449aba58 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.737: I
> NFO/dalvikvm(20930):     at dalvik.system.NativeStart.run(Native
> Method)
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
> discarded):
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@44b38b98 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.737: INFO/dalvikvm(20930):     at
> dalvik.system.NativeStart.run(Native Method)

[android-developers] Re: Weird stuff - help!

2010-02-11 Thread nikhil
Okay, after banging my head on the wall I am able to reduce the number
of crashes..Still not 100% , when I run car home it still crashes.

On Feb 10, 5:36 pm, nikhil  wrote:
> Do we have any one from google on this forum? I connected the mobile
> phone to the machine remove my app and started the default google "car
> home" app and it shows this in the logcat.
>
> 02-10 15:19:18.717: INFO/dalvikvm(20930): Uncaught exception thrown by
> finalizer (will be discarded):
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@447d7c70 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930):     at dalvik.system.NativeStart.run(Native
> Method)
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
> discarded):
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@44803170 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.717:
> INFO/dalvikvm(20930):     at dalvik.system.NativeStart.run(Native
> Method)
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
> discarded):
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@44af3658 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930):     at dalvik.system.NativeStart.run(Native
> Method)
> 02-10 15:19:18.727: INFO/dalvikvm(20930): Uncaught exception thrown by
> finalizer (will be discarded):
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@44b04dd8 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.727:
> INFO/dalvikvm(20930):     at dalvik.system.NativeStart.run(Native
> Method)
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
> discarded):
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@449aba58 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.737: I
> NFO/dalvikvm(20930):     at dalvik.system.NativeStart.run(Native
> Method)
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
> discarded):
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
> cursor android.database.sqlite.sqlitecur...@44b38b98 on suggestions
> that has not been deactivated or closed
> 02-10 15:19:18.737:
> INFO/dalvikvm(20930):     at
> android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
> 02-10 15:19:18.737: INFO/dalvikvm(20930):     at
> dalvik.system.NativeStart.run(Native Method)
>
> When I run Car Home alongwith my app some of the exception messages
> received are as  follows:
>
> 02-10 15:30:36.797: WARN/System.err(21476):
> java.net.SocketTimeoutException: The operation timed out
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.harmony.luni.platform.OSNetworkSystem.receiveStreamImpl(Native
> Method)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.harmony.luni.platform.OSNetworkSystem.receiveStream(OSNetworkSystem.java:
> 478)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:
> 565)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:
> 87)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:
> 103)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:
> 191)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:
> 82)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:
> 174)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.a

[android-developers] Re: Weird stuff - help!

2010-02-10 Thread nikhil
Do we have any one from google on this forum? I connected the mobile
phone to the machine remove my app and started the default google "car
home" app and it shows this in the logcat.

02-10 15:19:18.717: INFO/dalvikvm(20930): Uncaught exception thrown by
finalizer (will be discarded):
02-10 15:19:18.717:
INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.sqlitecur...@447d7c70 on suggestions
that has not been deactivated or closed
02-10 15:19:18.717:
INFO/dalvikvm(20930): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
02-10 15:19:18.717:
INFO/dalvikvm(20930): at dalvik.system.NativeStart.run(Native
Method)
02-10 15:19:18.717:
INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
discarded):
02-10 15:19:18.717:
INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.sqlitecur...@44803170 on suggestions
that has not been deactivated or closed
02-10 15:19:18.717:
INFO/dalvikvm(20930): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
02-10 15:19:18.717:
INFO/dalvikvm(20930): at dalvik.system.NativeStart.run(Native
Method)
02-10 15:19:18.727:
INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
discarded):
02-10 15:19:18.727:
INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.sqlitecur...@44af3658 on suggestions
that has not been deactivated or closed
02-10 15:19:18.727:
INFO/dalvikvm(20930): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
02-10 15:19:18.727:
INFO/dalvikvm(20930): at dalvik.system.NativeStart.run(Native
Method)
02-10 15:19:18.727: INFO/dalvikvm(20930): Uncaught exception thrown by
finalizer (will be discarded):
02-10 15:19:18.727:
INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.sqlitecur...@44b04dd8 on suggestions
that has not been deactivated or closed
02-10 15:19:18.727:
INFO/dalvikvm(20930): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
02-10 15:19:18.727:
INFO/dalvikvm(20930): at dalvik.system.NativeStart.run(Native
Method)
02-10 15:19:18.737:
INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
discarded):
02-10 15:19:18.737:
INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.sqlitecur...@449aba58 on suggestions
that has not been deactivated or closed
02-10 15:19:18.737:
INFO/dalvikvm(20930): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
02-10 15:19:18.737: I
NFO/dalvikvm(20930): at dalvik.system.NativeStart.run(Native
Method)
02-10 15:19:18.737:
INFO/dalvikvm(20930): Uncaught exception thrown by finalizer (will be
discarded):
02-10 15:19:18.737:
INFO/dalvikvm(20930): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.sqlitecur...@44b38b98 on suggestions
that has not been deactivated or closed
02-10 15:19:18.737:
INFO/dalvikvm(20930): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
02-10 15:19:18.737: INFO/dalvikvm(20930): at
dalvik.system.NativeStart.run(Native Method)

When I run Car Home alongwith my app some of the exception messages
received are as  follows:


02-10 15:30:36.797: WARN/System.err(21476):
java.net.SocketTimeoutException: The operation timed out
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.harmony.luni.platform.OSNetworkSystem.receiveStreamImpl(Native
Method)
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.harmony.luni.platform.OSNetworkSystem.receiveStream(OSNetworkSystem.java:
478)
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:
565)
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:
87)
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:
103)
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:
191)
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:
82)
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:
174)
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:
179)
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:
235)
02-10 15:30:36.797: WARN/System.err(21476): at
org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(Ab

[android-developers] Re: Weird stuff - help!

2010-02-10 Thread nikhil
any one?

On Feb 9, 4:59 pm, nikhil  wrote:
> Okay I am facing this problem for quiet some time.
>
> Description of my app:
>
> I have an app which has a service running in the background. In this
> service I am polling a webservice every 10 seconds to get updates, if
> any. I am using timertask with interval of 10 seconds to do this.
>
> I also have a wakelock inside this service because if I dont hold the
> partial wakelock the internet cuts off.
>
> I also have the broadcast receiver to start the service whenever the
> phone boots up.
>
> Everything works fine until following cases.
>
> 1) I try to enable the call forwarding feature.
>
> 2) I try to use car navigation.
>
> If I do any of the above the phone reboots and then keeps rebooting
> until either I stop my service or uninstall the app from the phone.
>
> When I was making some tests I found that when I commented the polling
> part there was no problem.
>
> Is it related to bandwidth I am completely clueless ...Please help.

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