[jbosstools-issues] [JBoss JIRA] (JBDS-4133) Help docs cannot be opened: org.apache.lucene.index.IndexFormatTooOldException - got 2.0.3, want 5.0+

Nick Boldt (JIRA) issues at jboss.org
Fri Oct 28 15:51:00 EDT 2016


    [ https://issues.jboss.org/browse/JBDS-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13313646#comment-13313646 ] 

Nick Boldt edited comment on JBDS-4133 at 10/28/16 3:50 PM:
------------------------------------------------------------

FWIW, there appear to be no significant differences between org.apache.lucene.analyzers-common_5.2.1.v20160301-1110.jar and 5.4.1, or  org.apache.lucene.queryparser_5.2.1.v20160926-1534.jar and 5.4.1, but there are some significant changes in org.apache.lucene.core_5.2.1.v20160301-1110.jar compared to its 5.4.1 equivalent.

As I've never used Lucene, I leave it to Xavier to decide if he can work with 5.4.1. I have created an update site based on the jars from rh-java-common-lucene5* 5.4.1_2.2.el7:

http://download.jboss.org/jbosstools/updates/requirements/lucene/rh-java-common-lucene5_5.4.1_2.2.el7/

You can install these into your Eclipse to be able to edit your webservices stuff to make it work with the latest. 

Oh, and if you want to play with the Orbit stuff for 5.2.1 instead, here's an update site to use:

http://download.eclipse.org/tools/orbit/downloads/drops/S20161021172207/repository/


was (Author: nickboldt):
FWIW, there appear to be no significant differences between org.apache.lucene.analyzers-common_5.2.1.v20160301-1110.jar and 5.4.1, or  org.apache.lucene.queryparser_5.2.1.v20160926-1534.jar and 5.4.1, but there are some significant changes in org.apache.lucene.core_5.2.1.v20160301-1110.jar compared to its 5.4.1 equivalent.

As I've never used Lucene, I leave it to Xavier to decide if he can work with 5.4.1. I have created an update site based on the jars from rh-java-common-lucene5* 5.4.1_2.2.el7:

http://download.jboss.org/jbosstools/updates/requirements/lucene/rh-java-common-lucene5_5.4.1_2.2.el7/

You can install these into your Eclipse to be able to edit your webservices stuff to make it work with the latest. 


> Help docs cannot be opened: org.apache.lucene.index.IndexFormatTooOldException - got 2.0.3, want 5.0+
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JBDS-4133
>                 URL: https://issues.jboss.org/browse/JBDS-4133
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: build, rpm, webservices
>    Affects Versions: 10.2.0.AM2
>            Reporter: Nick Boldt
>            Assignee: Xavier Coulon
>            Priority: Blocker
>             Fix For: 10.2.0.AM3
>
>         Attachments: lucene3.5corevs.5.4.1analyzers-common.png, lucene3.5corevs.5.4.1queryparser.png
>
>
> Snippet from log attached to JBDS-4131:
> {code}
> !ENTRY org.eclipse.epp.logging.aeri.ide 2 10 2016-10-21 14:55:03.519
> !MESSAGE Updating the index from remote ‘https://aer.ctrlflow.com/downloads/redhat/problems.zip’ failed with exception: org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path="/tmp/1477058103380-0/segments_1"))): -11 (needs to be between 1071082519 and 1071082519). This version of Lucene only supports indexes created with release 4.0 and later. ; version: 2.0.3.201610111629
> !STACK 0
> org.eclipse.epp.logging.aeri.core.util.Logs$LogTraceException
> 	at org.eclipse.epp.logging.aeri.core.util.Logs$LogTraceException.newTrace(Logs.java:387)
> 	at org.eclipse.epp.logging.aeri.core.util.Logs.log(Logs.java:134)
> 	at org.eclipse.epp.internal.logging.aeri.ide.server.mars.ServerProblemsHistory$UpdateIndexJob.run(ServerProblemsHistory.java:322)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55){code}
> And
> {code}
> !ENTRY org.eclipse.help.base 4 0 2016-10-21 14:32:21.719
> !MESSAGE Error trying to consume Lucene index from bundle org.eclipse.wst.sse.doc.user_1.1.100.v201610121400 [389]. Please use an index built with Lucene 5 or higher.
> {code}
> then 100s of errors like this:
> {code}
> !MESSAGE Help document /org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_preferencePages.html cannot be opened.
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.2#72004)



More information about the jbosstools-issues mailing list