org.apache.lucene.index.CorruptIndexException Exception while creating guided decision table

506 views
Skip to first unread message

Ruler

unread,
Jan 24, 2017, 4:05:05 AM1/24/17
to Drools Usage
Hi All,

Presently i am using Drools  version v7.0.0 beta5 .

I am getting below error whenever i am creating guided decision table.

Unable to complete your request. The following exception occurred: org.apache.lucene.index.CorruptIndexException: codec header mismatch: actual header=16777473 vs expected header=1071082519 (resource=BufferedChecksumIndexInput(NIOFSIndexInput(path="/opt/apache-tomcat-7.0.65/bin/.index/plugins/_0_Memory_0.ram"))).








is there any missing configuration for my workbench?

Thanks,
Subhash 

Michael Anstis

unread,
Jan 24, 2017, 4:07:31 AM1/24/17
to Drools Usage
Did you start with a fresh install? Specifically was the .index folder deleted?

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/1efefcdd-f9bd-451b-9f34-98110d8d6e3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruler

unread,
Jan 24, 2017, 4:21:01 AM1/24/17
to Drools Usage
Thanks Michael for quick reply,

i recently replaced 6.4.0 wars with 7.0.0. but forgot to delete its files

Now,I  deleted .index , .nogit and repositories folders in bin location to create new Org unit for checking new features with 7.0.0

is there any folders do i need to remove to switch to new version?

Thanks,
Subhash.

Michael Anstis

unread,
Jan 24, 2017, 4:27:48 AM1/24/17
to Drools Usage
Hello,

I suggested to delete .index as the error you pasted relates to Apache Lucene (we use for indexing and store it's database in .index. The index is rebuilt if missing on startup). 

I know we changed some indexing code between 6.x and 7.x which could be the cause of your error.

You can also delete, as you have listed, /.niogit and /repositories. 
  • .niogit contains the repositories you've created/cloned into the workbench and some system repositories. You shouldn't have to delete this (but there might be some changes in the system repositories that may be incompatible)
  • repositories contains a local Maven Repository structure and should not need to be deleted.

With kind regards,

Mike

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages