java.lang.IllegalArgumentException: Can not instantiate value of type [simple type, class com.netflix.spinnaker.clouddriver.openstack.security.OpenstackCredentials] from String value ('test'); no single-String constructor/factory method at [Source: N/A; line: -1, column: -1] (through reference chain: com.netflix.spinnaker.clouddriver.openstack.deploy.description.servergroup.OpenstackServerGroupAtomicOperationDescription["credentials"])

GitHub | jcwest | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    openstack/clouddriver/server groups: Error while deleting

    GitHub | 7 months ago | jcwest
    java.lang.IllegalArgumentException: Can not instantiate value of type [simple type, class com.netflix.spinnaker.clouddriver.openstack.security.OpenstackCredentials] from String value ('test'); no single-String constructor/factory method at [Source: N/A; line: -1, column: -1] (through reference chain: com.netflix.spinnaker.clouddriver.openstack.deploy.description.servergroup.OpenstackServerGroupAtomicOperationDescription["credentials"])

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can not instantiate value of type [simple type, class com.netflix.spinnaker.clouddriver.openstack.security.OpenstackCredentials] from String value ('test'); no single-String constructor/factory method at [Source: N/A; line: -1, column: -1] (through reference chain: com.netflix.spinnaker.clouddriver.openstack.deploy.description.servergroup.OpenstackServerGroupAtomicOperationDescription["credentials"])

      at com.fasterxml.jackson.databind.ObjectMapper._convert()
    2. Jackson
      ObjectMapper$convertValue$4.call
      1. com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3530)
      2. com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3449)
      3. com.fasterxml.jackson.databind.ObjectMapper$convertValue$4.call(Unknown Source)
      3 frames
    3. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
      3 frames
    4. com.netflix.spinnaker
      OpenstackAtomicOperationConverterHelper$convertDescription.call
      1. com.netflix.spinnaker.clouddriver.openstack.deploy.converters.OpenstackAtomicOperationConverterHelper.convertDescription(OpenstackAtomicOperationConverterHelper.groovy:32)
      2. com.netflix.spinnaker.clouddriver.openstack.deploy.converters.OpenstackAtomicOperationConverterHelper$convertDescription.call(Unknown Source)
      2 frames
    5. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
      3 frames
    6. com.netflix.spinnaker
      DisableOpenstackAtomicOperationConverter.convertDescription
      1. com.netflix.spinnaker.clouddriver.openstack.deploy.converters.servergroup.DisableOpenstackAtomicOperationConverter.convertDescription(DisableOpenstackAtomicOperationConverter.groovy:39)
      1 frame