[ 
https://issues.apache.org/jira/browse/KNOX-2684?focusedWorklogId=669268&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-669268
 ]

ASF GitHub Bot logged work on KNOX-2684:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Oct/21 08:03
            Start Date: 24/Oct/21 08:03
    Worklog Time Spent: 10m 
      Work Description: smolnar82 merged pull request #511:
URL: https://github.com/apache/knox/pull/511


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 669268)
    Time Spent: 20m  (was: 10m)

> Getting 500 error after clicking logout link
> --------------------------------------------
>
>                 Key: KNOX-2684
>                 URL: https://issues.apache.org/jira/browse/KNOX-2684
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.6.0
>            Reporter: Sandeep More
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 2.0.0, 1.6.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When the logout link is clicked we get the following error
> {code:java}
> HTTP ERROR 500 javax.servlet.ServletException: 
> org.apache.jasper.JasperException: Unable to compile class for JSP: 
> An error occurred at line: [155] in the jsp file: [/logout.jsp]
> response cannot be resolved
> 152:             } catch (Exception e) {
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> An error occurred at line: [156] in the jsp file: [/logout.jsp]
> response cannot be resolved
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> An error occurred at line: [156] in the jsp file: [/logout.jsp]
> globalLogoutPageURL cannot be resolved to a variable
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> An error occurred at line: [157] in the jsp file: [/logout.jsp]
> This method must return a result of type String
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> 160:   
> An error occurred at line: [157] in the jsp file: [/logout.jsp]
> Syntax error, insert "}" to complete MethodBody
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> 160:   
> Stacktrace:
> URI:/gateway/knoxsso/knoxauth/logout.jsp
> STATUS:500
> MESSAGE:javax.servlet.ServletException: org.apache.jasper.JasperException: 
> Unable to compile class for JSP: 
> An error occurred at line: [155] in the jsp file: [/logout.jsp]
> response cannot be resolved
> 152:             } catch (Exception e) {
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> An error occurred at line: [156] in the jsp file: [/logout.jsp]
> response cannot be resolved
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> An error occurred at line: [156] in the jsp file: [/logout.jsp]
> globalLogoutPageURL cannot be resolved to a variable
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> An error occurred at line: [157] in the jsp file: [/logout.jsp]
> This method must return a result of type String
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> 160:   
> An error occurred at line: [157] in the jsp file: [/logout.jsp]
> Syntax error, insert "}" to complete MethodBody
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> 160:   
> Stacktrace:
> SERVLET:jsp
> CAUSED BY:javax.servlet.ServletException: org.apache.jasper.JasperException: 
> Unable to compile class for JSP: 
> An error occurred at line: [155] in the jsp file: [/logout.jsp]
> response cannot be resolved
> 152:             } catch (Exception e) {
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> An error occurred at line: [156] in the jsp file: [/logout.jsp]
> response cannot be resolved
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> An error occurred at line: [156] in the jsp file: [/logout.jsp]
> globalLogoutPageURL cannot be resolved to a variable
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> An error occurred at line: [157] in the jsp file: [/logout.jsp]
> This method must return a result of type String
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> 160:   
> An error occurred at line: [157] in the jsp file: [/logout.jsp]
> Syntax error, insert "}" to complete MethodBody
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> 160:   
> Stacktrace:
> CAUSED BY:org.apache.jasper.JasperException: Unable to compile class for JSP: 
> An error occurred at line: [155] in the jsp file: [/logout.jsp]
> response cannot be resolved
> 152:             } catch (Exception e) {
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> An error occurred at line: [156] in the jsp file: [/logout.jsp]
> response cannot be resolved
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> An error occurred at line: [156] in the jsp file: [/logout.jsp]
> globalLogoutPageURL cannot be resolved to a variable
> 153:                 return "";
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> An error occurred at line: [157] in the jsp file: [/logout.jsp]
> This method must return a result of type String
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> 160:   
> An error occurred at line: [157] in the jsp file: [/logout.jsp]
> Syntax error, insert "}" to complete MethodBody
> 154:             }
> 155:             
> response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
> 156:             response.setHeader("Location", globalLogoutPageURL);
> 157:             return;
> 158:     %>
> 159:   </head>
> 160:   
> Stacktrace:
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to