javax.ws.rs.client.ResponseProcessingException

javax.ws.rs.ProcessingException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of com.github.triceo.robozonky.remote.MainIncomeType from String value 'OTHERS_MAIN': value not one of declared Enum instance names: [ENTREPRENEUR, EMPLOYMENT, PENSION, SELF_EMPLOYMENT] at [Source: org.apache.http.conn.EofSensorInputStream@10cf09e8; line: 1, column: 620] (through reference chain: java.util.ArrayList[0]->com.github.triceo.robozonky.remote.Loan["mainIncomeType"])

Solutions on the web36

  • names: [ENTREPRENEUR, EMPLOYMENT, PENSION, SELF_EMPLOYMENT] at [Source: org.apache.http.conn.EofSensorInputStream@10cf09e8; line: 1, column: 620] (through reference chain: java.util.ArrayList[0]->com.github.triceo.robozonky.remote.Loan["mainIncomeType"])
  • com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of com.spotify.docker.client.messages.ProcessConfig, problem: Null user at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@1cc02229; line: 1, column: 201] (through reference chain: com.spotify.docker.client.messages.ExecState["ProcessConfig"])
  • information at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@1dd57595; line: 1, column: 352] (through reference chain: java.util.ArrayList[0]->com.spotify.docker.client.messages.swarm.Service["Spec
  • Stack trace

    • javax.ws.rs.client.ResponseProcessingException: javax.ws.rs.ProcessingException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of com.github.triceo.robozonky.remote.MainIncomeType from String value 'OTHERS_MAIN': value not one of declared Enum instance names: [ENTREPRENEUR, EMPLOYMENT, PENSION, SELF_EMPLOYMENT] at [Source: org.apache.http.conn.EofSensorInputStream@10cf09e8; line: 1, column: 620] (through reference chain: java.util.ArrayList[0]->com.github.triceo.robozonky.remote.Loan["mainIncomeType"]) at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.extractResult(ClientInvocation.java:141) at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.BodyEntityExtractor.extractEntity(BodyEntityExtractor.java:60) at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:104) at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:76) at com.sun.proxy.$Proxy35.getLoans(Unknown Source) at com.github.triceo.robozonky.Investor.investOnce(Investor.java:176) at com.github.triceo.robozonky.Investor.invest(Investor.java:205) at com.github.triceo.robozonky.app.App.invest(App.java:217) at com.github.triceo.robozonky.app.App.main(App.java:146) Caused by: javax.ws.rs.ProcessingException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of com.github.triceo.robozonky.remote.MainIncomeType from String value 'OTHERS_MAIN': value not one of declared Enum instance names: [ENTREPRENEUR, EMPLOYMENT, PENSION, SELF_EMPLOYMENT] at [Source: org.apache.http.conn.EofSensorInputStream@10cf09e8; line: 1, column: 620] (through reference chain: java.util.ArrayList[0]->com.github.triceo.robozonky.remote.Loan["mainIncomeType"]) at org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readFrom(ClientResponse.java:285) at org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readEntity(ClientResponse.java:181) at org.jboss.resteasy.specimpl.BuiltResponse.readEntity(BuiltResponse.java:213) at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.extractResult(ClientInvocation.java:105) ... 8 more Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of com.github.triceo.robozonky.remote.MainIncomeType from String value 'OTHERS_MAIN': value not one of declared Enum instance names: [ENTREPRENEUR, EMPLOYMENT, PENSION, SELF_EMPLOYMENT] at [Source: org.apache.http.conn.EofSensorInputStream@10cf09e8; line: 1, column: 620] (through reference chain: java.util.ArrayList[0]->com.github.triceo.robozonky.remote.Loan["mainIncomeType"]) at com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:55) at com.fasterxml.jackson.databind.DeserializationContext.weirdStringException(DeserializationContext.java:907) at com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeAltString(EnumDeserializer.java:130) at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:84) at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520) at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:101) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:258) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:217) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:25) at com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1470) at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:912) at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.readFrom(ResteasyJackson2Provider.java:121) at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:61) at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53) at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59) at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:55) at org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readFrom(ClientResponse.java:251) ... 11 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

    Once, 2 months ago
    Once, 3 months ago
    Once, 6 months ago
    Unknown user
    Once, 1 year ago
    3 times, 1 year ago
    2 more bugmates