viasyn created KARAF-3894:
-----------------------------
Summary: Still class cast exception for LazyLocalResourceImpl =>
LocalResourceImpl
Key: KARAF-3894
URL: https://issues.apache.org/jira/browse/KARAF-3894
Project: Karaf
Issue Type: Bug
Affects Versions: 4.0.0
Reporter: viasyn
When I'm trying to perform obr:deploy for already installed artifact I got the
following exception:
{code}
2015-07-28 23:03:13,826 | ERROR | nsole user karaf | ShellUtil
| 43 - org.apache.karaf.shell.core - 4.0.0 | Exception caught while
executing command
java.lang.ClassCastException:
org.apache.felix.bundlerepository.impl.LazyLocalResourceImpl cannot be cast to
org.apache.felix.bundlerepository.impl.LocalResourceImpl
at
org.apache.felix.bundlerepository.impl.ResolverImpl.findUpdatableLocalResource(ResolverImpl.java:703)[51:org.apache.felix.bundlerepository:2.0.4]
at
org.apache.felix.bundlerepository.impl.ResolverImpl.deploy(ResolverImpl.java:569)[51:org.apache.felix.bundlerepository:2.0.4]
at
org.apache.karaf.obr.command.ObrCommandSupport.doDeploy(ObrCommandSupport.java:168)[52:org.apache.karaf.obr.core:4.0.0]
at
org.apache.karaf.obr.command.DeployCommand.doExecute(DeployCommand.java:41)[52:org.apache.karaf.obr.core:4.0.0]
at
org.apache.karaf.obr.command.ObrCommandSupport.execute(ObrCommandSupport.java:58)[52:org.apache.karaf.obr.core:4.0.0]
at
org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[43:org.apache.karaf.shell.core:4.0.0]
at
org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[43:org.apache.karaf.shell.core:4.0.0]
at
org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[43:org.apache.karaf.shell.core:4.0.0]
at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[43:org.apache.karaf.shell.core:4.0.0]
at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[43:org.apache.karaf.shell.core:4.0.0]
at
org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[43:org.apache.karaf.shell.core:4.0.0]
at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[43:org.apache.karaf.shell.core:4.0.0]
at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[43:org.apache.karaf.shell.core:4.0.0]
at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[43:org.apache.karaf.shell.core:4.0.0]
at
org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:267)[43:org.apache.karaf.shell.core:4.0.0]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_51]
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)