SQLiteDiskIOException happens when querying 4000 rows data with order by japanese kanji

by James Wang » Wed, 10 Feb 2010 12:43:00 GMT


Sponsored Links
 his topic is moved from plateform.

Below is stack trace:

E/DatabaseUtils( 260): Writing exception to parcel
E/DatabaseUtils( 260): android.database.sqlite.SQLiteDiskIOException:
disk I/O error
E/DatabaseUtils( 260): at
android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
E/DatabaseUtils( 260): at
android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:75)
E/DatabaseUtils( 260): at
android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:288)
E/DatabaseUtils( 260): at
android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:269)
E/DatabaseUtils( 260): at
android.database.CursorToBulkCursorAdaptor.count(CursorToBulkCursorAdaptor.java:
132)
E/DatabaseUtils( 260): at
android.database.BulkCursorNative.onTransact(BulkCursorNative.java:79)
E/DatabaseUtils( 260): at android.os.Binder.execTransact(Binder.java:
287)
E/DatabaseUtils( 260): at dalvik.system.NativeStart.run(Native
Method)
D/AndroidRuntime( 253): Shutting down VM
W/dalvikvm( 253): threadid=3: thread exiting with uncaught exception
(group=0x4001aa38)
E/AndroidRuntime( 253): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 253):
android.database.sqlite.SQLiteDiskIOException: disk I/O error
E/AndroidRuntime( 253): at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:
141)
E/AndroidRuntime( 253): at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:
111)
E/AndroidRuntime( 253): at
android.database.BulkCursorProxy.count(BulkCursorNative.java:255)
E/AndroidRuntime( 253): at
android.database.BulkCursorToCursorAdaptor.set(BulkCursorToCursorAdaptor.java:
44)
E/AndroidRuntime( 253): at
android.content.ContentProviderProxy.query(ContentProviderNative.java:
304)
E/AndroidRuntime( 253): at
android.content.ContentResolver.query(ContentResolver.java:152)
E/AndroidRuntime( 253): at com.mycompany.test.MainActivity
$1.onClick(MainActivity.java:39)
E/AndroidRuntime( 253): at android.view.View.performClick(View.java:
2344)
E/AndroidRuntime( 253): at android.view.View.onTouchEvent(View.java:
4133)
E/AndroidRuntime( 253): at
android.widget.TextView.onTouchEvent(TextView.java:6504)
E/AndroidRuntime( 253): at
android.view.View.dispatchTouchEvent(View.java:3672)
E/AndroidRuntime( 253): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
E/AndroidRuntime( 253): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
E/AndroidRuntime( 253): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
E/AndroidRuntime( 253): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
E/AndroidRuntime( 253): at
com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchTouchEvent(PhoneWindow.java:1712)
E/AndroidRuntime( 253): at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:
1202)
E/AndroidRuntime( 253): at
android.app.Activity.dispatchTouchEvent(Activity.java:2018)
E/AndroidRuntime( 253): at
com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1696)
E/AndroidRuntime( 253): at
android.view.ViewRoot.handleMessage(ViewRoot.java:1658)
E/AndroidRuntime( 253):



Other Threads

1. locationmanager,getLatitude function

Hello,
I am a newbie android developer. I am trying to simulate gps
functionality in android sdk 1.0.

I am using location manager  to get getlatitude function.

http://pastebin.com/m56feb30c

I am loading a google kml  through my ddms.

I get a java null pointer exception.
What am i doing wrong here

Thanks

--~--~---------~--~----~------------~-------~--~----~

2. Java Supported by Android

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello All,
    I'm just starting out here and scouting out the area so to speak. I
know that Android Applications are written in JAVA Source Code but I'm
trying to find a web page which details the JAVA that is supported by
the Android platform. What version of Java is supported and what
libraries are and are not supported. I've read somewhere that the Java
Database libraries are not supported. But I'm looking for a full list.

The reason I ask as I wonder are there issues with porting Java Source
to the android. Are there omissions which make the job non trivial?

Thanks for any pointers, advice or help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJDra2XlbjSJ5n4BARAsM3AKDEc6G+ew9wWX0CQmNHW4GgwvcyVACfV6Bh
FbtuEtgppTO5K9gk5nvUw/s=
=rbRZ
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~

3. SImple Draw Program --Advice Needed

4. Confused by "Sorry! The application ____ (process ___ ) has stopped unexpectedly..." message

5. Quick method for capturing country...

6. Using JmDNS in emulator

7. Making a distributed system