io.dropwizard.configuration.ConfigurationParsingException: /home/developer/projects/employee-service/employee-service-parent/employee-service/target/test-classes/config.yml has an error: * Failed to parse configuration at: metrics.reporters; Must call method with a container type (got [reference type, class java.util.Optional<io.dropwizard.util.Duration<[simple type, class io.dropwizard.util.Duration]>]) at [Source: N/A; line: -1, column: -1] (through reference chain: coop.employee.EmployeeServiceConfiguration["metrics"]->io.dropwizard.metrics.MetricsFactory["reporters"])

Google Groups | Adrian Riley | 4 months ago
  1. 0

    Error in Jackson ObjectMapper parsing metrics configuration

    Google Groups | 4 months ago | Adrian Riley
    io.dropwizard.configuration.ConfigurationParsingException: /home/developer/projects/employee-service/employee-service-parent/employee-service/target/test-classes/config.yml has an error: * Failed to parse configuration at: metrics.reporters; Must call method with a container type (got [reference type, class java.util.Optional<io.dropwizard.util.Duration<[simple type, class io.dropwizard.util.Duration]>]) at [Source: N/A; line: -1, column: -1] (through reference chain: coop.employee.EmployeeServiceConfiguration["metrics"]->io.dropwizard.metrics.MetricsFactory["reporters"])
  2. 0

    IllegalArgumentException trying to evolve a class with collection field

    Oracle Community | 9 years ago | 641917
    java.lang.IllegalArgumentException: Raw value class: java.util.TreeSet must be RawObject a simple type
  3. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.

    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. java.lang.IllegalArgumentException

      Must call method with a container type (got [reference type, class java.util.Optional<io.dropwizard.util.Duration<[simple type, class io.dropwizard.util.Duration]>])

      at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.findPropertyContentTypeResolver()
    2. Jackson-module-JAXB-annotations
      JaxbAnnotationIntrospector.findPropertyContentTypeResolver
      1. com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.findPropertyContentTypeResolver(JaxbAnnotationIntrospector.java:567)
      1 frame
    3. Jackson
      AbstractDeserializer.deserializeWithType
      1. com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair.findPropertyContentTypeResolver(AnnotationIntrospectorPair.java:233)
      2. com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair.findPropertyContentTypeResolver(AnnotationIntrospectorPair.java:233)
      3. com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.findPropertyContentTypeDeserializer(BasicDeserializerFactory.java:1516)
      4. com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.resolveType(BasicDeserializerFactory.java:1886)
      5. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.constructSettableProperty(BeanDeserializerFactory.java:717)
      6. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.addBeanProps(BeanDeserializerFactory.java:504)
      7. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.buildBeanDeserializer(BeanDeserializerFactory.java:228)
      8. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.createBeanDeserializer(BeanDeserializerFactory.java:143)
      9. com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:406)
      10. com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:352)
      11. com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:264)
      12. com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)
      13. com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)
      14. com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:444)
      15. com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:183)
      16. com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:106)
      17. com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:91)
      18. com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:142)
      18 frames
    4. Jackson-datatype-Guava
      GuavaCollectionDeserializer.deserialize
      1. com.fasterxml.jackson.datatype.guava.deser.GuavaImmutableCollectionDeserializer._deserializeContents(GuavaImmutableCollectionDeserializer.java:44)
      2. com.fasterxml.jackson.datatype.guava.deser.GuavaImmutableCollectionDeserializer._deserializeContents(GuavaImmutableCollectionDeserializer.java:14)
      3. com.fasterxml.jackson.datatype.guava.deser.GuavaCollectionDeserializer.deserialize(GuavaCollectionDeserializer.java:103)
      3 frames
    5. Jackson
      MethodProperty.deserializeAndSet
      1. com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:490)
      2. com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
      2 frames
    6. Jackson-module-Afterburner
      SuperSonicBeanDeserializer.deserialize
      1. com.fasterxml.jackson.module.afterburner.deser.SuperSonicBeanDeserializer.deserialize(SuperSonicBeanDeserializer.java:156)
      1 frame
    7. Jackson
      BeanDeserializer.deserialize
      1. com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:490)
      2. com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
      3. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:224)
      3 frames
    8. Jackson-module-Afterburner
      SuperSonicBeanDeserializer.deserialize
      1. com.fasterxml.jackson.module.afterburner.deser.SuperSonicBeanDeserializer.deserialize(SuperSonicBeanDeserializer.java:152)
      1 frame
    9. Jackson
      ObjectMapper.readValue
      1. com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3779)
      2. com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2050)
      2 frames
    10. Dropwizard Configuration Support
      YamlConfigurationFactory.build
      1. io.dropwizard.configuration.YamlConfigurationFactory.build(YamlConfigurationFactory.java:123)
      2. io.dropwizard.configuration.YamlConfigurationFactory.build(YamlConfigurationFactory.java:87)
      2 frames
    11. Dropwizard
      ConfiguredCommand.run
      1. io.dropwizard.cli.ConfiguredCommand.parseConfiguration(ConfiguredCommand.java:124)
      2. io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:72)
      2 frames
    12. Dropwizard Test Helpers
      DropwizardAppRule.before
      1. io.dropwizard.testing.DropwizardTestSupport.startIfRequired(DropwizardTestSupport.java:194)
      2. io.dropwizard.testing.DropwizardTestSupport.before(DropwizardTestSupport.java:112)
      3. io.dropwizard.testing.junit.DropwizardAppRule.before(DropwizardAppRule.java:128)
      3 frames
    13. JUnit
      JUnitCore.run
      1. org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
      2. org.junit.rules.RunRules.evaluate(RunRules.java:20)
      3. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      4. org.junit.runners.Suite.runChild(Suite.java:128)
      5. org.junit.runners.Suite.runChild(Suite.java:27)
      6. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      7. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      8. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      9. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      10. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      11. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      12. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      12 frames
    14. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
      2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
      2 frames
    15. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:262)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:84)
      2 frames