java.lang.IllegalStateException: java.lang.RuntimeException: com.google.gdata.client.authn.oauth.OAuthException: java.net.URISyntaxException: Illegal character in path at index 63: https://apps-apis.google.com/a/feeds/atl-paid-dev.com/user/2.0/"'><script>altert('testuser')</script> @400000004fce8fe913c0f414 at com.atlassian.agmp.openid.users.mgmt.jira.UserServiceImpl.userExistsInGoogle(UserServiceImpl.java:524) @400000004fce8fe913c0f7fc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.isGoogleUser(AddUserInterceptor.java:72) @400000004fce8fe913c0ffcc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.interceptDoExecute(AddUserInterceptor.java:43) @400000004fce8fe913c103b4 at com.atlassian.peace.jira.ActionPeacekeeper.intercept(ActionPeacekeeper.java:46) @400000004fce8fe913c13294 at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:27)

Atlassian JIRA | Brenden Bain [Atlassian] | 5 years ago
  1. 0

    I tried to create this user while connected to gapps: "'><script>altert('testuser')</script>. I got this exception [^log.txt]: {noformat} @400000004fce8fe913c0a9dc 2012-06-05 23:01:51,326 TP-Processor12 ERROR [500ErrorPage.jsp] Exception caught in 500 page java.lang.RuntimeException: com.google.gdata.client.authn.oauth.OAuthException: java.net.URISyntaxException: Illegal character in path at index 63: https://apps-apis.google.com/a/feeds/atl-paid-dev.com/user/2.0/"'><script>altert('testuser')</script> @400000004fce8fe913c0b97c java.lang.IllegalStateException: java.lang.RuntimeException: com.google.gdata.client.authn.oauth.OAuthException: java.net.URISyntaxException: Illegal character in path at index 63: https://apps-apis.google.com/a/feeds/atl-paid-dev.com/user/2.0/"'><script>altert('testuser')</script> @400000004fce8fe913c0f414 at com.atlassian.agmp.openid.users.mgmt.jira.UserServiceImpl.userExistsInGoogle(UserServiceImpl.java:524) @400000004fce8fe913c0f7fc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.isGoogleUser(AddUserInterceptor.java:72) @400000004fce8fe913c0ffcc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.interceptDoExecute(AddUserInterceptor.java:43) @400000004fce8fe913c103b4 at com.atlassian.peace.jira.ActionPeacekeeper.intercept(ActionPeacekeeper.java:46) @400000004fce8fe913c13294 at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:27) @400000004fce8fe913c1367c at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) @400000004fce8fe913c1367c at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) @400000004fce8fe913c13a64 at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205) @400000004fce8fe913c1461c at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143) @400000004fce8fe913c14a04 at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) @400000004fce8fe913c14dec at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) @400000004fce8fe913c14dec at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) @400000004fce8fe913c159a4 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @400000004fce8fe913c15d8c at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) @400000004fce8fe913c16174 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) @400000004fce8fe913c1655c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @400000004fce8fe913c17114 at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) @400000004fce8fe913c174fc at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) @400000004fce8fe913c178e4 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @400000004fce8fe913c17ccc at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) @400000004fce8fe913c18884 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c18c6c at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) @400000004fce8fe913c19054 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c1943c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c19c0c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c19ff4 at com.atlassian.jira.tzdetect.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:39) @400000004fce8fe913c1af94 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c1b37c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c1b764 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c1bb4c at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) @400000004fce8fe913c1c31c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c1c704 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c1caec at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c1ced4 at com.atlassian.agmp.integration.jira.ReprovisionConfigFilter.doFilter(ReprovisionConfigFilter.java:87) @400000004fce8fe913c1d6a4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c1da8c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c2019c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c20584 at com.atlassian.agmp.gdata.servlet.GDataServiceErrorServletFilter.doFilter(GDataServiceErrorServletFilter.java:43) @400000004fce8fe913c2096c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c220dc at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c224c4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c228ac at com.atlassian.studio.core.servlet.filter.AlacarteLicenseEnforcer.doFilter(AlacarteLicenseEnforcer.java:71) @400000004fce8fe913c2307c at com.atlassian.studio.jira.servlet.filter.AlacarteLicenseJiraEnforcer.doFilter(AlacarteLicenseJiraEnforcer.java:122) @400000004fce8fe913c23464 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c2384c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c2401c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c24fbc at com.atlassian.peace.AbstractPeacePageFilter.doFilter(AbstractPeacePageFilter.java:39) @400000004fce8fe913c253a4 at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) {noformat}

    Atlassian JIRA | 5 years ago | Brenden Bain [Atlassian]
    java.lang.IllegalStateException: java.lang.RuntimeException: com.google.gdata.client.authn.oauth.OAuthException: java.net.URISyntaxException: Illegal character in path at index 63: https://apps-apis.google.com/a/feeds/atl-paid-dev.com/user/2.0/"'><script>altert('testuser')</script> @400000004fce8fe913c0f414 at com.atlassian.agmp.openid.users.mgmt.jira.UserServiceImpl.userExistsInGoogle(UserServiceImpl.java:524) @400000004fce8fe913c0f7fc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.isGoogleUser(AddUserInterceptor.java:72) @400000004fce8fe913c0ffcc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.interceptDoExecute(AddUserInterceptor.java:43) @400000004fce8fe913c103b4 at com.atlassian.peace.jira.ActionPeacekeeper.intercept(ActionPeacekeeper.java:46) @400000004fce8fe913c13294 at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:27)
  2. 0

    I tried to create this user while connected to gapps: "'><script>altert('testuser')</script>. I got this exception [^log.txt]: {noformat} @400000004fce8fe913c0a9dc 2012-06-05 23:01:51,326 TP-Processor12 ERROR [500ErrorPage.jsp] Exception caught in 500 page java.lang.RuntimeException: com.google.gdata.client.authn.oauth.OAuthException: java.net.URISyntaxException: Illegal character in path at index 63: https://apps-apis.google.com/a/feeds/atl-paid-dev.com/user/2.0/"'><script>altert('testuser')</script> @400000004fce8fe913c0b97c java.lang.IllegalStateException: java.lang.RuntimeException: com.google.gdata.client.authn.oauth.OAuthException: java.net.URISyntaxException: Illegal character in path at index 63: https://apps-apis.google.com/a/feeds/atl-paid-dev.com/user/2.0/"'><script>altert('testuser')</script> @400000004fce8fe913c0f414 at com.atlassian.agmp.openid.users.mgmt.jira.UserServiceImpl.userExistsInGoogle(UserServiceImpl.java:524) @400000004fce8fe913c0f7fc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.isGoogleUser(AddUserInterceptor.java:72) @400000004fce8fe913c0ffcc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.interceptDoExecute(AddUserInterceptor.java:43) @400000004fce8fe913c103b4 at com.atlassian.peace.jira.ActionPeacekeeper.intercept(ActionPeacekeeper.java:46) @400000004fce8fe913c13294 at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:27) @400000004fce8fe913c1367c at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) @400000004fce8fe913c1367c at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) @400000004fce8fe913c13a64 at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205) @400000004fce8fe913c1461c at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143) @400000004fce8fe913c14a04 at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) @400000004fce8fe913c14dec at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) @400000004fce8fe913c14dec at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) @400000004fce8fe913c159a4 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @400000004fce8fe913c15d8c at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) @400000004fce8fe913c16174 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) @400000004fce8fe913c1655c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @400000004fce8fe913c17114 at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) @400000004fce8fe913c174fc at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) @400000004fce8fe913c178e4 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) @400000004fce8fe913c17ccc at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) @400000004fce8fe913c18884 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c18c6c at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) @400000004fce8fe913c19054 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c1943c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c19c0c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c19ff4 at com.atlassian.jira.tzdetect.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:39) @400000004fce8fe913c1af94 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c1b37c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c1b764 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c1bb4c at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) @400000004fce8fe913c1c31c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c1c704 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c1caec at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c1ced4 at com.atlassian.agmp.integration.jira.ReprovisionConfigFilter.doFilter(ReprovisionConfigFilter.java:87) @400000004fce8fe913c1d6a4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c1da8c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c2019c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c20584 at com.atlassian.agmp.gdata.servlet.GDataServiceErrorServletFilter.doFilter(GDataServiceErrorServletFilter.java:43) @400000004fce8fe913c2096c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c220dc at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c224c4 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c228ac at com.atlassian.studio.core.servlet.filter.AlacarteLicenseEnforcer.doFilter(AlacarteLicenseEnforcer.java:71) @400000004fce8fe913c2307c at com.atlassian.studio.jira.servlet.filter.AlacarteLicenseJiraEnforcer.doFilter(AlacarteLicenseJiraEnforcer.java:122) @400000004fce8fe913c23464 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) @400000004fce8fe913c2384c at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) @400000004fce8fe913c2401c at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) @400000004fce8fe913c24fbc at com.atlassian.peace.AbstractPeacePageFilter.doFilter(AbstractPeacePageFilter.java:39) @400000004fce8fe913c253a4 at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) {noformat}

    Atlassian JIRA | 5 years ago | Brenden Bain [Atlassian]
    java.lang.IllegalStateException: java.lang.RuntimeException: com.google.gdata.client.authn.oauth.OAuthException: java.net.URISyntaxException: Illegal character in path at index 63: https://apps-apis.google.com/a/feeds/atl-paid-dev.com/user/2.0/"'><script>altert('testuser')</script> @400000004fce8fe913c0f414 at com.atlassian.agmp.openid.users.mgmt.jira.UserServiceImpl.userExistsInGoogle(UserServiceImpl.java:524) @400000004fce8fe913c0f7fc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.isGoogleUser(AddUserInterceptor.java:72) @400000004fce8fe913c0ffcc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.interceptDoExecute(AddUserInterceptor.java:43) @400000004fce8fe913c103b4 at com.atlassian.peace.jira.ActionPeacekeeper.intercept(ActionPeacekeeper.java:46) @400000004fce8fe913c13294 at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:27)
  3. 0

    Usernames in JIRA have to be lowercase, but they can contain spaces. If you try to create an external (non-Google) user on a Google Apps-enabled instance that has a space in the username, it blows up with a stack trace: {code:none} java.lang.IllegalStateException: java.lang.RuntimeException: com.google.gdata.client.authn.oauth.OAuthException: java.net.URISyntaxException: Illegal character in path at index 68: https://apps-apis.google.com/a/feeds/<google apps domain>/user/2.0/<username> at com.atlassian.agmp.openid.users.mgmt.jira.UserServiceImpl.userExistsInGoogle(UserServiceImpl.java:529) at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.isGoogleUser(AddUserInterceptor.java:72) at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.interceptDoExecute(AddUserInterceptor.java:43) at com.atlassian.peace.jira.ActionPeacekeeper.intercept(ActionPeacekeeper.java:46) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:27) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) {code}

    Atlassian JIRA | 5 years ago | Nick Mason [Atlassian]
    java.lang.IllegalStateException: java.lang.RuntimeException: com.google.gdata.client.authn.oauth.OAuthException: java.net.URISyntaxException: Illegal character in path at index 68: https://apps-apis.google.com/a/feeds/<google apps domain>/user/2.0/<username>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When searching a phrase with blank spaces the getPage method returns an IllegalStateException

    GitHub | 4 years ago | luisfmp
    java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in query at index 73: https://www.googleapis.com/plus/v1/activities?maxResults=20&query=gangnam style&
  6. 0

    SpringMVC IllegalStateException

    Stack Overflow | 11 months ago | javlacerda
    java.lang.IllegalStateException: Could not get HttpServletRequest URI: Illegal character in hostname at index 10: http://sql_dev3:8080/GMWebRecep.build/insrececaoartigos.action] with root cause java.net.URISyntaxException: Illegal character in hostname at index 10: http://sql_dev3:8080/GMWebRecep.build/insrececaoartigos.action

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      java.lang.RuntimeException: com.google.gdata.client.authn.oauth.OAuthException: java.net.URISyntaxException: Illegal character in path at index 63: https://apps-apis.google.com/a/feeds/atl-paid-dev.com/user/2.0/"'><script>altert('testuser')</script> @400000004fce8fe913c0f414 at com.atlassian.agmp.openid.users.mgmt.jira.UserServiceImpl.userExistsInGoogle(UserServiceImpl.java:524) @400000004fce8fe913c0f7fc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.isGoogleUser(AddUserInterceptor.java:72) @400000004fce8fe913c0ffcc at com.atlassian.agmp.integration.jira.action.AddUserInterceptor.interceptDoExecute(AddUserInterceptor.java:43) @400000004fce8fe913c103b4 at com.atlassian.peace.jira.ActionPeacekeeper.intercept(ActionPeacekeeper.java:46) @400000004fce8fe913c13294 at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:27)

      at webwork.interceptor.ChainedInterceptor.intercept()
    2. webwork.interceptor
      DefaultInterceptorChain.proceed
      1. webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
      2. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)
      2 frames