Skip to content
Back

creash when i try to use incrementRowColumn

  • 0
  • Databases
  • Android
  • Cloud
BAD BOY
28 Nov, 2025, 08:51
TL;DR
Developers experiencing crashes and issues with incrementing and decrementing rows in their appwrite.io project. Attempted incrementRowColumn, received "Server Error" with NullPointerException. Fix in progress, PR raised. Incorrect API response causing column increment but invalid row data response. Acknowledged and reported to db team. Will be fixed soon. For immediate assistance, refer to GitHub issue 97.
BAD BOY
1 Dec, 2025, 20:32

nice response team, i think now time to change the db

Chirag Aggarwal
2 Dec, 2025, 00:42

thanks for sharing this, i have assigned the issue to myself and take a look shortly

apologies for the wait 🙏

BAD BOY
13 Dec, 2025, 09:35

still this problem not solve

Chirag Aggarwal
13 Dec, 2025, 10:12

sorry for the wait, i have the backlog ticket assigned but currenly stuck with other higher priority tickets. will see if i can find quick fix this weekend

BAD BOY
13 Dec, 2025, 10:22

No problem brother, when you try to solve it that time if you need help for testing then tell me

Chirag Aggarwal
13 Dec, 2025, 15:42

@GHOST debugged, looks like tableId is missing from the API response itself. i have alerted the db team about it, thanks for your paitence 🙏

BAD BOY
13 Dec, 2025, 15:44

What the hack, i was thinking that db give invalid response

Chirag Aggarwal
13 Dec, 2025, 15:45

ha yeah not returning tableid is invalid response, it should return entire Row model. if u check ur data after making call u can see the column is incrementing successfully

BAD BOY
13 Dec, 2025, 15:47

Yes, column is incrementing and get error regarding the row data

Chirag Aggarwal
14 Dec, 2025, 05:38

update: fix is underday, PR has been raised

BAD BOY
15 Dec, 2025, 07:22

thanks buddy

BAD BOY
15 Dec, 2025, 08:14

also check the https://appwrite.io/docs/products/databases/operators

tables.updateRow( databaseId = databaseId, tableId = ownerTable, rowId = rowId, data = mapOf( "area_count" to Operator.decrement(1) ) )

with this also get the "Server Error" so make

BAD BOY
29 Dec, 2025, 14:06

any update on this one ? @Chirag Aggarwal

Chirag Aggarwal
29 Dec, 2025, 16:16

pretty sure it was merged and released, right @Arnab Chatterjee ?

Arnab Chatterjee
29 Dec, 2025, 16:16

Yep

Arnab Chatterjee
29 Dec, 2025, 16:16

Still getting the issue?

BAD BOY
30 Dec, 2025, 22:40

yes ,

2025-12-31 04:07:42.548 32487-5630 AndroidRuntime pid-32487 E FATAL EXCEPTION: OkHttp Dispatcher Process: com.h2osupply.owner, PID: 32487 java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String at io.appwrite.models.Row$Companion.from(Row.kt:98) at io.appwrite.services.TablesDB$incrementRowColumn$converter$1.invoke(TablesDB.kt:751) at io.appwrite.services.TablesDB$incrementRowColumn$converter$1.invoke(TablesDB.kt:749) at io.appwrite.Client$awaitResponse$2$1.onResponse(Client.kt:602) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652) at java.lang.Thread.run(Thread.java:1563) sdkForAndroid = "11.4.0" sdk-for1-android = { module = "io.appwrite:sdk-for-android", version.ref = "sdkForAndroid" }

BAD BOY
30 Dec, 2025, 22:43

@Arnab Chatterjee & @Chirag Aggarwal also there is problem with this funcation :

also check the https://appwrite.io/docs/products/databases/operators

tables.updateRow( databaseId = databaseId, tableId = ownerTable, rowId = rowId, data = mapOf( "area_count" to Operator.decrement(1) ) )

with this also get the "Server Error" so make

BAD BOY
30 Dec, 2025, 22:45

also decrement not work

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more