Beekeeper is not available

Article ID:360025176152
1 minute readKnowledge base

Issue

Beekeeper Upgrade Assistant shows "Beekeeper is not available".

Beekeeper is not available

The logs shows something similar to:

2019-03-17 20:08:06.830+0000 [id=249]   WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: it.viewData in /beekeeper/. Reason: java.lang.reflect.InvocationTargetException
java.lang.NullPointerException
    at com.cloudbees.jenkins.plugins.assurance.UpgradeAction.inProgressSummary(UpgradeAction.java:592)
    at com.cloudbees.jenkins.plugins.assurance.UpgradeAction.getViewData(UpgradeAction.java:565)
    at com.cloudbees.jenkins.plugins.assurance.UpgradeAction.getSectionSummary(UpgradeAction.java:625)
    at com.cloudbees.jenkins.plugins.assurance.CloudBeesAssurance$ViewData.<init>(CloudBeesAssurance.java:709)
    at com.cloudbees.jenkins.plugins.assurance.CloudBeesAssurance$ViewData.<init>(CloudBeesAssurance.java:688)
    at com.cloudbees.jenkins.plugins.assurance.CloudBeesAssurance.getViewData(CloudBeesAssurance.java:655)
...

Resolution

  1. Delete $JENKINS_HOME/cb-envelope/envelope.json.staged

  2. Restart instance

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.