One User Gets "cannot forward after response has been committed" When She Logs Into JIRA

JIRA is running fine, everyone seems to be able to log in, except for one user.

We have okta so every login starts with a "User from assertion" info line, followed by "user, found in JIRA user list" followed by "getUser Method, user found redirecting to /secure/Dashboard.jspa". Then they land on the dashboard and all is well. This happens, as far as I can tell, for everyone.

But with this one user get this error:

2017-02-23 11:11:55,892 http-nio-8080-exec-8 ERROR      [o.a.c.c.C.[.[localhost].[/].[action]] Servlet.service() for servlet [action] in context with path [] threw exception [java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed] with root cause

(I'll spare you the rest of the spew.)

 "Cannot call sendRedirect() after the response has been committed" is a Java exception, but I don't know what's causing it. Clearly, the act of going to the Dashboard causes this problem, but why?

Any ideas how to fix it? Maybe if I delete the user and recreate her?

1 answer

I would try to change the default dashboard for the user and see if that is causing the exception. http://stackoverflow.com/questions/2123514/java-lang-illegalstateexception-cannot-forward-sendredirect-create-session 

Do you have scriptrunner? Then you can become the user and remove the favourite dashboard that will be displayed when logging in.

https://confluence.atlassian.com/adminjiraserver073/configuring-the-default-dashboard-861253139.html

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

816 views 2 19
Join discussion

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