Hello Guillaume;

I did a test with a fresh install of Felix distribution 4.6.0 and replaced
the old gogo.runtime-0.12.1 by the new candidate release
gogo.runtime-0.16.0; however I got the following exception:

$ java -jar bin/felix.jar
bundle://4.0:1/gosh_profile:6.1: IllegalArgumentException: Cannot coerce #
ensure gogo commands are found firs1; scope = gogo:1; # add methods on
bundlecontext object as command1; #addcommand context ${.context}
(${.context} class1; # bug: above invokes (string, object, string) instead
of (string, object, class1; addcommand context ${.context1; # add methods
on system object as command1; addcommand system (((${.context} bundles) 0)
loadclass java.lang.system1; # alias to print full stack trac1; e = {
$exception printstacktrace 1; ## disable console auto-formatting of each
resul1; # you will then need to explicitly use the 'format' comman1; # to
print the result of commands that don't write to stdout1; #.gogo.format =
fals1; ## disable printing the formatted result of a command into
pipeline1; #.format.pipe = fals1; # set promp1; prompt = 'g! 1; # print
welcome messag1; cat ($0 resolve motd)(Closure) to any of []
java.lang.IllegalArgumentException: Cannot coerce # ensure gogo commands
are found firs1; scope = gogo:1; # add methods on bundlecontext object as
command1; #addcommand context ${.context} (${.context} class1; # bug: above
invokes (string, object, string) instead of (string, object, class1;
addcommand context ${.context1; # add methods on system object as command1;
addcommand system (((${.context} bundles) 0) loadclass java.lang.system1; #
alias to print full stack trac1; e = { $exception printstacktrace 1; ##
disable console auto-formatting of each resul1; # you will then need to
explicitly use the 'format' comman1; # to print the result of commands that
don't write to stdout1; #.gogo.format = fals1; ## disable printing the
formatted result of a command into pipeline1; #.format.pipe = fals1; # set
promp1; prompt = 'g! 1; # print welcome messag1; cat ($0 resolve
motd)(Closure) to any of []
        at
org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:178)
        at
org.apache.felix.gogo.runtime.Closure.executeMethod(Closure.java:530)
        at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)
        at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
        at org.apache.felix.gogo.shell.Shell.source(Shell.java:192)
        at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
        at
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
        at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)
        at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)
        at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
        at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
        at java.lang.Thread.run(Thread.java:745)

my installed bundles are these ones:

$ ls bundle/
org.apache.felix.bundlerepository-2.0.2.jar
org.apache.felix.gogo.command-0.14.0.jar
org.apache.felix.gogo.runtime-0.16.0.jar
org.apache.felix.gogo.shell-0.10.0.jar

I also tried to recompile the runtime 0.16.0 bundle from the source, but I
got the same exception.

Is there a missing bundle that I should now also include, or is there a
real issue here ?

thank you;

/Pierre

On Thu, Mar 5, 2015 at 10:01 AM, Guillaume Nodet <[email protected]> wrote:

> Hi all,
>
> Here are a bunch of releases:
>   * bundlerepository 2.0.4
>
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12327159&projectId=12310100
>   * configadmin 1.8.2
>
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12324886&projectId=12310100
>
>   * fileinstall 3.5.0
>
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12328641&projectId=12310100
>   * goto-runtime 0.16.0
>
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12329377&projectId=12310100
>   * utils 1.8.0
>
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12329035&projectId=12310100
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachefelix-1054/
>
> You can use this UNIX script to download the release and verify the
> signatures:
> http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh
>
> Usage:
> sh check_staged_release.sh 1054 /tmp/felix-staging
>
> Please vote to approve this release:
>
> [ ] +1 Approve the release
> [ ] -1 Veto the release (please provide specific comments)
>
> This vote will be open for at least 72 hours.
>
> Cheers,
> Guillaume
>

Reply via email to