java.lang.InstantiationException

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.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Black Screen Then Not Responding
    via GitHub by blobina
    ,
  • Error on calling axis2 web service
    via Stack Overflow by ZetCC
    ,
  • server crshing... help please
    via GitHub by DOCwombat
    ,
  • crack pack won't open minecraft
    via GitHub by juby2k
    ,
    • 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 org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637) 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

    Unknown visitor1 times, last one,
    Unknown User
    178 times, last one,
    Andreas Häber
    2 times, last one,
    filpgame
    8 times, last one,
    Unknown visitor1 times, last one,
    39 more bugmates