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
Spring boot: 3.4.3, Spring data Couchbase: 5.4.3 java.lang.IllegalArgumentException: Attribute of type java.util.Collections.SingletonList cannot be stored and must be converted. #2041
Hi
We are upgrading from spring boot 3.2.4 to 3.4.3 We are getting issue below issue.
java.lang.IllegalArgumentException: Attribute of type java.util.Collections.SingletonList cannot be stored and must be converted.
it was working Spring boot: [3.2.4] demo_3_2.zip
it fails with Spring boot: [3.4.3] demo_3_4.zip
Step to test
Run spring boot application
Run this curl
curl --location --request POST 'http://localhost:8080/api/testpojo/create'
--header 'Content-Type: application/json'
--data-raw '{
"field1": "value55",
"field2": [{
"locale": "en-US",
"value": "test data11"
}],
"field3": "value3",
"field4": "value4",
"field5": "value5"
}'
it fails for spring boot 3.4.3 with error java.lang.IllegalArgumentException: Attribute of type java.util.ArrayList cannot be stored and must be converted.