Lucene error after updating to 2018

Description
mfischbacher
Posts: 2
Joined: Mon Jan 18, 2016 8:34 am

Lucene error after updating to 2018

Postby mfischbacher » Fri Jun 08, 2018 10:03 am

Hi there,

I've updated Polarion ALM from 2017 to 2018 and getting now the following error message.
Any idea what I can do against that?

Thank you in advance!

Regards,
Markus

Code: Select all

2018-06-08 12:57:26,762 [main] ERROR com.polarion.psvn.launcher.internal.platform.PlatformService  - org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path="/opt/polarion/data/workspace/polarion-data/index/Revision/segments_ou"))): 1 (needs to be between 6 and 8). This version of Lucene only supports indexes created with release 6.0 and later.
java.lang.RuntimeException: org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path="/opt/polarion/data/workspace/polarion-data/index/Revision/segments_ou"))): 1 (needs to be between 6 and 8). This version of Lucene only supports indexes created with release 6.0 and later.
        at com.polarion.subterra.index.impl.lucene.LuceneIndexManager.createIndexWriter(LuceneIndexManager.java:115)
        at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
        at com.polarion.subterra.index.impl.lucene.LuceneIndexManager.acquireWriter(LuceneIndexManager.java:86)
        at com.polarion.subterra.index.impl.LuceneWrapper.refreshInIndex(LuceneWrapper.java:273)
        at com.polarion.subterra.index.impl.ObjectIndex.reindexHeadPartiallyAsync(ObjectIndex.java:679)
        at com.polarion.subterra.index.impl.ObjectIndex.reindexHeadAndHistory(ObjectIndex.java:618)
        at com.polarion.subterra.index.impl.ObjectIndex.access$1(ObjectIndex.java:616)
        at com.polarion.subterra.index.impl.ObjectIndex$3.call(ObjectIndex.java:566)
        at com.polarion.subterra.index.impl.ObjectIndex.refreshIndex(ObjectIndex.java:580)
        at com.polarion.subterra.index.impl.ObjectIndex.refreshIndex(ObjectIndex.java:514)
        at com.polarion.subterra.index.impl.ObjectIndex.reindexHeadAndHistory(ObjectIndex.java:442)
        at $IObjectIndex_163df0b1b55.reindexHeadAndHistory($IObjectIndex_163df0b1b55.java)
        at com.polarion.platform.persistence.internal.pe.PersistenceEngineListener.executeReindex(PersistenceEngineListener.java:188)
        at com.polarion.platform.persistence.internal.pe.PersistenceEngineListener.doFinishStartup(PersistenceEngineListener.java:138)
        at com.polarion.platform.persistence.internal.pe.LowLevelDataService.boot(LowLevelDataService.java:365)
        at $ILowLevelPersistence_163df0b1bfd.boot($ILowLevelPersistence_163df0b1bfd.java)
        at $ILowLevelPersistence_163df0b1bfc.boot($ILowLevelPersistence_163df0b1bfc.java)
        at com.polarion.psvn.launcher.internal.platform.PlatformService$1.run(PlatformService.java:345)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at com.polarion.platform.internal.security.SubjectNDC.doAs(SubjectNDC.java:69)
        at com.polarion.platform.internal.security.SecurityService.doAsUser(SecurityService.java:473)
        at com.polarion.platform.internal.security.SecurityService.doAsSystemUser(SecurityService.java:463)
        at $ISecurityService_163df0b1b46.doAsSystemUser($ISecurityService_163df0b1b46.java)
        at $ISecurityService_163df0b1b45.doAsSystemUser($ISecurityService_163df0b1b45.java)
        at com.polarion.psvn.launcher.internal.platform.PlatformService.bootPlatform(PlatformService.java:335)
        at com.polarion.psvn.launcher.internal.platform.PlatformService.start(PlatformService.java:91)
        at com.polarion.psvn.launcher.PolarionSVNApplication.runImpl(PolarionSVNApplication.java:128)
        at com.polarion.psvn.launcher.PolarionSVNApplication.run(PolarionSVNApplication.java:86)
        at com.polarion.core.boot.launchers.BasicAppLauncher.launch(BasicAppLauncher.java:53)
        at com.polarion.core.boot.impl.AppLaunchersManager.run(AppLaunchersManager.java:183)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)
   ...

ssinnott
Posts: 4
Joined: Thu May 17, 2018 11:00 pm

Re: Lucene error after updating to 2018

Postby ssinnott » Tue Jul 03, 2018 9:16 pm

Have you tried doing a complete reindex? Not from within the application, but from the command line.

Cheers

Simon


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: Google [Bot] and 15 guests