Hi there,
I tried to make a backup from my Bitbucket server with bitbucket-backup-client.
It failes with the response below:
2018-03-29 09:53:01,220 DEBUG GET http://192.168.1.169:7990/mvc/maintenance:------------{"db-state":"AVAILABLE","scm-state":"AVAILABLE"}------------2018-03-29 09:53:01,229 DEBUG Failed to parse JSON response from http://192.168.1.169:7990/mvc/maintenance. Response:{"db-state":"AVAILABLE","scm-state":"AVAILABLE"}2018-03-29 09:53:01,229 DEBUG GET http://192.168.1.169:7990/rest/api/latest/application-properties:------------{"version":"4.8.5","buildNumber":"4008005","buildDate":"1471843790056","displayName":"Bitbucket"}------------2018-03-29 09:53:01,248 DEBUG Failed to parse JSON response from http://192.168.1.169:7990/rest/api/latest/application-properties. Response:{"version":"4.8.5","buildNumber":"4008005","buildDate":"1471843790056","displayName":"Bitbucket"}2018-03-29 09:53:01,251 ERROR A backup could not be createdjava.lang.ClassCastException: [B (in module: java.base) cannot be cast to [C (in module: java.base) at groovy.json.internal.FastStringUtils.toCharArray(FastStringUtils.java:175) at groovy.json.internal.BaseJsonParser.parse(BaseJsonParser.java:103) ... 12 more frames available in the log file
I'm running bitbucket server 4.85 and bitbucket-bakcup-client 3.34
Thanks in advance
Hi @S S,
It could be that the Java version used to run the Backup client is Java 9.
If that's the case, can you try to use any version of Java 8 (for example 1.8.0_162) and see if that makes a difference?
Cheers,
Caterina - Atlassian
It looks like you're new here. Sign in or register to get started.