You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Call the listDocuments function with parameters that include database and collection IDs, a numeric limit, and a list of attributes.
Include attribute selection in the query, where attribute names are passed dynamically to the Query.select method.
Execute the function, which internally calls toJson() on the Query object.
👍 Expected behavior
Expected Behavior:
The function should handle null values gracefully and not attempt to cast nulls to non-null strings. If a parameter is null, it should either be managed by default values or handled with appropriate error messages.
👎 Actual Behavior
Actual Behavior:
The application throws a java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String during the execution of the toJson() method in the Query class. This error suggests that there might be issues with how null values are being managed within query parameters or during their serialization/deserialization process.
🎲 Appwrite version
Version 1.5.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
👟 Reproduction steps
listDocuments
function with parameters that include database and collection IDs, a numeric limit, and a list of attributes.Query.select
method.toJson()
on the Query object.👍 Expected behavior
Expected Behavior:
The function should handle null values gracefully and not attempt to cast nulls to non-null strings. If a parameter is null, it should either be managed by default values or handled with appropriate error messages.
👎 Actual Behavior
Actual Behavior:
The application throws a
java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String
during the execution of thetoJson()
method in the Query class. This error suggests that there might be issues with how null values are being managed within query parameters or during their serialization/deserialization process.🎲 Appwrite version
Version 1.5.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: