Issue Details (XML | Word | Printable)

Key: JRA-8414
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Bob Swift
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

System error using %21 in link with IE

Created: 03/Nov/05 03:40 PM   Updated: 12/Aug/08 11:55 PM
Component/s: Web interface
Affects Version/s: 3.3
Fix Version/s: 3.4.3

Time Tracking:
Original Estimate: 2 hours
Original Estimate - 2 hours
Remaining Estimate: 1 hour
Time Spent - 1 hour Remaining Estimate - 1 hour
Time Spent: 1 hour
Time Spent - 1 hour Remaining Estimate - 1 hour

Participants: Bob Swift, Brian Nguyen, Jeff Turner [Atlassian] and Mark Chaimungkalanont [Atlassian]
Since last comment: 2 years, 34 weeks, 2 days ago
Resolution Date: 09/Jan/06 07:37 PM
Labels:


 Description  « Hide
The following link works ok with Firefox and fails for IE
http://jira/secure/EditProfile%21default.jspa

Cause:
java.lang.NullPointerException

Stack Trace: [hide]

java.lang.NullPointerException
at com.atlassian.jira.web.action.user.GenericEditProfile.doDefault(GenericEditProfile.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61)
at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52)
at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:417)
at webwork.action.ActionSupport.execute(ActionSupport.java:146)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:47)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132)
at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:25)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:72)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java(Compiled Code))
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java(Compiled Code))
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java(Compiled Code))
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java(Compiled Code))
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java(Compiled Code))
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:568)

Referer URL: Unknown

Build Information:
Uptime: 11 hours, 56 minutes, 58 seconds
Edition: Enterprise
Version: 3.3
Build Number: 96

Server Information:
Application Server: Apache Tomcat/5.5.9
Servlet Version: 2.4

Memory Information:
Total Memory: 641 MB
Free Memory: 465 MB
Used Memory: 176 MB

System Information:
System Date: Thursday, 03 Nov 2005
System Time: 15:33:41
Java Version: 1.4.2
Java Vendor: IBM Corporation
JVM Version: 1.0
JVM Vendor: Sun Microsystems Inc.
JVM Implementation Version: 1.4.2
Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition
Java VM: Classic VM
User Name: root
User Timezone: US/Central
User Locale: English
System Encoding: ANSI_X3.4-1968
Operating System: Linux 2.6.5-7.139-pseries64
OS Architecture: ppc64
Application Server Container: Apache Tomcat/5.5.9
Database type: mysql
Database JNDI address: java:comp/env/jdbc/JiraDS

Request Information:
Request URL: http://jira/500page.jsp

  • Scheme: http
  • Server: jira
  • Port: 80
  • URI: /500page.jsp
  • - Context Path:
  • - Servlet Path: /500page.jsp
  • - Path Info: null
  • - Query String:
    Request Attributes:
  • javax.servlet.forward.request_uri : /secure/EditProfile%21default.jspa
  • javax.servlet.forward.context_path :
  • javax.servlet.forward.servlet_path : /secure/EditProfile!default.jspa
  • javax.servlet.forward.path_info : /500page.jsp
  • javax.servlet.error.exception : javax.servlet.ServletException
  • javax.servlet.error.message :
  • os_securityfilter_already_filtered : true
  • com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true
  • com.atlassian.jira.web.filters.ActionCleanupDelayFilter : true
  • javax.servlet.error.request_uri : /secure/EditProfile%21default.jspa
  • javax.servlet.error.status_code : 500
  • jira.webwork.cleanup : false
  • _sitemesh_filterapplied : true
  • javax.servlet.error.servlet_name : action
  • com.atlassian.jira.web.filters.gzip.GzipFilter_already_filtered : true
  • loginfilter.already.filtered : true
  • atlassian.core.seraph.original.url : /secure/EditProfile!default.jspa
  • webwork.result : Value stack =========== ===========

Request Logging:
0 log statements generated by this request:



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brian Nguyen added a comment - 03/Nov/05 11:09 PM
Hi Bob,

I am unsure why the URL would affect jira's operations nor why IE would not able to decode the '%21' into '!'. I have tested this locally and have not been able to replicate the problem.

Can you reliably replicate this on this site?.

Also what version of IE are you currently using?

Thanks.
Brian


Bob Swift added a comment - 04/Nov/05 06:43 AM
It works ok on your site and fails consistently on 3.3. I should have thought of testing it on 3.4. I am using IE 6.0.

Jeff Turner [Atlassian] added a comment - 06/Nov/05 09:37 PM
Bob,

You would get that error if JIRA thought you were not logged in, and trying to edit the profile. Are you in fact logged in?

Any reason you are encoding the '!'? It's not a character that needs to be encoded.


Bob Swift added a comment - 06/Nov/05 11:37 PM
I copied the link into an email (NOTES) and it converted it to %21. It was for people who forgot or needed to change their password. User who got the email was an IE user and reported the system error . I checked the link and it worked for me because I use firefox.

Jeff Turner [Atlassian] added a comment - 07/Nov/05 05:13 PM
It counts as a bug in JIRA - people should get a login screen, not an error if they click on the link - but it's a strange thing for a mail client to do, since '!' does not need escaping.

Thanks for the report.


Mark Chaimungkalanont [Atlassian] added a comment - 09/Jan/06 07:25 PM
Bob,

Have just been testing this locally, it appears to work fine for 3.4.3 (see http://jira.atlassian.com/secure/EditProfile%21default.jspa) but we can replicate your problem in 3.3. The problem seems to lie in the SecurityFilter not forwarding you to the login page when you're not logged in, under JIRA 3.3

If you upgrade the problem should disappear.

Cheers

Mark C