It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to kill runaway job (due to java.lang.NullPointerException)

We had a job running when during that time the MySQL server went away (and restarted soon after) but this resulted in a runaway job which when trying to 'stop' it, resulted in the NPE:

 

Version: 6.10.4
Build: 61009
Build Date: 21 Nov 2019

Request information:

  • Request URL: http://<our url>:8085/build/admin/stopPlan.action
  • Port: 8085
  • URI: /build/admin/stopPlan.action
  • Context path:
  • Servlet path: /build/admin/stopPlan.action
  • Path info:
  • Query string: planResultKey=KMT-DEPLOY-16493&returnUrl=%2Fbrowse%2FKMT-DEPLOY-16493

Stack Trace: is too big, thus linked here

 

So how to we kill the running job now without restarting bamboo entirely? 

1 answer

1 accepted

0 votes
Answer accepted

What you observe is most probably the data integrity issue caused by MySQL outage. The build cannot be stopped because there's nothing that should be in fact stopped.

IMO restarting Bamboo Server is the best course of action.

Thanks, seems like the best way to go indeed.

...

After restarting bamboo itself, everything was back to normal. The weird thing is though that before restarting bamboo the other pages still kept working (or atleast seemed to have recovered)

 

Ow well, let's just chalk this up to a mysql outage and just restart bamboo

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.0 is here!

  Hello Community, I’m Martyna Wojtas, product manager on Bamboo, and I'm happy to announce that Bamboo 7.0 is here! In this platform release, we have improved the Bamboo experience for eve...

2,087 views 43 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you