# Issue during version upgrade from 7.17.8 to 8.12.2

**URL:** <https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491>\
**Category:** Elasticsearch\
**Created:** [June 14, 2024, 12:43pm UTC](https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491 "2024-06-14T12:43:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mukularora89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mukularora89/32/126696_2.png) [@mukularora89](https://discuss.elastic.co/u/mukularora89)\
**Post date:** [June 14, 2024, 12:43pm UTC](https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491/1 "2024-06-14T12:43:47Z")

</div>

Hi,

I am trying to upgrade Kibana node from 7.17.8 to 8.12.2. So first we have installed Elasticsearch 8.12.2 on Kibana node and on elasticsearch service start I am getting below error

> java.lang.NullPointerException: Cannot invoke "org.elasticsearch.license.License.operationMode()" because "license" is null

---

<div class="post-metadata">

**Author:** ![mukularora89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mukularora89/32/126696_2.png) [@mukularora89](https://discuss.elastic.co/u/mukularora89)\
**Post date:** [June 14, 2024, 1:27pm UTC](https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491/2 "2024-06-14T13:27:57Z")

</div>

Category updated on June 14, 2024, 1:27pm UTC

From #Kibana to #Elasticsearch

---

<div class="post-metadata">

**Author:** ![mukularora89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mukularora89/32/126696_2.png) [@mukularora89](https://discuss.elastic.co/u/mukularora89)\
**Post date:** [June 15, 2024, 12:10pm UTC](https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491/3 "2024-06-15T12:10:43Z")

</div>

@DavidTurner @Christian_Dahlqvist please help here. Thanks

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [June 15, 2024, 12:47pm UTC](https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491/4 "2024-06-15T12:47:32Z")

</div>

No idea, sorry. Please don't ping random folks to draw them into a conversation. We're all volunteers here and it's really rather rude to demand attention like that.

---

<div class="post-metadata">

**Author:** ![mukularora89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mukularora89/32/126696_2.png) [@mukularora89](https://discuss.elastic.co/u/mukularora89)\
**Post date:** [June 15, 2024, 1:06pm UTC](https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491/5 "2024-06-15T13:06:56Z")

</div>

Apologies. Noted. Thanks

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 15, 2024, 2:06pm UTC](https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491/6 "2024-06-15T14:06:44Z")

</div>

If someone is going to be able to help I would recommend you provide more details about exactly the steps you have taken and what the environment look like. Also provide more of the logs so there is some context.

---

<div class="post-metadata">

**Author:** ![CTIDRV](https://avatars.discourse-cdn.com/v4/letter/c/c0e974/32.png) [@CTIDRV](https://discuss.elastic.co/u/CTIDRV)\
**Post date:** [July 25, 2024, 1:55pm UTC](https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491/7 "2024-07-25T13:55:13Z")

</div>

I have the same issue after upgrading my environment from 7.17 to 8.11.  
Sorry about bringing up an old topic. Googling my error only returned this page as a result.

My assumption from reading the documentation is that a new config value was added for licensing as I now see there is talk about free and subscription features. However, I was unable to find any reference to config values or how to update the config file with any of the upgrade documentation located.

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [July 25, 2024, 1:57pm UTC](https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491/8 "2024-07-25T13:57:07Z")

</div>

Hello and welcome,

Are you doing this same update path from 7.17.8 to 8.12.2? I would suggest that you open a new topic with your specific issue and share the logs you have with the error.

---

<div class="post-metadata">

**Author:** ![mukularora89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mukularora89/32/126696_2.png) [@mukularora89](https://discuss.elastic.co/u/mukularora89)\
**Post date:** [August 14, 2024, 2:52pm UTC](https://discuss.elastic.co/t/issue-during-version-upgrade-from-7-17-8-to-8-12-2/361491/9 "2024-08-14T14:52:26Z")

</div>

it got resolved by restarting the elasticsearch and kibana service again
