Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Eclipse help when indexed using JRE7 produces lots of errors in the error log

Eclipse help when indexed using JRE7 produces lots of errors in the error log

Problem:

There are a large number of errors in the error log after indexing of Eclipse help has completed.

Not all of them are shown, as they are all basically the same error:

!ENTRY org.eclipse.help.base 4 0 2014-03-18 15:51:59.938 !MESSAGE An error occured while pre-processing help XHTML document "/com.microfocus.eclipse.help.ed.windows/html/HRERRHSERRLA.html" for search indexing !STACK 0 org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK.  at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)  at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)  at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)  at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)  at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:76)  at org.eclipse.help.internal.search.XHTMLSearchParticipant.preprocess(XHTMLSearchParticipant.java:106)  at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:296)  at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)  at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:231)  at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)  at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)  at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)  at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:671)  at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:645)  at org.eclipse.help.internal.search.LocalSearchManager.search(LocalSearchManager.java:590)  at org.eclipse.help.internal.search.SearchManager.searchLocal(SearchManager.java:103)  at org.eclipse.help.internal.search.SearchManager.search(SearchManager.java:94)  at org.eclipse.help.internal.search.SearchProgressMonitor$2.run(SearchProgressMonitor.java:162)  at java.lang.Thread.run(Unknown Source)

!ENTRY org.eclipse.help.base 4 0 2014-03-18 15:52:06.832 !MESSAGE An error occured while pre-processing help XHTML document "/com.microfocus.eclipse.help.ed.windows/html/GUID-E08E00FA-EFB0-480B-894A-8060166787BC.html" for search indexing !STACK 0 org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK.  at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)  at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)  at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)  at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)  at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:76)  at org.eclipse.help.internal.search.XHTMLSearchParticipant.preprocess(XHTMLSearchParticipant.java:106)  at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:296)  at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)  at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:231)  at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)  at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)  at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)  at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:671)  at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:645)  at org.eclipse.help.internal.search.LocalSearchManager.search(LocalSearchManager.java:590)  at org.eclipse.help.internal.search.SearchManager.searchLocal(SearchManager.java:103)  at org.eclipse.help.internal.search.SearchManager.search(SearchManager.java:94)  at org.eclipse.help.internal.search.SearchProgressMonitor$2.run(SearchProgressMonitor.java:162)  at java.lang.Thread.run(Unknown Source)

Resolution:

Please refer to https://community.oracle.com/thread/2594170 as this issue appears to be a bug in the JDK. (https://bugs.openjdk.java.net/browse/JDK-8028111).

The links discuss a workaround, but the ultimate solution is to upgrade to JRE7_U55 or later where the bug is fixed.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2014-03-20 11:52
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.