arangodb/spring-data

Support for Java LocalTime

Closed this issue · 0 comments

Hey,

I am getting this error while using Java LocalTime, I am not completely sure if this issue is from Springboot or ArangoDB.
Please review.

Caused by: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [java.time.LocalTime]

	at org.springframework.core.convert.support.GenericConversionService.handleConverterNotFound(GenericConversionService.java:322) ~[spring-core-5.3.14.jar:5.3.14]
	at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:195) ~[spring-core-5.3.14.jar:5.3.14]
	at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:175) ~[spring-core-5.3.14.jar:5.3.14]
	at com.arangodb.springframework.core.convert.DefaultArangoConverter.convertIfNecessary(DefaultArangoConverter.java:950) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at com.arangodb.springframework.core.convert.DefaultArangoConverter.readInternal(DefaultArangoConverter.java:154) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at com.arangodb.springframework.core.convert.DefaultArangoConverter.readPropertyValue(DefaultArangoConverter.java:263) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at com.arangodb.springframework.core.convert.DefaultArangoConverter.readProperty(DefaultArangoConverter.java:231) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at com.arangodb.springframework.core.convert.DefaultArangoConverter.lambda$readEntity$0(DefaultArangoConverter.java:209) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties(BasicPersistentEntity.java:360) ~[spring-data-commons-2.5.7.jar:2.5.7]
	at com.arangodb.springframework.core.convert.DefaultArangoConverter.readEntity(DefaultArangoConverter.java:206) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at com.arangodb.springframework.core.convert.DefaultArangoConverter.readInternal(DefaultArangoConverter.java:186) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at com.arangodb.springframework.core.convert.DefaultArangoConverter.read(DefaultArangoConverter.java:129) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at com.arangodb.springframework.core.convert.DefaultArangoConverter.read(DefaultArangoConverter.java:88) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at com.arangodb.springframework.core.template.ArangoExtCursorIterator.deserialize(ArangoExtCursorIterator.java:60) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at com.arangodb.internal.cursor.ArangoCursorIterator.next(ArangoCursorIterator.java:75) ~[arangodb-java-driver-6.13.0.jar:na]
	at com.arangodb.internal.cursor.AbstractArangoIterable.first(AbstractArangoIterable.java:56) ~[arangodb-java-driver-6.13.0.jar:na]
	at com.arangodb.springframework.core.template.ArangoTemplate.repsert(ArangoTemplate.java:701) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at com.arangodb.springframework.repository.SimpleArangoRepository.save(SimpleArangoRepository.java:74) ~[arangodb-spring-data-3.6.0.jar:3.6.0]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
	at org.springframework.data.repository.core.support.RepositoryMethodInvoker$RepositoryFragmentMethodInvoker.lambda$new$0(RepositoryMethodInvoker.java:289) ~[spring-data-commons-2.5.7.jar:2.5.7]