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

Bar chart 'An internal server error occurred when requesting resource' while configuring.

Hello Team,

I have simple filter to show on my dashboard using 'Bar Chart Configuration' gadget, I cannot save/show the configuration because of this followed error 'An internal server error occurred when requesting resource'.

PSO1.PNG 

Thanks

 

1 answer

Hello Tejas,

Sorry to hear you are facing this problem.

I was not able to find any Barchart in my personal JIRA instance, so I believe this gadget might be provided by a third-party app. Is it correct?

I would recommend you to perform the steps below to troubleshoot the issue:

1 - Try to reset the app that provides the gadget, by uninstalling and reinstalling it. Additionally, check if the plugin is up to date with your current JIRA instance, as mentioned in this documentation.

2 - Once you have the change, try to re-index your instance to make sure your data is not corrupted. Since the reindex might give you some performance issues, please make sure you performed it at a convenient time.

3 - Try to use a different browser in incognito mode

4 - If the error keeps happening, please check if there are any errors returned in the developer console of your browser and provide us with this information

5 - Check if any errors are returned in the atlassian-jira.log and provide us with this information.

P.S: ON steps 4 and 5, make sure you are hiding any sensitive information before posting the logs in this question.

Let me know how it goes! :)

Hi @Petter Gonçalves -

I would like to thank for your time to help resolve this issue.

Yes, 'Barcharts for Jira' plugin is third-party app.

I have tried all 3 above steps but didn't work.

When checked in the developer console I see this error in the browser.


Failed to load resource: the /rest/barcharts/1.0/BarChart/GenerateChart?projectOrFilterId=filter-24924&axisField=15508&groupField=-4&width=549&height=439&_=1572862123741:1 server responded with a status of 500 ()

 Then I checked in the atlassian-jira.log file I see this error.

2019-11-04 02:08:44,915 https-jsse-nio-443-exec-23 ERROR tnaik 128x8395x1 9r8lyo 10.93.9.103 /rest/barcharts/1.0/BarChart/GenerateChart [c.t.j.plugins.gadget.BarChartGadget] Error generating barchart
com.atlassian.jira.exception.DataAccessException: No custom field for customfield_11202. This should not happen. Data is likely to be corrupt.
 at com.atlassian.jira.issue.fields.config.FieldConfigImpl.getCustomField(FieldConfigImpl.java:60)
 at com.tngtech.jira.plugins.utils.fields.FieldValueFinder.getMatchingOptionsAndCombinations(FieldValueFinder.java:197)
 at com.tngtech.jira.plugins.utils.fields.FieldValueFinder.getPossibleCustomFieldValues(FieldValueFinder.java:191)
 at com.tngtech.jira.plugins.utils.fields.FieldValueFinder.getPossibleXAxisValues(FieldValueFinder.java:175)
 at com.tngtech.jira.plugins.gadget.data.BarChartDataSorter.sortAndEnrichChartData(BarChartDataSorter.java:24)
 at com.tngtech.jira.plugins.gadget.data.BarChartDataCollector.collectChartData(BarChartDataCollector.java:55)
 at com.tngtech.jira.plugins.gadget.BarChartGadget.createRestClass(BarChartGadget.java:112)
 at com.tngtech.jira.plugins.gadget.BarChartGadget.getVersionsForProject(BarChartGadget.java:89)
 at com.tngtech.jira.plugins.gadget.BarChartGadget.getVersionsForProject(BarChartGadget.java:68)
 ... 3 filtered
 at java.lang.reflect.Method.invoke(Method.java:498)
 ... 19 filtered
 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:159)
 ... 1 filtered
 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:69)
 ... 41 filtered
 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
 ... 57 filtered
 at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
 ... 1 filtered
 at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
 ... 16 filtered
 at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
 ... 19 filtered
 at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
 ... 5 filtered
 at com.idalko.jira.plugins.igrid.servicedesk.ServletRequestContextFilter.doFilter(ServletRequestContextFilter.java:23)
 ... 8 filtered
 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
 ... 4 filtered
 at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)
 ... 26 filtered
 at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
 ... 25 filtered
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 at java.lang.Thread.run(Thread.java:748)

Thanks

Hello Tejas,

Thank you very much for your details.

Analyzing your logs, it seems that you are facing an error similar to the one commented in this thread:

No Custom Field For customfield in Bar Chart plugin 

That being said, it seems that the customfield_11202 is not configured with a valid entry, causing the issue you are facing.

That being said, I suggest the following steps to fix the problem:

1 - If you are not using that field at all, delete it and run the integrity checker.

2 - If you are still using that field, try the steps in the documentation below to fix it:

Corrupted Custom field 

P.S: Since the fix process requires database changes, make sure you backup your database before making any changes.

Let us know how it went.

Hello Tejas,

Thank you very much for your details.

Analyzing your logs, it seems that you are facing an error similar to the one commented in this thread:

No Custom Field For customfield in Bar Chart plugin 

That being said, it seems that the customfield_11202 is not configured with a valid entry, causing the issue you are facing.

That being said, I suggest the following steps to fix the problem:

1 - If you are not using that field at all, delete it and run the integrity checker.

2 - If you are still using that field, try the steps in the documentation below to fix it:

Corrupted Custom field 

P.S: Since the fix process requires database changes, make sure you backup your database before making any changes.

Let us know how it went.

@Petter Gonçalves 

1. I have ran the integrity check and found no errors.

2. I followed the KB of Corrupted Custom field, and I found same id for  FieldConfiguration and FieldConfScheme so couldn't able to replace.

jiradb.PNG

Am I missing anything?

Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

275 views 1 2
Join discussion

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