java.lang.NullPointerException

Atlassian JIRA | Felipe Cuozzo | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The RequestFactory cannot be created using com.atlassian.jira.ComponentManager.getOSGiComponentInstanceOfType(ComponentManager.java:503). Probably related to the bug on Atlassian Rest Module - issue key: REST-161 osgi.container.felix.FelixOsgiContainerManager Framework error in bundle com.atlassian.plugins.rest.atlassian-rest-module org.osgi.framework.ServiceException: Service factory exception: Can't create RequestFactory for non OsgiPlugin at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:310) at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:220) at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:294) at org.apache.felix.framework.Felix.getService(Felix.java:2913) at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330) at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:442) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261) at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:430) at com.atlassian.jira.ComponentManager.getServiceTracker(ComponentManager.java:527) at com.atlassian.jira.ComponentManager.getOSGiComponentInstanceOfType(ComponentManager.java:503) at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.<init>(ApplinksBambooAjaxRequest.java:34) at com.atlassian.jira.plugin.ext.bamboo.request.BambooRequestFactoryImpl.create(BambooRequestFactoryImpl.java:19) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromUrl(BambooServerAccessorImpl.java:95) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromAction(BambooServerAccessorImpl.java:88) at com.atlassian.jira.plugin.ext.bamboo.web.ViewBambooPanelContent.doExecute(ViewBambooPanelContent.java:107) at webwork.action.ActionSupport.execute(ActionSupport.java:165) Caused by: java.lang.IllegalStateException: Can't create RequestFactory for non OsgiPlugin at com.atlassian.plugins.rest.module.jersey.JerseyRequestFactoryServiceFactory.getService(JerseyRequestFactoryServiceFactory.java:37) at org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory.getService(PublishingServiceFactory.java:105) at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306) java.lang.NullPointerException at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.getRequest(ApplinksBambooAjaxRequest.java:56) at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.execute(ApplinksBambooAjaxRequest.java:86) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromUrl(BambooServerAccessorImpl.java:113) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromAction(BambooServerAccessorImpl.java:88) at com.atlassian.jira.plugin.ext.bamboo.web.ViewBambooPanelContent.doExecute(ViewBambooPanelContent.java:107) at webwork.action.ActionSupport.execute(ActionSupport.java:165)

    Atlassian JIRA | 6 years ago | Felipe Cuozzo
    java.lang.NullPointerException
  2. 0

    The RequestFactory cannot be created using com.atlassian.jira.ComponentManager.getOSGiComponentInstanceOfType(ComponentManager.java:503). Probably related to the bug on Atlassian Rest Module - issue key: REST-161 osgi.container.felix.FelixOsgiContainerManager Framework error in bundle com.atlassian.plugins.rest.atlassian-rest-module org.osgi.framework.ServiceException: Service factory exception: Can't create RequestFactory for non OsgiPlugin at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:310) at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:220) at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:294) at org.apache.felix.framework.Felix.getService(Felix.java:2913) at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330) at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:442) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261) at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:430) at com.atlassian.jira.ComponentManager.getServiceTracker(ComponentManager.java:527) at com.atlassian.jira.ComponentManager.getOSGiComponentInstanceOfType(ComponentManager.java:503) at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.<init>(ApplinksBambooAjaxRequest.java:34) at com.atlassian.jira.plugin.ext.bamboo.request.BambooRequestFactoryImpl.create(BambooRequestFactoryImpl.java:19) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromUrl(BambooServerAccessorImpl.java:95) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromAction(BambooServerAccessorImpl.java:88) at com.atlassian.jira.plugin.ext.bamboo.web.ViewBambooPanelContent.doExecute(ViewBambooPanelContent.java:107) at webwork.action.ActionSupport.execute(ActionSupport.java:165) Caused by: java.lang.IllegalStateException: Can't create RequestFactory for non OsgiPlugin at com.atlassian.plugins.rest.module.jersey.JerseyRequestFactoryServiceFactory.getService(JerseyRequestFactoryServiceFactory.java:37) at org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory.getService(PublishingServiceFactory.java:105) at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306) java.lang.NullPointerException at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.getRequest(ApplinksBambooAjaxRequest.java:56) at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.execute(ApplinksBambooAjaxRequest.java:86) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromUrl(BambooServerAccessorImpl.java:113) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromAction(BambooServerAccessorImpl.java:88) at com.atlassian.jira.plugin.ext.bamboo.web.ViewBambooPanelContent.doExecute(ViewBambooPanelContent.java:107) at webwork.action.ActionSupport.execute(ActionSupport.java:165)

    Atlassian JIRA | 6 years ago | Felipe Cuozzo
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.getRequest()
    2. com.atlassian.jira
      ViewBambooPanelContent.doExecute
      1. com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.getRequest(ApplinksBambooAjaxRequest.java:56)
      2. com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.execute(ApplinksBambooAjaxRequest.java:86)
      3. com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromUrl(BambooServerAccessorImpl.java:113)
      4. com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromAction(BambooServerAccessorImpl.java:88)
      5. com.atlassian.jira.plugin.ext.bamboo.web.ViewBambooPanelContent.doExecute(ViewBambooPanelContent.java:107)
      5 frames
    3. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.execute(ActionSupport.java:165)
      1 frame