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

AutomaticProjectUpgradeService gives NPE if another bundle is missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0.M3
    • Fix Version/s: 1.1.0.RC1
    • Component/s: BUILD
    • Labels:
      None

      Description

      02/09/2010 9:52:40 AM org.springframework.roo.felix.JdkDelegatingLogListener logNow
      SEVERE: [org.springframework.roo.project [59]] [org.springframework.roo.project.AutomaticProjectUpgradeService] The activate method has thrown an exception
      java.lang.NullPointerException
      	at org.springframework.roo.project.AutomaticProjectUpgradeService.activate(AutomaticProjectUpgradeService.java:34)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:213)
      	at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
      	at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:542)
      	at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
      	at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:138)
      	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)
      	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:991)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:298)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.doRun(AbstractComponentManager.java:505)
      	at org.apache.felix.scr.impl.ComponentActivatorTask.run(ComponentActivatorTask.java:67)
      	at org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:96)
      	at java.lang.Thread.run(Thread.java:619)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              balex Ben Alex
              Reporter:
              balex Ben Alex
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: