[
https://issues.apache.org/jira/browse/BROOKLYN-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967623#comment-15967623
]
Mark McKenna commented on BROOKLYN-473:
---------------------------------------
[[email protected]] Has fixed the _DslComponent$DslSensorSupplier_ part of
this issue in https://github.com/apache/brooklyn-server/pull/633
> Brooklyn 0.11.0 RC1 fails to rebind to state from 0.10.0
> --------------------------------------------------------
>
> Key: BROOKLYN-473
> URL: https://issues.apache.org/jira/browse/BROOKLYN-473
> Project: Brooklyn
> Issue Type: Bug
> Reporter: Mark McKenna
>
> Brooklyn fails with the following errors
> {code}
> ---- Debugging information ----
> message :
> cause-exception :
> org.apache.brooklyn.util.exceptions.PropagatedRuntimeException
> cause-message :
> class :
> org.apache.brooklyn.camp.brooklyn.spi.dsl.methods.DslComponent$DslConfigSupplier
> required-type :
> org.apache.brooklyn.camp.brooklyn.spi.dsl.methods.DslComponent$DslConfigSupplier
> converter-type :
> org.apache.brooklyn.util.core.xstream.ObjectWithDefaultStringImplConverter
> path :
> /enricher/config/enricher.keySensor/org.apache.brooklyn.camp.brooklyn.spi.dsl.methods.DslComponent$DslSensorSupplier/sensorName
> line number : 18
> class[1] :
> org.apache.brooklyn.camp.brooklyn.spi.dsl.methods.DslComponent$DslSensorSupplier
> converter-type[1] :
> com.thoughtworks.xstream.converters.reflection.ReflectionConverter
> class[2] : java.util.LinkedHashMap
> converter-type[2] :
> org.apache.brooklyn.util.core.xstream.StringKeyMapConverter
> class[3] :
> org.apache.brooklyn.core.mgmt.rebind.dto.BasicEnricherMemento
> version : 0.11.0-20170316.1432
> -------------------------------
> {code}
> {code}
> Caused by: org.apache.brooklyn.util.exceptions.CompoundRuntimeException:
> Failure rebinding; 2 errors including: problem creating POLICY lplpmv3goo of
> type
> org.apache.brooklyn.entity.zookeeper.ZooKeeperEnsembleImpl$MemberTrackingPolicy:
> Cannot instantiate instance of type class
> org.apache.brooklyn.entity.zookeeper.ZooKeeperEnsembleImpl$MemberTrackingPolicy;
> expected constructor signature not found (args are [{id=lplpmv3goo,
> deferConstructionChecks=true, noConstructionInit=true,
> group=ZooKeeperEnsembleImpl{id=stkwkmp76w},
> uniqueTag=MemberTrackingPolicy:ZooKeeperEnsembleImpl{id=stkwkmp76w},
> tags=[]}])
> at
> org.apache.brooklyn.util.exceptions.Exceptions.create(Exceptions.java:474)[141:org.apache.brooklyn.utils-common:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindExceptionHandlerImpl.onDoneImpl(RebindExceptionHandlerImpl.java:498)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindExceptionHandlerImpl.onDone(RebindExceptionHandlerImpl.java:414)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindIteration.run(RebindIteration.java:267)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindManagerImpl.rebindImpl(RebindManagerImpl.java:560)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindManagerImpl$3.call(RebindManagerImpl.java:510)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindManagerImpl$3.call(RebindManagerImpl.java:508)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:529)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> ... 4 more
> Caused by: java.lang.IllegalStateException: problem creating POLICY
> lplpmv3goo of type
> org.apache.brooklyn.entity.zookeeper.ZooKeeperEnsembleImpl$MemberTrackingPolicy
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindExceptionHandlerImpl.onCreateFailed(RebindExceptionHandlerImpl.java:265)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindIteration.instantiateAdjuncts(RebindIteration.java:484)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindIteration.doRun(RebindIteration.java:241)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.InitialFullRebindIteration.doRun(InitialFullRebindIteration.java:69)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindIteration.run(RebindIteration.java:265)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> ... 8 more
> Caused by: java.lang.IllegalStateException: Cannot instantiate instance of
> type class
> org.apache.brooklyn.entity.zookeeper.ZooKeeperEnsembleImpl$MemberTrackingPolicy;
> expected constructor signature not found (args are [{id=lplpmv3goo,
> deferConstructionChecks=true, noConstructionInit=true,
> group=ZooKeeperEnsembleImpl{id=stkwkmp76w},
> uniqueTag=MemberTrackingPolicy:ZooKeeperEnsembleImpl{id=stkwkmp76w},
> tags=[]}])
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindIteration$BrooklynObjectInstantiator.invokeConstructor(RebindIteration.java:1157)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindIteration$BrooklynObjectInstantiator.newPolicy(RebindIteration.java:1061)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> at
> org.apache.brooklyn.core.mgmt.rebind.RebindIteration.instantiateAdjuncts(RebindIteration.java:481)[120:org.apache.brooklyn.core:0.11.0.SNAPSHOT]
> ... 11 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)