spring-data: 2.0.x don't work

I try to use Spring Data ArangoDB 2.0.0 in spring-data-demo-master. There is a ParseException when running CrudRunner .

Exception detail:

Caused by: com.arangodb.ArangoDBException: java.text.ParseException: Unparseable date: "Ned"
	at com.arangodb.springframework.core.convert.TimeStringConverters.parse(TimeStringConverters.java:67) ~[arangodb-spring-data-2.0.0.jar:na]
	at com.arangodb.springframework.core.convert.TimeStringConverters.access$000(TimeStringConverters.java:44) ~[arangodb-spring-data-2.0.0.jar:na]
	at com.arangodb.springframework.core.convert.TimeStringConverters$StringToInstantConverter.convert(TimeStringConverters.java:105) ~[arangodb-spring-data-2.0.0.jar:na]
	at com.arangodb.springframework.core.convert.TimeStringConverters$StringToInstantConverter.convert(TimeStringConverters.java:100) ~[arangodb-spring-data-2.0.0.jar:na]
	at org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.convert(GenericConversionService.java:385) ~[spring-core-5.0.6.RELEASE.jar:5.0.6.RELEASE]
	at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:40) ~[spring-core-5.0.6.RELEASE.jar:5.0.6.RELEASE]
	... 40 common frames omitted
Caused by: java.text.ParseException: Unparseable date: "Ned"
	at java.text.DateFormat.parse(DateFormat.java:366) ~[na:1.8.0_161]
	at com.arangodb.velocypack.internal.util.DateUtil.parse(DateUtil.java:60) ~[velocypack-1.0.14.jar:na]
	at com.arangodb.springframework.core.convert.TimeStringConverters.parse(TimeStringConverters.java:65) ~[arangodb-spring-data-2.0.0.jar:na]
	... 45 common frames omitted

pom :

<parent>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-parent</artifactId>
	<version>2.0.2.RELEASE</version>
</parent>
<properties>
	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	<java.version>1.8</java.version>
</properties>
<dependencies>
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter</artifactId>
	</dependency>
	<dependency>
		<groupId>com.arangodb</groupId>
		<artifactId>arangodb-spring-data</artifactId>
		<version>2.0.0</version>
	</dependency>
</dependencies>

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (15 by maintainers)

Commits related to this issue

Most upvoted comments

@mpv1989 I created an issue for this: https://jira.spring.io/browse/DATACMNS-1323

Let’s see what they say.

I also upgraded our spring demo. It now uses arangodb-spring-data 2.1.3 and spring-boot-starter-parent 2.0.1.RELEASE.