jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: java.lang.AbstractMethodError: org.apache.lucene.store.Directory.openFile(Ljava/lang/String;)
Date Wed, 14 Nov 2007 12:26:25 GMT
you are probably using an invalid combination of jackrabbit and lucene version. 
what version of jackrabbit do you have and what version is the lucene jar file 
you have in your classpath?

e.g. jackrabbit-core 1.3.3 works with lucene-core 2.0.0

regards
  marcel

kranti.infy wrote:
> Hi 
> 
> When i am tried to retrieve the file details from the database using the
> jack-rabbit.
> I am getting the following error.
> Can any one suggest me the solution..........
> 
> I have attached the log data.......... 
> http://www.nabble.com/file/p13744126/log.log log.log 
> 
> java.lang.AbstractMethodError:
> org.apache.lucene.store.Directory.openFile(Ljava/lang/String;)Lorg/apache/lucene/store/InputStream;
> 	org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:40)
> 	org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:116)
> 	org.apache.lucene.store.Lock$With.run(Lock.java:109)
> 	org.apache.lucene.index.IndexReader.open(IndexReader.java:111)
> 	org.apache.lucene.index.IndexReader.open(IndexReader.java:106)
> 
> org.apache.jackrabbit.core.query.lucene.AbstractIndex.getIndexReader(AbstractIndex.java:178)
> 
> org.apache.jackrabbit.core.query.lucene.PersistentIndex.getNumDocuments(PersistentIndex.java:222)
> 
> org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:288)
> 
> org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:295)
> 
> org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:44)
> 
> org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:478)
> 	org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:231)
> 
> org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(RepositoryImpl.java:589)
> 
> org.apache.jackrabbit.core.RepositoryImpl.access$300(RepositoryImpl.java:99)
> 
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1580)
> 
> org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:570)
> 
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:379)
> 	org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:286)
> 	org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:521)
> 
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
> 
> org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
> 
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
> 
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:363)
> 	org.apache.jsp.jsp.index_jsp._jspService(index_jsp.java:91)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> 
> 


Mime
View raw message