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.

  • Mojarra JSF InstantiationException
    via Stack Overflow by Slava Gornostal
    ,
  • GitHub comment 3779#205754282
    via GitHub by Lan5432
    ,
  • WC Portal server failed to staer
    via by 3176541,
  • GitHub comment 3#234120450
    via GitHub by PatMartin
    ,
  • Exceptions on start in OSX
    via GitHub by ainthek
    ,
    • java.lang.InstantiationException: org.taxioma.server.console.converters.ClientConverter at java.lang.Class.newInstance(Class.java:427) at com.sun.faces.application.ApplicationImpl.newConverter(ApplicationImpl.java:1808) at com.sun.faces.application.ApplicationImpl.createConverterBasedOnClass(ApplicationImpl.java:1420) at com.sun.faces.application.ApplicationImpl.createConverter(ApplicationImpl.java:1399) at org.primefaces.config.PrimeConfiguration.initConfig(PrimeConfiguration.java:100) at org.primefaces.config.PrimeConfiguration.<init>(PrimeConfiguration.java:80) at org.primefaces.context.DefaultApplicationContext.<init>(DefaultApplicationContext.java:41) at org.primefaces.context.DefaultRequestContext.getApplicationContext(DefaultRequestContext.java:249) at org.primefaces.metadata.transformer.MetadataTransformerExecutor.processEvent(MetadataTransformerExecutor.java:45) at javax.faces.event.SystemEvent.processListener(SystemEvent.java:108) at javax.faces.event.ComponentSystemEvent.processListener(ComponentSystemEvent.java:118) at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2169) at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2142) at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:301) at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:245) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:857) at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:985) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1854) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:458) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:134) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:225) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) at org.taxioma.server.web.AuthenticationProcessFilter.doFilter(AuthenticationProcessFilter.java:55) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)

    Users with the same issue

    Andreas Häber
    2 times, last one,
    Bálint Pató
    1 times, last one,
    Unknown User
    178 times, last one,
    filpgame
    8 times, last one,
    Unknown visitor1 times, last one,
    39 more bugmates