Announcement Announcement Module
Collapse
No announcement yet.
Roo loads but hangs on any command, including 'hint' Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo loads but hangs on any command, including 'hint'

    I'm using STS 3.1.0.RELEASE which includes 1.2.2.RELEASE [rev 7d75659]. The roo shell appears to load fine because I receive the "Welcome to Spring Roo. For assistance press CTRL+SPACE or type "hint" then hit ENTER." message.

    If I simply issue the "hint" command, the roo shell hangs on executing that command. The STS "Progress" tab just shows a progress indicator saying it's executing the 'hint' command. Anyone have an idea what's going on and how I can remedy this?

    I have two projects in STS that were working just fine until roo started hanging. I'm at a loss.

  • #2
    Thread dump added to JIRA ticket

    I've opened a ticket (https://issuetracker.springsource.com/browse/STS-3030) and the thread dump is attached to that ticket.

    Comment


    • #3
      Issue Resolved!

      Originally posted by patjnolan View Post
      I've opened a ticket (https://issuetracker.springsource.com/browse/STS-3030) and the thread dump is attached to that ticket.
      I fell victim to an open bug https://issuetracker.springsource.com/browse/STS-1931. Once i deleted .spring_roo_pgp.bpg, the problem went away.

      Comment


      • #4
        I am having a similar problem, I get the welcome screen for Roo.sh, I am using an Apple MacBook Pro. I was able to use Roo before but it stopped working, it is asking for a security file, gives me a series of exceptions and then freezes:
        macbook-pro-1:~ evoporto$ roo.sh
        ____ ____ ____
        / __ \/ __ \/ __ \
        / /_/ / / / / / / /
        / _, _/ /_/ / /_/ /
        /_/ |_|\____/\____/ 1.2.2.RELEASE [rev 7d75659]


        Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
        [org.springframework.roo.felix [48]] [org.springframework.roo.felix.pgp.PgpServiceImpl] The activate method has thrown an exception
        org.apache.felix.log.LogException: java.lang.IllegalArgumentException: Unable to get trusted keys
        at org.springframework.roo.felix.pgp.PgpServiceImpl.g etTrustedKeys(PgpServiceImpl.java:166)
        at org.springframework.roo.felix.pgp.PgpServiceImpl.t rust(PgpServiceImpl.java:457)
        at org.springframework.roo.felix.pgp.PgpServiceImpl.t rustDefaultKeys(PgpServiceImpl.java:499)
        at org.springframework.roo.felix.pgp.PgpServiceImpl.t rustDefaultKeysIfRequired(PgpServiceImpl.java:401)
        at org.springframework.roo.felix.pgp.PgpServiceImpl.a ctivate(PgpServiceImpl.java:394)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.felix.scr.impl.helper.BaseMethod.invoke Method(BaseMethod.java:227)
        at org.apache.felix.scr.impl.helper.BaseMethod.access $500(BaseMethod.java:38)
        at org.apache.felix.scr.impl.helper.BaseMethod$Resolv ed.invoke(BaseMethod.java:591)
        at org.apache.felix.scr.impl.helper.BaseMethod.invoke (BaseMethod.java:472)
        at org.apache.felix.scr.impl.helper.ActivateMethod.in voke(ActivateMethod.java:146)
        at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createImplementationObject(ImmediateComp onentManager.java:226)
        at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createComponent(ImmediateComponentManage r.java:118)
        at org.apache.felix.scr.impl.manager.DelayedComponent Manager.createRealComponent(DelayedComponentManage r.java:95)
        at org.apache.felix.scr.impl.manager.AbstractComponen tManager$Registered.getService(AbstractComponentMa nager.java:1148)
        at org.apache.felix.scr.impl.manager.DelayedComponent Manager.getService(DelayedComponentManager.java:88 )
        at org.apache.felix.framework.ServiceRegistrationImpl .getFactoryUnchecked(ServiceRegistrationImpl.java: 310)
        at org.apache.felix.framework.ServiceRegistrationImpl .getService(ServiceRegistrationImpl.java:221)
        at org.apache.felix.framework.ServiceRegistry.getServ ice(ServiceRegistry.java:297)
        at org.apache.felix.framework.Felix.getService(Felix. java:3139)
        at org.apache.felix.framework.BundleContextImpl.getSe rvice(BundleContextImpl.java:411)
        at org.apache.felix.scr.impl.manager.DependencyManage r.getService(DependencyManager.java:785)
        at org.apache.felix.scr.impl.manager.DependencyManage r$1.getInstance(DependencyManager.java:1039)
        at org.apache.felix.scr.impl.helper.BindMethod.getPar ameters(BindMethod.java:564)
        at org.apache.felix.scr.impl.helper.BaseMethod.invoke Method(BaseMethod.java:226)
        at org.apache.felix.scr.impl.helper.BaseMethod.access $500(BaseMethod.java:38)
        at org.apache.felix.scr.impl.helper.BaseMethod$Resolv ed.invoke(BaseMethod.java:591)
        at org.apache.felix.scr.impl.helper.BaseMethod$NotRes olved.invoke(BaseMethod.java:548)
        at org.apache.felix.scr.impl.helper.BaseMethod.invoke (BaseMethod.java:472)
        at org.apache.felix.scr.impl.manager.DependencyManage r.invokeBindMethod(DependencyManager.java:1028)
        at org.apache.felix.scr.impl.manager.DependencyManage r.bind(DependencyManager.java:944)
        at org.apache.felix.scr.impl.manager.DependencyManage r.open(DependencyManager.java:868)
        at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createImplementationObject(ImmediateComp onentManager.java:200)
        at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createComponent(ImmediateComponentManage r.java:118)
        at org.apache.felix.scr.impl.manager.AbstractComponen tManager$Unsatisfied.activate(AbstractComponentMan ager.java:997)
        at org.apache.felix.scr.impl.manager.AbstractComponen tManager.activateInternal(AbstractComponentManager .java:333)
        at org.apache.felix.scr.impl.manager.DependencyManage r.serviceAdded(DependencyManager.java:283)
        at org.apache.felix.scr.impl.manager.DependencyManage r.serviceChanged(DependencyManager.java:170)
        at org.apache.felix.framework.util.EventDispatcher.in vokeServiceListenerCallback(EventDispatcher.java:8 71)
        at org.apache.felix.framework.util.EventDispatcher.fi reEventImmediately(EventDispatcher.java:733)
        at org.apache.felix.framework.util.EventDispatcher.fi reServiceEvent(EventDispatcher.java:662)
        at org.apache.felix.framework.Felix.fireServiceEvent( Felix.java:3890)
        at org.apache.felix.framework.Felix.access$000(Felix. java:79)
        at org.apache.felix.framework.Felix$2.serviceChanged( Felix.java:728)
        at org.apache.felix.framework.ServiceRegistry.registe rService(ServiceRegistry.java:107)
        at org.apache.felix.framework.Felix.registerService(F elix.java:2979)
        at org.apache.felix.framework.BundleContextImpl.regis terService(BundleContextImpl.java:313)
        at org.apache.felix.scr.impl.manager.AbstractComponen tManager.registerService(AbstractComponentManager. java:449)
        at org.apache.felix.scr.impl.manager.AbstractComponen tManager.registerComponentService(AbstractComponen tManager.java:460)
        at org.apache.felix.scr.impl.manager.AbstractComponen tManager$Unsatisfied.activate(AbstractComponentMan ager.java:1009)
        at org.apache.felix.scr.impl.manager.AbstractComponen tManager.activateInternal(AbstractComponentManager .java:333)
        at org.apache.felix.scr.impl.manager.DependencyManage r.serviceAdded(DependencyManager.java:283)
        at org.apache.felix.scr.impl.manager.DependencyManage r.serviceChanged(DependencyManager.java:170)
        at org.apache.felix.framework.util.EventDispatcher.in vokeServiceListenerCallback(EventDispatcher.java:8 71)
        at org.apache.felix.framework.util.EventDispatcher.fi reEventImmediately(EventDispatcher.java:733)
        at org.apache.felix.framework.util.EventDispatcher.fi reServiceEvent(EventDispatcher.java:662)
        at org.apache.felix.framework.Felix.fireServiceEvent( Felix.java:3890)
        at org.apache.felix.framework.Felix.access$000(Felix. java:79)
        at org.apache.felix.framework.Felix$2.serviceChanged( Felix.java:728)
        at org.apache.felix.framework.ServiceRegistry.registe rService(ServiceRegistry.java:107)
        at org.apache.felix.framework.Felix.registerService(F elix.java:2979)
        at org.apache.felix.framework.BundleContextImpl.regis terService(BundleContextImpl.java:313)
        at org.apache.felix.scr.impl.manager.AbstractComponen tManager.registerService(AbstractComponentManager. java:449)
        at org.apache.felix.scr.impl.manager.AbstractComponen tManager.registerComponentService(AbstractComponen tManager.java:460)

        Comment


        • #5
          My issue was also resolved

          I deleted the .spring-roo... file in my home directory and that fixed the problem. Thank you all!




          Originally posted by evoporto View Post
          I am having a similar problem, I get the welcome screen for Roo.sh, I am using an Apple MacBook Pro. I was able to use Roo before but it stopped working, it is asking for a security file, gives me a series of exceptions and then freezes:
          macbook-pro-1:~ evoporto$ roo.sh
          ____ ____ ____
          / __ \/ __ \/ __ \
          / /_/ / / / / / / /
          / _, _/ /_/ / /_/ /
          /_/ |_|\____/\____/ 1.2.2.RELEASE [rev 7d75659]


          Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
          [org.springframework.roo.felix [48]] [org.springframework.roo.felix.pgp.PgpServiceImpl] The activate method has thrown an exception
          org.apache.felix.log.LogException: java.lang.IllegalArgumentException: Unable to get trusted keys
          at org.springframework.roo.felix.pgp.PgpServiceImpl.g etTrustedKeys(PgpServiceImpl.java:166)
          at org.springframework.roo.felix.pgp.PgpServiceImpl.t rust(PgpServiceImpl.java:457)
          at org.springframework.roo.felix.pgp.PgpServiceImpl.t rustDefaultKeys(PgpServiceImpl.java:499)
          at org.springframework.roo.felix.pgp.PgpServiceImpl.t rustDefaultKeysIfRequired(PgpServiceImpl.java:401)
          at org.springframework.roo.felix.pgp.PgpServiceImpl.a ctivate(PgpServiceImpl.java:394)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.apache.felix.scr.impl.helper.BaseMethod.invoke Method(BaseMethod.java:227)
          at org.apache.felix.scr.impl.helper.BaseMethod.access $500(BaseMethod.java:38)
          at org.apache.felix.scr.impl.helper.BaseMethod$Resolv ed.invoke(BaseMethod.java:591)
          at org.apache.felix.scr.impl.helper.BaseMethod.invoke (BaseMethod.java:472)
          at org.apache.felix.scr.impl.helper.ActivateMethod.in voke(ActivateMethod.java:146)
          at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createImplementationObject(ImmediateComp onentManager.java:226)
          at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createComponent(ImmediateComponentManage r.java:118)
          at org.apache.felix.scr.impl.manager.DelayedComponent Manager.createRealComponent(DelayedComponentManage r.java:95)
          at org.apache.felix.scr.impl.manager.AbstractComponen tManager$Registered.getService(AbstractComponentMa nager.java:1148)
          at org.apache.felix.scr.impl.manager.DelayedComponent Manager.getService(DelayedComponentManager.java:88 )
          at org.apache.felix.framework.ServiceRegistrationImpl .getFactoryUnchecked(ServiceRegistrationImpl.java: 310)
          at org.apache.felix.framework.ServiceRegistrationImpl .getService(ServiceRegistrationImpl.java:221)
          at org.apache.felix.framework.ServiceRegistry.getServ ice(ServiceRegistry.java:297)
          at org.apache.felix.framework.Felix.getService(Felix. java:3139)
          at org.apache.felix.framework.BundleContextImpl.getSe rvice(BundleContextImpl.java:411)
          at org.apache.felix.scr.impl.manager.DependencyManage r.getService(DependencyManager.java:785)
          at org.apache.felix.scr.impl.manager.DependencyManage r$1.getInstance(DependencyManager.java:1039)
          at org.apache.felix.scr.impl.helper.BindMethod.getPar ameters(BindMethod.java:564)
          at org.apache.felix.scr.impl.helper.BaseMethod.invoke Method(BaseMethod.java:226)
          at org.apache.felix.scr.impl.helper.BaseMethod.access $500(BaseMethod.java:38)
          at org.apache.felix.scr.impl.helper.BaseMethod$Resolv ed.invoke(BaseMethod.java:591)
          at org.apache.felix.scr.impl.helper.BaseMethod$NotRes olved.invoke(BaseMethod.java:548)
          at org.apache.felix.scr.impl.helper.BaseMethod.invoke (BaseMethod.java:472)
          at org.apache.felix.scr.impl.manager.DependencyManage r.invokeBindMethod(DependencyManager.java:1028)
          at org.apache.felix.scr.impl.manager.DependencyManage r.bind(DependencyManager.java:944)
          at org.apache.felix.scr.impl.manager.DependencyManage r.open(DependencyManager.java:868)
          at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createImplementationObject(ImmediateComp onentManager.java:200)
          at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createComponent(ImmediateComponentManage r.java:118)
          at org.apache.felix.scr.impl.manager.AbstractComponen tManager$Unsatisfied.activate(AbstractComponentMan ager.java:997)
          at org.apache.felix.scr.impl.manager.AbstractComponen tManager.activateInternal(AbstractComponentManager .java:333)
          at org.apache.felix.scr.impl.manager.DependencyManage r.serviceAdded(DependencyManager.java:283)
          at org.apache.felix.scr.impl.manager.DependencyManage r.serviceChanged(DependencyManager.java:170)
          at org.apache.felix.framework.util.EventDispatcher.in vokeServiceListenerCallback(EventDispatcher.java:8 71)
          at org.apache.felix.framework.util.EventDispatcher.fi reEventImmediately(EventDispatcher.java:733)
          at org.apache.felix.framework.util.EventDispatcher.fi reServiceEvent(EventDispatcher.java:662)
          at org.apache.felix.framework.Felix.fireServiceEvent( Felix.java:3890)
          at org.apache.felix.framework.Felix.access$000(Felix. java:79)
          at org.apache.felix.framework.Felix$2.serviceChanged( Felix.java:728)
          at org.apache.felix.framework.ServiceRegistry.registe rService(ServiceRegistry.java:107)
          at org.apache.felix.framework.Felix.registerService(F elix.java:2979)
          at org.apache.felix.framework.BundleContextImpl.regis terService(BundleContextImpl.java:313)
          at org.apache.felix.scr.impl.manager.AbstractComponen tManager.registerService(AbstractComponentManager. java:449)
          at org.apache.felix.scr.impl.manager.AbstractComponen tManager.registerComponentService(AbstractComponen tManager.java:460)
          at org.apache.felix.scr.impl.manager.AbstractComponen tManager$Unsatisfied.activate(AbstractComponentMan ager.java:1009)
          at org.apache.felix.scr.impl.manager.AbstractComponen tManager.activateInternal(AbstractComponentManager .java:333)
          at org.apache.felix.scr.impl.manager.DependencyManage r.serviceAdded(DependencyManager.java:283)
          at org.apache.felix.scr.impl.manager.DependencyManage r.serviceChanged(DependencyManager.java:170)
          at org.apache.felix.framework.util.EventDispatcher.in vokeServiceListenerCallback(EventDispatcher.java:8 71)
          at org.apache.felix.framework.util.EventDispatcher.fi reEventImmediately(EventDispatcher.java:733)
          at org.apache.felix.framework.util.EventDispatcher.fi reServiceEvent(EventDispatcher.java:662)
          at org.apache.felix.framework.Felix.fireServiceEvent( Felix.java:3890)
          at org.apache.felix.framework.Felix.access$000(Felix. java:79)
          at org.apache.felix.framework.Felix$2.serviceChanged( Felix.java:728)
          at org.apache.felix.framework.ServiceRegistry.registe rService(ServiceRegistry.java:107)
          at org.apache.felix.framework.Felix.registerService(F elix.java:2979)
          at org.apache.felix.framework.BundleContextImpl.regis terService(BundleContextImpl.java:313)
          at org.apache.felix.scr.impl.manager.AbstractComponen tManager.registerService(AbstractComponentManager. java:449)
          at org.apache.felix.scr.impl.manager.AbstractComponen tManager.registerComponentService(AbstractComponen tManager.java:460)

          Comment

          Working...
          X