brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <...@git.apache.org>
Subject [GitHub] brooklyn-server issue #693: jclouds TemplateOptions type coercions
Date Thu, 25 May 2017 15:53:49 GMT
Github user neykov commented on the issue:

    https://github.com/apache/brooklyn-server/pull/693
  
    I'm currently testing this with the winrm changes and it's failing with the following
exception:
    ```
    Caused by: java.lang.IllegalArgumentException
    	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 org.apache.brooklyn.util.core.flags.MethodCoercions.tryFindAndInvokeMultiParameterMethod(MethodCoercions.java:177)
    	at org.apache.brooklyn.location.jclouds.JcloudsTypeCoercions$CoercionFromAutoValueCreate.tryCoerce(JcloudsTypeCoercions.java:148)
    	at org.apache.brooklyn.util.javalang.coerce.TypeCoercerExtensible.tryCoerceInternal(TypeCoercerExtensible.java:148)
    	at org.apache.brooklyn.util.javalang.coerce.TypeCoercerExtensible.tryCoerce(TypeCoercerExtensible.java:110)
    	at org.apache.brooklyn.util.core.flags.TypeCoercions.tryCoerce(TypeCoercions.java:83)
    	at org.apache.brooklyn.util.core.flags.MethodCoercions$1.apply(MethodCoercions.java:65)
    	at org.apache.brooklyn.util.core.flags.MethodCoercions$1.apply(MethodCoercions.java:58)
    	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:652)
    	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
    	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
    	at com.google.common.collect.Iterators.tryFind(Iterators.java:752)
    	at com.google.common.collect.Iterables.tryFind(Iterables.java:675)
    	at org.apache.brooklyn.util.core.flags.MethodCoercions.tryFindAndInvokeSingleParameterMethod(MethodCoercions.java:83)
    	at org.apache.brooklyn.util.core.flags.MethodCoercions.tryFindAndInvokeBestMatchingMethod(MethodCoercions.java:222)
    	at org.apache.brooklyn.location.jclouds.templates.customize.TemplateOptionsOption.apply(TemplateOptionsOption.java:43)
    	at org.apache.brooklyn.location.jclouds.JcloudsLocation.buildTemplate(JcloudsLocation.java:1498)
    	at org.apache.brooklyn.location.jclouds.JcloudsLocation.obtainOnce(JcloudsLocation.java:711)
    	at org.apache.brooklyn.location.jclouds.JcloudsLocation.obtain(JcloudsLocation.java:613)
    	... 11 more
    ```
    
    Still looking for the cause - probably something on my end. But would help to log the
property which failed. Something like `Failed setting 'windowsConfiguration->winrm->listeners[0]`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message