Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,257,486
Community Members
 
Community Events
164
Community Groups

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

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

0 votes
Answer accepted

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

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?

  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

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

Like mogavenasan likes this

The issue was caused by the reverse proxy.

Like mogavenasan likes this

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

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.

  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

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