The parser has encountered more than "64000" entity expansions in this document
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
Summary
Symptoms
FILL IN SYMPTOM(S)
The following appears in the atlassian-crowd.log
:
1
2
3
4
5
6
7
8
2014-09-09 08:13:38,791 http-bio-8095-exec-3 ERROR [crowd.console.action.Login] Failed to connect to the authentication server, please check your crowd.properties
org.springframework.security.authentication.AuthenticationServiceException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK.
...
...
..
Caused by: org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK.
Diagnosis
Open Command Prompt for windows or terminal for linux, type java -version
Result
java version
"1.7.0 u45"
Cause
Issue was caused by a bug from JDK 1.7.0_45, which is fixed on Java 7 update 51.
Solution
Resolution
Update your JDK to over come this issue.
Do remember configure Crowd to point to the new JDK.
Was this helpful?