The parser has encountered more than "64000" entity expansions in this document

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

FILL IN SYMPTOM(S)

The following appears in the atlassian-crowd.log:

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.

Resolution

Update your JDK to over come this issue.

Do remember configure Crowd to point to the new JDK.

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.