What steps will reproduce the problem?
1.Use Lucene 3.6.0 and use the latest git version of Zoie
2.Try to instantiate new ZoieSystem(indexDir, interpreter, decorator, config);
3.You get an exception: Caused by: java.lang.VerifyError: class
proj.zoie.api.ZoieMultiReader overrides final method incRef.()V
The problem is that since Lucene 3.5.0, incRef has been declared final!
What is the expected output? What do you see instead?
Exception noted above.
What version of the product are you using? On what operating system?
Built from git repository about three weeks ago (~ last week of April).
STACK TRACE:
Caused by: java.lang.VerifyError: class proj.zoie.api.ZoieMultiReader overrides
final method incRef.()V
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2889)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1170)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at proj.zoie.impl.indexing.internal.DiskSearchIndex.<init>(DiskSearchIndex.java:58)
at proj.zoie.impl.indexing.internal.SearchIndexManager.<init>(SearchIndexManager.java:85)
at proj.zoie.impl.indexing.ZoieSystem.<init>(ZoieSystem.java:396)
at proj.zoie.impl.indexing.ZoieSystem.<init>(ZoieSystem.java:175)
at com.rubenkleiman.eweware.store.zoie.Start.start(Start.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1357)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1318)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1278)
... 29 more
May 14, 2012 3:26:10
Please provide any additional information below:
This is easy to fix because ZoieMultiReader's incRef merely calls the super, so
this overloading seems unnecessary.
Original issue reported on code.google.com by rk_j...@yahoo.com on 14 May 2012 at 11:04
Original issue reported on code.google.com by
rk_j...@yahoo.com
on 14 May 2012 at 11:04