Activity Stream Breaks due to InvalidCharacterException

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

When attempting to view the Activity Stream, the below error is shown:

(Auto-migrated image: description temporarily unavailable)

The following appears in the atlassian-jira.log:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 2012-08-02 15:52:24,181 http-8080-4 ERROR pirateman 952x1497x1 1x45sii 127.0.0.1 /plugins/servlet/streams [streams.internal.servlet.StreamsActivityServlet] Error sending feed org.apache.abdera.i18n.iri.IRISyntaxException: org.apache.abdera.i18n.text.InvalidCharacterException: Invalid Character 0x25(%) at org.apache.abdera.i18n.iri.IRI.parseAuthority(IRI.java:549) at org.apache.abdera.i18n.iri.IRI.parse(IRI.java:565) at org.apache.abdera.i18n.iri.IRI.<init>(IRI.java:64) at org.apache.abdera.parser.stax.FOMIRI.setValue(FOMIRI.java:63) at org.apache.abdera.parser.stax.FOMPerson.setUri(FOMPerson.java:150) at com.atlassian.streams.internal.atom.abdera.AbderaAtomFeedRenderer$AtomFeedBuilder.buildPerson(AbderaAtomFeedRenderer.java:390) at com.atlassian.streams.internal.atom.abdera.AbderaAtomFeedRenderer$AtomFeedBuilder.buildAuthors(AbderaAtomFeedRenderer.java:368) at com.atlassian.streams.internal.atom.abdera.AbderaAtomFeedRenderer$AtomFeedBuilder.getAtomEntry(AbderaAtomFeedRenderer.java:230) at com.atlassian.streams.internal.atom.abdera.AbderaAtomFeedRenderer$AtomFeedBuilder.build(AbderaAtomFeedRenderer.java:162) at com.atlassian.streams.internal.atom.abdera.AbderaAtomFeedRenderer.writeFeed(AbderaAtomFeedRenderer.java:100) at com.atlassian.streams.internal.servlet.StreamsActivityServlet.doGet(StreamsActivityServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) ... Caused by: org.apache.abdera.i18n.text.InvalidCharacterException: Invalid Character 0x25(%) at org.apache.abdera.i18n.text.CodepointIterator$RestrictedCodepointIterator.next(CodepointIterator.java:476) at org.apache.abdera.i18n.text.CharUtils.verify(CharUtils.java:820) at org.apache.abdera.i18n.text.CharUtils.verify(CharUtils.java:838) at org.apache.abdera.i18n.iri.IRI.parseAuthority(IRI.java:547) ... 130 more

Cause

This problem may happen due to either of the causes below:

Resolution

Modify that the Base URL (as in Configuring JIRA Options) so that it does not contain the invalid character, as listed in the stack trace. In this example it was caused by the following URL and fixed by changing it to http://jira.atlassian.com.

1 http://jira.atlassian.com
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.