We're updating the issue view to help you get more done. 

Series cannot be created

Steps to reproduce

Currently series cannot be created under the develop branch (see screenshot of develop.opencast.org). The error appears when trying to update the solr index:

java.lang.NoSuchMethodError: org.tartarus.snowball.ext.EnglishStemmer.eq_s(ILjava/lang/StringZ
at org.tartarus.snowball.ext.EnglishStemmer.r_prelude(EnglishStemmer.java:188)
at org.tartarus.snowball.ext.EnglishStemmer.stem(EnglishStemmer.java:1196)
at org.apache.solr.analysis.SnowballPorterFilter.incrementToken(SnowballPorterFilterFactory.java:126)
at org.apache.lucene.analysis.TokenStream.next(TokenStream.java:406)
at org.apache.solr.analysis.BufferedTokenStream.read(BufferedTokenStream.java:97)
at org.apache.solr.analysis.BufferedTokenStream.next(BufferedTokenStream.java:83)
at org.apache.lucene.analysis.TokenStream.incrementToken(TokenStream.java:321)
at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:138)
at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:244)
at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:828)
at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:809)
at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2683)
at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2655)
at org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:241)
at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61)
at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:139)
at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:69)
at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:139)
at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:64)
at org.opencastproject.series.impl.solr.SeriesServiceSolrIndex.updateIndex(SeriesServiceSolrIndex.java:308)
at org.opencastproject.series.impl.SeriesServiceImpl.updateSeries(SeriesServiceImpl.java:211)
at org.opencastproject.index.service.impl.IndexServiceImpl.createSeries(IndexServiceImpl.java:1854)
at org.opencastproject.adminui.endpoint.SeriesEndpoint.createNewSeries(SeriesEndpoint.java:534)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_151]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_151]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_151]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_151]
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
... 89 more

Apparently this problem was introduced by PR #83 which contained the update to Java8, since reverting the commit results in the error disappearing.

Status

Assignee

Julian Kniephoff

Reporter

Katrin Ihler

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

5.0

Priority

Blocker