Cloudbees Jenkins Operations Center Analytics Null Pointer Exception

Issue

A Null Pointer Exception is thrown by CloudBees Jenkins Operations Center Analytics:

```

2015-02-20 11:40:32.852+0100 [id=54]    WARNING c.c.o.s.model.ConnectedMaster#createNodeContext: Uncaught exception from com.cloudbees.opscenter.server.model.ConnectedMaster$RemoteContextContributorImpl@47e92e2d on ClientMaster{fullName=Development,uid=a3a30209-ccfa-40eb-a108-c1e8403c9bbd,state=Approved}
java.lang.NullPointerException
    at com.cloudbees.opscenter.context.ConnectionDetails.<init>(ConnectionDetails.java:42)
    at com.cloudbees.opscenter.server.model.ConnectedMaster$RemoteContextContributorImpl.contribute(ConnectedMaster.java:1652)
    at com.cloudbees.opscenter.server.model.ConnectedMaster$RemoteContextContributorImpl.contribute(ConnectedMaster.java:1645)
    at com.cloudbees.opscenter.server.model.ConnectedMaster.createNodeContext(ConnectedMaster.java:488)
    at com.cloudbees.opscenter.server.model.ConnectedMaster.getRemoteContext(ConnectedMaster.java:508)
    at com.cloudbees.opscenter.analytics.MasterReportingProperty$ConnectedMasterListenerImpl.updateContext(MasterReportingProperty.java:174)
    at com.cloudbees.opscenter.analytics.MasterReportingProperty$ConnectedMasterListenerImpl.onModified(MasterReportingProperty.java:168)
    at com.cloudbees.opscenter.server.model.ConnectedMasterListener$5.f(ConnectedMasterListener.java:112)
    at com.cloudbees.opscenter.server.model.ConnectedMasterListener.fire(ConnectedMasterListener.java:124)
    at com.cloudbees.opscenter.server.model.ConnectedMasterListener.fireOnModified(ConnectedMasterListener.java:110)
    at com.cloudbees.opscenter.server.model.ConnectedMaster.onModified(ConnectedMaster.java:283)
    at com.cloudbees.opscenter.server.model.ConnectedMaster$PropertyList.setOwner(ConnectedMaster.java:1445)
    at com.cloudbees.opscenter.server.model.ConnectedMaster.init(ConnectedMaster.java:310)
    at com.cloudbees.opscenter.server.model.ConnectedMaster.onCreatedFromScratch(ConnectedMaster.java:247)
    at hudson.model.ItemGroupMixIn.callOnCreatedFromScratch(ItemGroupMixIn.java:303)
    at hudson.model.ItemGroupMixIn.createProject(ItemGroupMixIn.java:285)
    at hudson.model.ItemGroupMixIn.createTopLevelItem(ItemGroupMixIn.java:195)
    at jenkins.model.Jenkins.doCreateItem(Jenkins.java:3030)

```

Environment

CloudBees Jenkins Operations Center

Operation Center Analytics Plugin v1.6

Resolution

Upgrade the Operation Center Analytics Plugin to v1.6.2

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.