org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: N/A (through reference chain: com.dogjaw.services.authentication.b2c.AzurePolicyMetaData["http_logout_supported"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: N/A (through reference chain: com.dogjaw.services.authentication.b2c.AzurePolicyMetaData["http_logout_supported"])

GitHub | Pytry | 4 months ago
  1. 0

    GitHub comment 1#238048746

    GitHub | 4 months ago | Pytry
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: N/A (through reference chain: com.dogjaw.services.authentication.b2c.AzurePolicyMetaData["http_logout_supported"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: N/A (through reference chain: com.dogjaw.services.authentication.b2c.AzurePolicyMetaData["http_logout_supported"])
  2. 0

    Junit Error | org.springframework.oxm.UnmarshallingFailureException: XStream unmarshalling exception; nested exception is com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: - Reply of Your Every Question

    everyreply.com | 1 year ago
    org.springframework.http.converter.HttpMessageNotReadableException: Could not read [class response]; nested exception is org.springframework.oxm.UnmarshallingFailureException: XStream unmarshalling exception; nested exception is com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field product.image org.springframework.http.converter.xml.MarshallingHttpMessageConverter.readFromSource(MarshallingHttpMessageConverter.java:123)
  3. 0

    Junit Error | org.springframework.oxm.UnmarshallingFailureException: XStream unmarshalling exception; nested exception is com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: - Reply of Your Every Question

    everyreply.com | 11 months ago
    org.springframework.http.converter.HttpMessageNotReadableException: Could not read [class response]; nested exception is org.springframework.oxm.UnmarshallingFailureException: XStream unmarshalling exception; nested exception is com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field product.image org.springframework.http.converter.xml.MarshallingHttpMessageConverter.readFromSource(MarshallingHttpMessageConverter.java:123)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    tried to call rest webservice, and got this exception thrown only on HTC Incredible S, tested on other device working fine W/System.err( 3433): org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: BufferedInputStream is closed; nested exception is java.io.IOException: BufferedInputStream is closed W/System.err( 3433): at org.springframework.http.converter.json.MappingJacksonHttpMessageConverter.readInternal(MappingJacksonHttpMessageConverter.java:125) W/System.err( 3433): at org.springframework.http.converter.AbstractHttpMessageConverter.read(AbstractHttpMessageConverter.java:147) W/System.err( 3433): at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:76) W/System.err( 3433): at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:655) W/System.err( 3433): at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:641) W/System.err( 3433): at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:484) W/System.err( 3433): at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:439) W/System.err( 3433): at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:415)

    Spring JIRA | 4 years ago | Aphiwad Chhoeun
    org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: BufferedInputStream is closed; nested exception is java.io.IOException: BufferedInputStream is closed
  6. 0

    tried to call rest webservice, and got this exception thrown only on HTC Incredible S, tested on other device working fine W/System.err( 3433): org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: BufferedInputStream is closed; nested exception is java.io.IOException: BufferedInputStream is closed W/System.err( 3433): at org.springframework.http.converter.json.MappingJacksonHttpMessageConverter.readInternal(MappingJacksonHttpMessageConverter.java:125) W/System.err( 3433): at org.springframework.http.converter.AbstractHttpMessageConverter.read(AbstractHttpMessageConverter.java:147) W/System.err( 3433): at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:76) W/System.err( 3433): at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:655) W/System.err( 3433): at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:641) W/System.err( 3433): at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:484) W/System.err( 3433): at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:439) W/System.err( 3433): at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:415)

    Spring JIRA | 4 years ago | Aphiwad Chhoeun
    org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: BufferedInputStream is closed; nested exception is java.io.IOException: BufferedInputStream is closed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.http.converter.HttpMessageNotReadableException

      Could not read document: N/A (through reference chain: com.dogjaw.services.authentication.b2c.AzurePolicyMetaData["http_logout_supported"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: N/A (through reference chain: com.dogjaw.services.authentication.b2c.AzurePolicyMetaData["http_logout_supported"])

      at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType()
    2. Spring
      RestTemplate.exchange
      1. org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:224)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2. org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.read(AbstractJackson2HttpMessageConverter.java:208)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      3. org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:95)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      4. org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:835)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      5. org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:819)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      6. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:599)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      7. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:557)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      8. org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:475)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      8 frames
    3. com.dogjaw.services
      MetaDataClient.getSigninMetaData
      1. com.dogjaw.services.authentication.b2c.MetaDataClient.getAzurePolicyMetaData(MetaDataClient.java:85)[classes/:na]
      2. com.dogjaw.services.authentication.b2c.MetaDataClient.getSigninMetaData(MetaDataClient.java:39)[classes/:na]
      2 frames