java.lang.InstantiationException: org.apache.lucene.analysis.fr.FrenchAnalyzer

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This happens when you try to instantiate a class that can't be instantiated, either because the class object is abstract, an interface, an array class, a primitive type, void, or because the class has no nullary constructor.

Solutions on the web

via GitHub by marcelsip
, 1 year ago
org.apache.lucene.analysis.fr.FrenchAnalyzer
java.lang.InstantiationException: org.apache.lucene.analysis.fr.FrenchAnalyzer
at java.lang.Class.newInstance(Unknown Source)
at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.newAnalyzer(Unknown Source)
at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.getSingleWriter(Unknown Source)
at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.newWriter(Unknown Source)
at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.newWriter(Unknown Source)
at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.touch(Unknown Source)
at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.onContextInit(Unknown Source)
at com.esri.gpt.framework.context.InitializationServlet.init(Unknown Source)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5123)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5407)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
178 times, 5 months ago
2 times, 6 months ago
8 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.