500 error on mobile while viewing issue details

Hi,

Jira runs behind IIS. Everything works fine while browsing from PC. But from mobile, the view issue page gets 500 error. No clue on what goes wrong.

The error can be reproduced by viewing the issue details page from chrome browser. After opening the developer tools and switching to mobile emulator you refresh the page and the error is there. Whatever device you choose the error is the same.

The error is related to mobile view. The desktop view is okey from mobile also.

 

 

1 answer

0 vote

Hi Yüksel,

can you please reproduce the problem and check if there is any find related error in the log? You can paste only the small snippet related to this particular error.

The log path is <JIRA_HOME>/log/atlassian-jira.log , where <JIRA_HOME> is your JIRA home directory.

If you installed JIRA with default location for your home directory, the log directory should be
C:\Program Files\Atlassian\Application Data\JIRA\log (on Windows) or /var/atlassian/application-data/jira/log (on Linux)


The log path can be also found in File Paths section in Administration module of your JIRA application (Location of atlassian-jira.log).


Please, paste the log snippet here in and we will check it.


Thanks,
Marko

Hi Marko,

The related ERROR is:

2017-10-26 23:13:24,539 http-nio-8080-exec-2 ERROR local.admin 1393x308x1 jgm13k 10.224.122.105 /rest/mobile/1.0/issue/TM451-3 [c.a.j.m.rest.fields.MobileIssueResource] Unable to complete Bonfire REST method
java.lang.NullPointerException
at com.atlassian.jira.issue.fields.WatchesSystemField.getJsonFromIssue(WatchesSystemField.java:72)
at com.atlassian.jira.mobile.rest.fields.MobileIssueBeanBuilder.addRestAwareField(MobileIssueBeanBuilder.java:227)
at com.atlassian.jira.mobile.rest.fields.MobileIssueBeanBuilder.addFields(MobileIssueBeanBuilder.java:199)
at com.atlassian.jira.mobile.rest.fields.MobileIssueBeanBuilder.build(MobileIssueBeanBuilder.java:104)
at com.atlassian.jira.mobile.rest.fields.MobileIssueResource$1.call(MobileIssueResource.java:95)
at com.atlassian.jira.mobile.rest.fields.MobileIssueResource$1.call(MobileIssueResource.java:72)
at com.atlassian.jira.mobile.rest.util.RestCall.response(RestCall.java:36)
at com.atlassian.jira.mobile.rest.util.BaseRestResource.response(BaseRestResource.java:45)
at com.atlassian.jira.mobile.rest.fields.MobileIssueResource.getIssue(MobileIssueResource.java:71)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
... 19 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)
... 1 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)
... 36 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 53 filtered
at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:80)
... 1 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:78)
... 16 filtered
at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
... 20 filtered
at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
... 10 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)
... 29 filtered
at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
... 28 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2017-10-26 23:13:24,544 http-nio-8080-exec-2 ERROR local.admin 1393x308x1 jgm13k 10.224.122.105 /rest/mobile/1.0/issue/TM451-3 [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: null
java.lang.NullPointerException
at com.atlassian.jira.issue.fields.WatchesSystemField.getJsonFromIssue(WatchesSystemField.java:72)
at com.atlassian.jira.mobile.rest.fields.MobileIssueBeanBuilder.addRestAwareField(MobileIssueBeanBuilder.java:227)
at com.atlassian.jira.mobile.rest.fields.MobileIssueBeanBuilder.addFields(MobileIssueBeanBuilder.java:199)
at com.atlassian.jira.mobile.rest.fields.MobileIssueBeanBuilder.build(MobileIssueBeanBuilder.java:104)
at com.atlassian.jira.mobile.rest.fields.MobileIssueResource$1.call(MobileIssueResource.java:95)
at com.atlassian.jira.mobile.rest.fields.MobileIssueResource$1.call(MobileIssueResource.java:72)
at com.atlassian.jira.mobile.rest.util.RestCall.response(RestCall.java:36)
at com.atlassian.jira.mobile.rest.util.BaseRestResource.response(BaseRestResource.java:45)
at com.atlassian.jira.mobile.rest.fields.MobileIssueResource.getIssue(MobileIssueResource.java:71)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
... 19 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)
... 1 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)
... 36 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 53 filtered
at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:80)
... 1 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:78)
... 16 filtered
at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
... 20 filtered
at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
... 10 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)
... 29 filtered
at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
... 28 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Hi Yüksel,

I see that the error involves Capture (previously Bonefire) plugin. 

Can you please reproduce the issue and right after take a look inside atlassian-bonfire.log located in your <JIRA_HOME>/log directory? There should be more specific error logged in the mentioned log file.

If there is any, please paste it here so we could take a look.

Thanks,

Marko

Hi Marko,

 

There is no atlassian-bonfire.log file at log directory.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

158 views 5 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you