IQSS / dataverse-client-java

Apache License 2.0
5 stars 4 forks source link

tests failing against demo.dataverse.org / published dataverse #10

Open donsizemore opened 5 years ago

donsizemore commented 5 years ago

com.researchspace.dataverse.http.DataverseOperationsTest > testListDataverses FAILED
    org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Can not deserialize instance of java.lang.String out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
     at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@53c1285c; line: 1, column: 152] (through reference chain: com.researchspace.dataverse.entities.DataverseResponse["data"]->com.researchspace.dataverse.entities.DataverseGet["dataverseContacts"]->java.util.ArrayList[0])

Caused by:
        com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
         at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@53c1285c; line: 1, column: 152] (through reference chain: com.researchspace.dataverse.entities.DataverseResponse["data"]->com.researchspace.dataverse.entities.DataverseGet["dataverseContacts"]->java.util.ArrayList[0])
            at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)```
pdurbin commented 5 years ago

@donsizemore thanks for the bug report. Is this output somewhere under https://jenkins.dataverse.org/job/dataverse-client-java/ as well? I poked around a little but couldn't find it.

This is related: Continuous integration (Travis or similar) #5