karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1298) dev:watch does not work in some cases
Date Fri, 30 Mar 2012 07:44:39 GMT

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

Guillaume Nodet commented on KARAF-1298:
----------------------------------------

I have a patch for that. I'll commit it asap.
                
> dev:watch does not work in some cases
> -------------------------------------
>
>                 Key: KARAF-1298
>                 URL: https://issues.apache.org/jira/browse/KARAF-1298
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Christian Schneider
>            Assignee: Guillaume Nodet
>             Fix For: 3.0.0
>
>
> When working on the package commands I found that dev:watch sometimes does not fully
work.
> I did dev:watch *package*
> Then I changed the signature of PackageRequirement in package.core and also in command
and management. After compiling the modules dev:watch correctly updates the bundles.
> When I then call package:imports I get the exception below.
> So something does not seem to get updated. After a restart of Karaf it works.
> -----
> java.lang.NoSuchMethodError: org.apache.karaf.packages.core.PackageRequirement.<init>(Ljava/lang/String;ZLorg/osgi/framework/Bundle;Z)V
> 	at org.apache.karaf.packages.core.internal.PackageServiceImpl.getImports(PackageServiceImpl.java:79)
> 	at Proxy7d4ae25c_9716_4aa8_8da7_2cdb4e7d7537.getImports(Unknown Source)
> 	at Proxyb9bd982e_2f29_44db_a383_cdd05898400b.getImports(Unknown Source)
> 	at org.apache.karaf.packages.command.Imports.doExecute(Imports.java:40)
> 	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
> 	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
> 	at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
> 	at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_31]
> 	at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_31]
> 	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
> 	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
> 	at org.apache.karaf.shell.console.commands.$BlueprintCommand605017.execute(Unknown Source)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
> 	at org.apache.karaf.shell.console.jline.Console.run(Console.java:166)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
> 	at java.lang.Thread.run(Thread.java:662)[:1.6.0_31]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message