opsu icon indicating copy to clipboard operation
opsu copied to clipboard

Failed to add beatmaps to database.

Open NamOpt opened this issue 10 months ago • 0 comments

Version: 0.16.1a OS: Linux (armv8l) JRE: The Android Project 0 OpenGL version: OpenGL ES 3.2 v1.r19p0-01rel0.###other-sha0123456789ABCDEF0### (ARM) BOARD: exynos7885 FINGERPRINT: samsung/a7y18ltedx/a7y18lte:10/QP1A.190711.020/A750GNDXU6CVG1:user/release-keys HOST: SWDH7004 MODEL: SM-A750GN INCREMENTAL: A750GNDXU6CVG1 RELEASE: 10

Error: Failed to add beatmaps to database. Stack trace:

java.sql.SQLException: android.database.sqlite.SQLiteException: table beatmaps has 48 columns but 49 values were supplied (code 1 SQLITE_ERROR[1]): , while compiling: INSERT INTO beatmaps VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,?, ?, ?, ?, ?, ?, ?, ?, ?)
	at java.lang.reflect.Constructor.newInstance0(Native Method)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
	at org.sqldroid.SQLDroidConnection.chainException(SQLDroidConnection.java:158)
	at org.sqldroid.SQLiteDatabase.execSQL(SQLiteDatabase.java:147)
	at org.sqldroid.SQLDroidPreparedStatement.executeBatch(SQLDroidPreparedStatement.java:269)
	at itdelatrisu.opsu.db.BeatmapDB.insert(BeatmapDB.java:474)
	at itdelatrisu.opsu.beatmap.BeatmapParser.parseDirectories(BeatmapParser.java:254)
	at itdelatrisu.opsu.beatmap.BeatmapParser.parseAllFiles(BeatmapParser.java:106)
	at itdelatrisu.opsu.beatmap.BeatmapParser.parseAllFiles(BeatmapParser.java:89)
	at itdelatrisu.opsu.states.Splash$2.run(Splash.java:166)
Caused by: android.database.sqlite.SQLiteException: table beatmaps has 48 columns but 49 values were supplied (code 1 SQLITE_ERROR[1]): , while compiling: INSERT INTO beatmaps VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,?, ?, ?, ?, ?, ?, ?, ?, ?)
	at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
	at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1372)
	at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:811)
	at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:590)
	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:62)
	at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:33)
	at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:2321)
	at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:2299)
	at org.sqldroid.SQLiteDatabase.execSQL(SQLiteDatabase.java:140)
	... 6 more

NamOpt avatar Apr 27 '24 01:04 NamOpt