Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3573

Cannot uninstall or update any osgi bundles

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Complete
    • Affects Version/s: 1.3.0.RELEASE
    • Fix Version/s: 1.3.1.RC2, 2.0.0.M1
    • Component/s: @ ROO SHELL
    • Labels:
      None
    • Environment:
      OS X 10.10.1, Java 1.8.0_05, Spring roo installed via "brew install spring-roo"

      Description

      Any attempt to update or uninstall an osgi bundle results in an exception:

      roo> osgi update --bundleSymbolicName org.apache.felix.gogo.runtime
      Cannot coerce update(Long) to any of [(Bundle, String), (Bundle)]
      java.lang.IllegalArgumentException: Cannot coerce update(Long) to any of [(Bundle, String), (Bundle)]
          at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:178)
          at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
          at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
          at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
          at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
          at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
          at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
          at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
          at org.springframework.roo.felix.FelixDelegator.perform(FelixDelegator.java:185)
          at org.springframework.roo.felix.FelixDelegator.update(FelixDelegator.java:298)
          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.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:47)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:325)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:71)
          at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:44)
          at org.springframework.roo.shell.AbstractShell.executeCommandImpl(AbstractShell.java:226)
          at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:136)
          at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:421)
          at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:539)
          at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              jcgarcia Juan Carlos García del Canto
              Reporter:
              phillipsinger Phillip Singer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: