java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This was originally tracked at Roo's JIRA (https://jira.springsource.org/browse/ROO-2804), James Tyrrell asked me for track it here. Installing Cloud Foundy add-on in STS Roo shell with both issuing the command "addon install bundle --bundleSymbolicName org.springframework.roo.addon.cloud.foundry;1.1.5.RELEASE" and with the "Roo Add-on Manager" doesn't work. Here you are the exception in Eclipse logs {noformat} !ENTRY com.springsource.sts.roo.core 4 0 2011-09-30 09:59:33.140 !MESSAGE Internal Error !STACK 0 java.lang.NullPointerException at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.installOrUpgradeAddOn(AddOnRooBotEclipseOperationsImpl.java:115) at org.springframework.roo.addon.roobot.eclipse.client.AddOnEclipseCommands.install(AddOnEclipseCommands.java:36) at org.springframework.roo.shell.eclipse.Bootstrap.install(Bootstrap.java:291) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate.doInstall(RooAddOnManagerActionDelegate.java:105) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate.access$0(RooAddOnManagerActionDelegate.java:84) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate$1.run(RooAddOnManagerActionDelegate.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.springsource.sts.roo.ui 4 0 2011-09-30 09:59:33.140 !MESSAGE One or more install operations failed. !SUBENTRY 1 com.springsource.sts.roo.ui 4 0 2011-09-30 09:59:33.140 !MESSAGE Installation of org.springframework.roo.addon.cloud.foundry[1.1.5.RELEASE] failed !SUBENTRY 2 com.springsource.sts.roo.core 4 0 2011-09-30 09:59:33.140 !MESSAGE RooBot Eclipse Service is not available. {noformat} I guess that this is not a desired behavior, since Roo Add-on Manager allows to install Cloud Foundry add-on.
    via by Oscar Rovira (DiSiD),
  • Installing Cloud Foundy add-on in STS Roo shell with both issuing the command "addon install bundle --bundleSymbolicName org.springframework.roo.addon.cloud.foundry;1.1.5.RELEASE" and with the "Roo Add-on Manager" doesn't work. Here you are the exception in Eclipse logs {noformat}!ENTRY com.springsource.sts.roo.core 4 0 2011-09-30 09:59:33.140 !MESSAGE Internal Error !STACK 0 java.lang.NullPointerException at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.installOrUpgradeAddOn(AddOnRooBotEclipseOperationsImpl.java:115) at org.springframework.roo.addon.roobot.eclipse.client.AddOnEclipseCommands.install(AddOnEclipseCommands.java:36) at org.springframework.roo.shell.eclipse.Bootstrap.install(Bootstrap.java:291) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate.doInstall(RooAddOnManagerActionDelegate.java:105) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate.access$0(RooAddOnManagerActionDelegate.java:84) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate$1.run(RooAddOnManagerActionDelegate.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.springsource.sts.roo.ui 4 0 2011-09-30 09:59:33.140 !MESSAGE One or more install operations failed. !SUBENTRY 1 com.springsource.sts.roo.ui 4 0 2011-09-30 09:59:33.140 !MESSAGE Installation of org.springframework.roo.addon.cloud.foundry[1.1.5.RELEASE] failed !SUBENTRY 2 com.springsource.sts.roo.core 4 0 2011-09-30 09:59:33.140 !MESSAGE RooBot Eclipse Service is not available. {noformat} I guess that this is not a desired behavior, since Roo Add-on Manager allows to install Cloud Foundry add-on.
    via by Oscar Rovira (DiSiD),
  • Installing Cloud Foundy add-on in STS Roo shell with both issuing the command "addon install bundle --bundleSymbolicName org.springframework.roo.addon.cloud.foundry;1.1.5.RELEASE" and with the "Roo Add-on Manager" doesn't work. Here you are the exception in Eclipse logs {noformat}!ENTRY com.springsource.sts.roo.core 4 0 2011-09-30 09:59:33.140 !MESSAGE Internal Error !STACK 0 java.lang.NullPointerException at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.installOrUpgradeAddOn(AddOnRooBotEclipseOperationsImpl.java:115) at org.springframework.roo.addon.roobot.eclipse.client.AddOnEclipseCommands.install(AddOnEclipseCommands.java:36) at org.springframework.roo.shell.eclipse.Bootstrap.install(Bootstrap.java:291) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate.doInstall(RooAddOnManagerActionDelegate.java:105) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate.access$0(RooAddOnManagerActionDelegate.java:84) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate$1.run(RooAddOnManagerActionDelegate.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.springsource.sts.roo.ui 4 0 2011-09-30 09:59:33.140 !MESSAGE One or more install operations failed. !SUBENTRY 1 com.springsource.sts.roo.ui 4 0 2011-09-30 09:59:33.140 !MESSAGE Installation of org.springframework.roo.addon.cloud.foundry[1.1.5.RELEASE] failed !SUBENTRY 2 com.springsource.sts.roo.core 4 0 2011-09-30 09:59:33.140 !MESSAGE RooBot Eclipse Service is not available. {noformat} I guess that this is not a desired behavior, since Roo Add-on Manager allows to install Cloud Foundry add-on.
    via by Oscar Rovira (DiSiD),
  • This was originally tracked at Roo's JIRA (https://jira.springsource.org/browse/ROO-2804), James Tyrrell asked me for track it here. Installing Cloud Foundy add-on in STS Roo shell with both issuing the command "addon install bundle --bundleSymbolicName org.springframework.roo.addon.cloud.foundry;1.1.5.RELEASE" and with the "Roo Add-on Manager" doesn't work. Here you are the exception in Eclipse logs {noformat} !ENTRY com.springsource.sts.roo.core 4 0 2011-09-30 09:59:33.140 !MESSAGE Internal Error !STACK 0 java.lang.NullPointerException at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.installOrUpgradeAddOn(AddOnRooBotEclipseOperationsImpl.java:115) at org.springframework.roo.addon.roobot.eclipse.client.AddOnEclipseCommands.install(AddOnEclipseCommands.java:36) at org.springframework.roo.shell.eclipse.Bootstrap.install(Bootstrap.java:291) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate.doInstall(RooAddOnManagerActionDelegate.java:105) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate.access$0(RooAddOnManagerActionDelegate.java:84) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate$1.run(RooAddOnManagerActionDelegate.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.springsource.sts.roo.ui 4 0 2011-09-30 09:59:33.140 !MESSAGE One or more install operations failed. !SUBENTRY 1 com.springsource.sts.roo.ui 4 0 2011-09-30 09:59:33.140 !MESSAGE Installation of org.springframework.roo.addon.cloud.foundry[1.1.5.RELEASE] failed !SUBENTRY 2 com.springsource.sts.roo.core 4 0 2011-09-30 09:59:33.140 !MESSAGE RooBot Eclipse Service is not available. {noformat} I guess that this is not a desired behavior, since Roo Add-on Manager allows to install Cloud Foundry add-on.
    via by Oscar Rovira (DiSiD),
    • java.lang.NullPointerException at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.installOrUpgradeAddOn(AddOnRooBotEclipseOperationsImpl.java:115) at org.springframework.roo.addon.roobot.eclipse.client.AddOnEclipseCommands.install(AddOnEclipseCommands.java:36) at org.springframework.roo.shell.eclipse.Bootstrap.install(Bootstrap.java:291) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate.doInstall(RooAddOnManagerActionDelegate.java:105) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate.access$0(RooAddOnManagerActionDelegate.java:84) at com.springsource.sts.roo.ui.internal.actions.RooAddOnManagerActionDelegate$1.run(RooAddOnManagerActionDelegate.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    No Bugmate found.