org.gitlab.api.GitlabAPIException

Exception #2620718

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web598

  • via GitHub by gaydenko
    ,
  • Stack trace

    • org.gitlab.api.GitlabAPIException at org.gitlab.api.http.GitlabHTTPRequestor.handleAPIError(GitlabHTTPRequestor.java:369) at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:146) at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:116) at org.gitlab.api.GitlabAPI.unblockUser(GitlabAPI.java:274) at com.gxsoftware.GitLabRemote.main(GitLabRemote.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147) Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate value of type [simple type, class java.lang.Void] from Boolean value (true); no single-boolean/Boolean-arg constructor/factory method at [Source: true; line: 1, column: 1] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148) at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:843) at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromBoolean(StdValueInstantiator.java:352) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromBoolean(BeanDeserializerBase.java:1196) at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:162) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:144) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3562) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2578) at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:330) at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:144) ... 8 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    AxeloAxelo
    Once,
    Михайло ТітовМихайло Тітов
    zsambokizsamboki
    Once,
    test1234test1234
    Once,
    tvrmsmithtvrmsmith
    15 times, last one
    143 more bugmates