lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igal @ getRailo.org" <i...@getrailo.org>
Subject Cannot instantiate SPI class
Date Wed, 09 Jan 2013 03:53:12 GMT
I'm trying to access Lucene4 from Railo (an open-source application server)

when I try to create an IndexWriterConfig I get the error:  Cannot 
instantiate SPI class: org.apache.lucene.codecs.appending.AppendingCodec

any ideas?

TIA

stacktrace below:

Cannot instantiate SPI class: 
org.apache.lucene.codecs.appending.AppendingCodec at 
org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:104):104 at 
org.apache.lucene.codecs.PostingsFormat.forName(PostingsFormat.java:100):100 
at 
org.apache.lucene.codecs.lucene40.Lucene40Codec.<init>(Lucene40Codec.java:114):114 
at 
org.apache.lucene.codecs.appending.AppendingCodec.<init>(AppendingCodec.java:34):34

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method):-2 at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source):-1 
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source):-1 at java.lang.reflect.Constructor.newInstance(Unknown 
Source):-1 at java.lang.Class.newInstance0(Unknown Source):-1 at 
java.lang.Class.newInstance(Unknown Source):-1 at 
org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:62):62 
at 
org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:42):42 
at 
org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:37):37 
at org.apache.lucene.codecs.Codec.<clinit>(Codec.java:41):41 at 
org.apache.lucene.index.LiveIndexWriterConfig.<init>(LiveIndexWriterConfig.java:118):118

at 
org.apache.lucene.index.IndexWriterConfig.<init>(IndexWriterConfig.java:145):145 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method):-2 at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source):-1 
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source):-1 at java.lang.reflect.Constructor.newInstance(Unknown 
Source):-1 at 
railo.runtime.reflection.pairs.ConstructorInstance.invoke(ConstructorInstance.java:34):34

at 
railo.runtime.reflection.Reflector.callConstructor(Reflector.java:653):653 
at railo.runtime.java.JavaObject.init(JavaObject.java:311):311 at 
railo.runtime.java.JavaObject.call(JavaObject.java:235):235 at 
railo.runtime.java.JavaObject.call(JavaObject.java:272):272 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723

at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at 
s21.search.lucene4search_cfc$cf._1(E:\Websites\_S21WAF\CFC\s21\search\Lucene4Search.cfc:92):92

at 
s21.search.lucene4search_cfc$cf.udfCall(E:\Websites\_S21WAF\CFC\s21\search\Lucene4Search.cfc):-1

at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284 at 
railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:775):775 
at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723

at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at 
s21.search.lucene4search_cfc$cf._1(E:\Websites\_S21WAF\CFC\s21\search\Lucene4Search.cfc:142):142

at 
s21.search.lucene4search_cfc$cf.udfCall(E:\Websites\_S21WAF\CFC\s21\search\Lucene4Search.cfc):-1

at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:572):572 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723

at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at 
_test.lucene4_cfm$cf.call(E:\Websites\21solutions\_test\lucene4.cfm:14):14 
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:772):772 
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:753):753 
at 
railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:183):183 
at 
railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18 
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2255):2255 
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2222):2222 
at 
railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:315):315 
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29 at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:722):722 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210

at 
net.twentyonesolutions.servlet.filters.RequestThreadsMonitor.doFilter(RequestThreadsMonitor.java:152):152

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243):243

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210

at 
net.twentyonesolutions.servlet.filters.BlockedIpFilter.doFilter(BlockedIpFilter.java:90):90

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243):243

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210

at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222):222 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168):168 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99):99 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118 
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407 
at 
org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197):197 
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585):585

at 
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813):1813 
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1 
at java.lang.Thread.run(Unknown Source):-1

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message