karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (KARAF-3786) ClassCastException in OBR module
Date Mon, 21 Sep 2015 04:57:04 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré reassigned KARAF-3786:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> ClassCastException in OBR module
> --------------------------------
>
>                 Key: KARAF-3786
>                 URL: https://issues.apache.org/jira/browse/KARAF-3786
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.0.M3
>            Reporter: viasyn
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.5, 4.0.1
>
>
> Sometimes when performing obr:deploy I getting the following stacktrace:
> {code}
> 2015-06-15 15:04:25,540 | ERROR | nsole user karaf | ShellUtil                      
 | 42 - org.apache.karaf.shell.core - 4.0.0.M3 | 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)[50:org.apache.felix.bundlerepository:2.0.4]
> 	at org.apache.felix.bundlerepository.impl.ResolverImpl.deploy(ResolverImpl.java:569)[50:org.apache.felix.bundlerepository:2.0.4]
> 	at org.apache.karaf.obr.command.ObrCommandSupport.doDeploy(ObrCommandSupport.java:168)[51:org.apache.karaf.obr.core:4.0.0.M3]
> 	at org.apache.karaf.obr.command.DeployCommand.doExecute(DeployCommand.java:41)[51:org.apache.karaf.obr.core:4.0.0.M3]
> 	at org.apache.karaf.obr.command.ObrCommandSupport.execute(ObrCommandSupport.java:58)[51:org.apache.karaf.obr.core:4.0.0.M3]
> 	at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[42:org.apache.karaf.shell.core:4.0.0.M3]
> 	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[42:org.apache.karaf.shell.core:4.0.0.M3]
> 	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[42:org.apache.karaf.shell.core:4.0.0.M3]
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[42:org.apache.karaf.shell.core:4.0.0.M3]
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[42:org.apache.karaf.shell.core:4.0.0.M3]
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[42:org.apache.karaf.shell.core:4.0.0.M3]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[42:org.apache.karaf.shell.core:4.0.0.M3]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[42:org.apache.karaf.shell.core:4.0.0.M3]
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[42:org.apache.karaf.shell.core:4.0.0.M3]
> 	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:267)[42:org.apache.karaf.shell.core:4.0.0.M3]
> 	at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message