Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Exception: Uncaught TypeError: Cannot read property 'errors' of undefined

Burim B January 25, 2021 edited

Hello,

I've tried the upgrade of Jira from 7.13.1 to 8.13.2. After the upgrade, I'm unable to use some of the filters in the kanban board, the details are here:

 

An error occurredHide…

Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues.

Details

1.

Exception: Uncaught TypeError: Cannot read property 'errors' of undefined
Resource: https://xxxx/s/aed7dffa1621e3a3f80f2ba51e28858b-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/7e94c30f3a266c8de57bc0a2edf479c8/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true
Line: 5924
Column: 521
2.

Exception: Uncaught TypeError: Cannot read property 'errors' of undefined
Resource: https://xxxx/s/aed7dffa1621e3a3f80f2ba51e28858b-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/7e94c30f3a266c8de57bc0a2edf479c8/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true
Line: 5924
Column: 521
Environment

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36

Stack trace

TypeError: Cannot read property 'errors' of undefined
at Object. (https://xxxx/s/aed7dffa1621e3a3f80f2ba51e28858b-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/7e94c30f3a266c8de57bc0a2edf479c8/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&jag=true&jaguser=true&locale=en-US&whisper-enabled=true:5924:521)
at c (https://xxxx/s/5340f6bff9dc4d879daac30530105d9e-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/444d5415e7870a478af9a6d08d480a2a/_/download/contextbatch/js/_super/batch.js?locale=en-US:54:22895)
at Object.fireWith [as rejectWith] (https://xxxx/s/5340f6bff9dc4d879daac30530105d9e-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/444d5415e7870a478af9a6d08d480a2a/_/download/contextbatch/js/_super/batch.js?locale=en-US:54:23652)
at Object. (https://xxxx/s/5340f6bff9dc4d879daac30530105d9e-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/444d5415e7870a478af9a6d08d480a2a/_/download/contextbatch/js/_super/batch.js?locale=en-US:54:24332)
at c (https://xxxx/s/5340f6bff9dc4d879daac30530105d9e-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/444d5415e7870a478af9a6d08d480a2a/_/download/contextbatch/js/_super/batch.js?locale=en-US:54:22895)
at Object.fireWith [as rejectWith] (https://xxxx/s/5340f6bff9dc4d879daac30530105d9e-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/444d5415e7870a478af9a6d08d480a2a/_/download/contextbatch/js/_super/batch.js?locale=en-US:54:23652)
at Object.a. (https://xxxx/s/5340f6bff9dc4d879daac30530105d9e-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/444d5415e7870a478af9a6d08d480a2a/_/download/contextbatch/js/_super/batch.js?locale=en-US:54:24631)
at c (https://xxxx/s/5340f6bff9dc4d879daac30530105d9e-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/444d5415e7870a478af9a6d08d480a2a/_/download/contextbatch/js/_super/batch.js?locale=en-US:54:22895)
at Object.add [as fail] (https://xxxx/s/5340f6bff9dc4d879daac30530105d9e-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/444d5415e7870a478af9a6d08d480a2a/_/download/contextbatch/js/_super/batch.js?locale=en-US:54:23189)
at Object. (https://xxxx/s/5340f6bff9dc4d879daac30530105d9e-CDN/a7b01a/813002/34ff6bbf7b64bf1830803bf8c420463a/444d5415e7870a478af9a6d08d480a2a/_/download/contextbatch/js/_super/batch.js?locale=en-US:54:24303)

 

On further investigation we see the following rest call is failing

https://xxxx/rest/greenhopper/1.0/xboard/work/transitions.json?_=1611257007214

And it looks like the project id needs to be prepended to the rest call as below

https://xxxx/rest/greenhopper/1.0/xboard/work/transitions.json?projectId=10001&_=1611256799212

2 answers

1 accepted

2 votes
Answer accepted
mogavenasan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2021

Hi @Burim B,

Let's try some basic troubleshooting steps:

  1. Do you have any content in the Jira announcement banner? If yes, please remove the content and verify if the issue still persists.
  2. If no, then please enable Safe Mode to rule out issues from the installed apps. Since you have upgraded Jira, there might be some incompatible apps, you might want to review them as well.
  3. Last but not the least, run a full lock indexing - indexing has changed quite a bit on Jira 8. Do take note that, this will lock your Jira and Jira will be inaccessible while the indexing job is running.

I hope that this helps.

Thanks,
Moga

Burim B January 26, 2021

Hey Moga,

 

Thanks for your reply. I don’t have any announcement banner and I tried the other steps before opening this topic. Anything else I could try?

mogavenasan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2021
  1. Use a different browser or Incognito/Private mode.
  2. If you are using a Reverse Proxy, access Jira bypassing the proxy.
Like • Burim B likes this
Burim B January 26, 2021

It is behind a reverse proxy. I will try that. Thanks.

Like • mogavenasan likes this
Burim B February 5, 2021

The issue was caused by the reverse proxy.

Like • mogavenasan likes this
Richard Bukovansky
Contributor
April 17, 2021

Hi Burim,

could you please give us more info on the issue with reverse proxy? We tried to upgrade to 8.13.5 and we were experiencing the same issue.

Thanks,
Richard Bukovansky | CommerzBank AG

Burim B April 17, 2021

Hey Richard,

 

Try accessing Jira directly without going through reverse proxy and see if that fixes your issue. If you see no errors when accessing it directly then you should have a look at your reverse proxy configuration/error logs to fix the issue.

We had to copy the old configuration we had in the reverse proxy for the old jira instance and pointed it to the new server.

0 votes
SK1975 March 22, 2022
  1. Shut down your Jira.
  2. Run the following SQL query in your Jira's database to enable the disabled Jira Software module:
    update pluginstate set pluginenabled = 'true' where pluginkey = 'com.pyxis.greenhopper.jira:gh-rapid-browser-metrics';
  3. Restart your Jira and check if the board/reports can be accessed without any error.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events