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

Not able to install addon from roo shell due to some cache issue.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.0.RELEASE
    • Fix Version/s: 2.0.0.M1
    • Component/s: @ ROO SHELL
    • Labels:
    • Environment:
      Mac OS X Yosemite, Java 6

      Description

      Find the log of errors below.
      roo> addon search gwt
      1 found, sorted by rank; T = trusted developer; R = Roo 1.3 compatible
      ID T R DESCRIPTION -------------------------------------------------------------
      01 Y Y 1.2.5.RELEASE Support for UI scaffolding using Google Web Toolkit.
      --------------------------------------------------------------------------------
      [HINT] use 'addon info id --searchResultId ..' to see details about a search result
      [HINT] use 'addon install id --searchResultId ..' to install a specific search result, or
      [HINT] use 'addon install bundle --bundleSymbolicName TAB' to install a specific add-on version
      roo> addon install id --searchResultId 01
      Command 'osgi obr url add --url http://spring-roo-repository.springsource.org/repository.xml' not found (for assistance press TAB or type "hint" then hit ENTER)
      addon search --requiresCommand "osgi obr url add" found no matches
      org.osgi.framework.BundleException: Unable to cache bundle: org.springframework.roo.addon.gwt
      at org.apache.felix.framework.Felix.installBundle(Felix.java:2878)
      at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)
      at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:138)
      at org.apache.felix.gogo.command.Basic.start(Basic.java:724)
      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: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.obrStart(FelixDelegator.java:146)
      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.addon.roobot.client.AddOnRooBotOperationsImpl.installOrUpgradeAddOn(AddOnRooBotOperationsImpl.java:478)
      at org.springframework.roo.addon.roobot.client.AddOnRooBotOperationsImpl.installAddon(AddOnRooBotOperationsImpl.java:396)
      at org.springframework.roo.addon.roobot.client.AddOnRooBotOperationsImpl.installAddOn(AddOnRooBotOperationsImpl.java:458)
      at org.springframework.roo.addon.roobot.client.AddOnCommands.installId(AddOnCommands.java:69)
      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)
      Caused by: java.net.MalformedURLException: no protocol: org.springframework.roo.addon.gwt
      at java.net.URL.<init>(URL.java:585)
      at org.apache.felix.framework.util.SecureAction.createURL(SecureAction.java:254)
      at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:148)
      at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:77)
      at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:878)
      at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:550)
      at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:153)
      at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:277)
      at org.apache.felix.framework.Felix.installBundle(Felix.java:2874)
      ... 44 more
      java.net.MalformedURLException: no protocol: org.springframework.roo.addon.gwt

      Command 'osgi obr url remove --url http://spring-roo-repository.springsource.org/repository.xml' not found (for assistance press TAB or type "hint" then hit ENTER)
      addon search --requiresCommand "osgi obr url remove" found no matches
      PGP verification of the bundle required

        Attachments

          Activity

            People

            • Assignee:
              jcgarcia Juan Carlos GarcĂ­a del Canto
              Reporter:
              ajinkyaghorpade Ajinkya Ghorpade
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: