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 <[email protected]> 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.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(AbstractClientConnAdapter.java:
> 259)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:
> 279)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:
> 121)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:
> 410)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
> 555)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
> 487)
> 02-10 15:30:36.797: WARN/System.err(21476):     at K.h.execute(Unknown
> Source)
> 02-10 15:30:36.797: WARN/System.err(21476):     at K.c.a(Unknown
> Source)
> 02-10 15:30:36.797: WARN/System.err(21476):     at K.c.execute(Unknown
> Source)
> 02-10 15:30:36.797: WARN/System.err(21476):     at K.c.execute(Unknown
> Source)
> 02-10 15:30:36.797: WARN/System.err(21476):     at K.e.g(Unknown
> Source)
> 02-10 15:30:36.797: WARN/System.err(21476):     at K.e.b(Unknown
> Source)
> 02-10 15:30:36.797: WARN/System.err(21476):     at m.n.a(Unknown
> Source)
> 02-10 15:30:36.797: WARN/System.err(21476):     at m.k.run(Unknown
> Source)
> 02-10 15:30:36.797: WARN/System.err(21476):     at
> java.lang.Thread.run(Thread.java:1096)
>
> I am still clueless. I thought it was related to wakelocks so I
> commented out my wakelock code but it still does the same and the
> phone keeps rebooting. I am pissed ...
>
> On Feb 9, 4:59 pm, nikhil <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to