brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BROOKLYN-566) Rebind fails for historic state of SaltEntity (from 0.11.0)
Date Mon, 27 Nov 2017 09:34:00 GMT

    [ https://issues.apache.org/jira/browse/BROOKLYN-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266567#comment-16266567
] 

ASF GitHub Bot commented on BROOKLYN-566:
-----------------------------------------

Github user geomacy commented on the issue:

    https://github.com/apache/brooklyn-server/pull/905
  
    LGTM, merging


> Rebind fails for historic state of SaltEntity (from 0.11.0) 
> ------------------------------------------------------------
>
>                 Key: BROOKLYN-566
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-566
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Aled Sage
>
> I generated persisted state with Brooklyn 0.11.0, deploying a {{SaltEntity}}. I tried
to rebind to this using Brooklyn 0.12.0 - it failed with the exception shown below.
> {noformat}
> 2017-11-24T16:20:15,774 WARN  123 o.a.b.c.m.r.RebindExceptionHandlerImpl [tures-1-thread-1]
Rebind: continuing after problem creating ENTITY uf9afaunfq of type org.apache.brooklyn.software-cm-salt:org.apache.brooklyn.entity.cm.salt.impl.SaltEntityImpl
> java.lang.IllegalStateException: Class org.apache.brooklyn.software-cm-salt:org.apache.brooklyn.entity.cm.salt.impl.SaltEntityImpl
not found for entity uf9afaunfq (org.apache.brooklyn.entity.cm.salt.SaltEntity:4.7.0): unable
to load class org.apache.brooklyn.software-cm-salt:org.apache.brooklyn.entity.cm.salt.impl.SaltEntityImpl
for resovled context type org.apache.brooklyn.entity.cm.salt.SaltEntity:4.7.0
>         at org.apache.brooklyn.core.mgmt.rebind.RebindIteration$BrooklynObjectInstantiator.load(RebindIteration.java:1083)
~[?:?]
>         at org.apache.brooklyn.core.mgmt.rebind.RebindIteration$BrooklynObjectInstantiator.newEntity(RebindIteration.java:917)
~[?:?]
>         at org.apache.brooklyn.core.mgmt.rebind.RebindIteration.instantiateLocationsAndEntities(RebindIteration.java:450)
~[?:?]
>         at org.apache.brooklyn.core.mgmt.rebind.RebindIteration.doRun(RebindIteration.java:256)
~[?:?]
>         at org.apache.brooklyn.core.mgmt.rebind.InitialFullRebindIteration.doRun(InitialFullRebindIteration.java:69)
~[?:?]
>         at org.apache.brooklyn.core.mgmt.rebind.RebindIteration.run(RebindIteration.java:284)
~[?:?]
>         at org.apache.brooklyn.core.mgmt.rebind.RebindManagerImpl.rebindImpl(RebindManagerImpl.java:547)
~[?:?]
>         at org.apache.brooklyn.core.mgmt.rebind.RebindManagerImpl.lambda$rebind$0(RebindManagerImpl.java:503)
~[?:?]
>         at org.apache.brooklyn.util.core.task.BasicExecutionContext$1.call(BasicExecutionContext.java:143)
~[?:?]
>         at org.apache.brooklyn.util.core.task.BasicExecutionContext$1.call(BasicExecutionContext.java:141)
~[?:?]
>         at org.apache.brooklyn.util.core.task.BasicExecutionContext.runInSameThread(BasicExecutionContext.java:227)
~[?:?]
>         at org.apache.brooklyn.util.core.task.BasicExecutionContext.get(BasicExecutionContext.java:141)
~[?:?]
>         at org.apache.brooklyn.core.mgmt.rebind.RebindManagerImpl.rebind(RebindManagerImpl.java:502)
~[?:?]
>         at org.apache.brooklyn.launcher.common.BasicLauncher.startPersistenceWithoutHA(BasicLauncher.java:657)
~[?:?]
>         at org.apache.brooklyn.launcher.common.BasicLauncher.startPersistence(BasicLauncher.java:620)
~[?:?]
>         at org.apache.brooklyn.launcher.common.BasicLauncher.handlePersistence(BasicLauncher.java:516)
~[?:?]
>         at org.apache.brooklyn.launcher.common.BasicLauncher.startPartTwo(BasicLauncher.java:438)
~[?:?]
>         at org.apache.brooklyn.launcher.osgi.OsgiLauncherImpl.startOsgi(OsgiLauncherImpl.java:116)
~[?:?]
>         at Proxy8042c345_9fc8_4dc8_ad95_a62e7fa7d51d.startOsgi(Unknown Source) ~[?:?]
>         at org.apache.brooklyn.launcher.osgi.start.OsgiLauncherCompleter.init(OsgiLauncherCompleter.java:36)
~[?:?]
>         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.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:299)
~[?:?]
>         at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:980)
~[?:?]
>         at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:736)
~[?:?]
>         at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:848)
~[?:?]
>         at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)
~[?:?]
>         at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
~[?:?]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:?]
>         at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
~[?:?]
>         at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:255)
~[?:?]
>         at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:186)
~[?:?]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:704)
~[?:?]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:410)
~[?:?]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:275)
~[?:?]
>         at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)
~[?:?]
>         at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)
~[?:?]
>         at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)
~[?:?]
>         at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)
~[?:?]
>         at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
~[?:?]
>         at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
~[?:?]
>         at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
~[?:?]
>         at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
~[?:?]
>         at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
~[?:?]
>         at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179)
~[?:?]
>         at org.apache.felix.framework.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:730)
~[?:?]
>         at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:485)
~[?:?]
>         at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4563) ~[?:?]
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:2173) ~[?:?]
>         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?]
>         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[?:?]
>         at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1346)
~[?:?]
>         at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:891)
~[?:?]
>         at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1233)
~[?:?]
>         at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1132)
~[?:?]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[?:?]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[?:?]
>         at java.lang.Thread.run(Thread.java:748) [?:?]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message