java.lang.ClassCastException: org.kohsuke.stapler.jsp.JSPFacet cannot be cast to org.kohsuke.stapler.Facet

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

Solutions on the web

via Jenkins JIRA by tecdroid, 1 year ago
org.kohsuke.stapler.jsp.JSPFacet cannot be cast to org.kohsuke.stapler.Facet
via Jenkins JIRA by tecdroid, 1 year ago
org.kohsuke.stapler.jsp.JSPFacet cannot be cast to org.kohsuke.stapler.Facet
java.lang.ClassCastException: org.kohsuke.stapler.jsp.JSPFacet cannot be cast to org.kohsuke.stapler.Facet
at org.kohsuke.stapler.MetaClass.buildDispatchers(MetaClass.java:85)
at org.kohsuke.stapler.MetaClass.(MetaClass.java:50)
at org.kohsuke.stapler.WebApp.getMetaClass(WebApp.java:118)
at org.kohsuke.stapler.MetaClass.(MetaClass.java:47)
at org.kohsuke.stapler.WebApp.getMetaClass(WebApp.java:118)
at org.kohsuke.stapler.MetaClass.(MetaClass.java:47)
at org.kohsuke.stapler.WebApp.getMetaClass(WebApp.java:118)
at org.kohsuke.stapler.MetaClass.(MetaClass.java:47)
at org.kohsuke.stapler.WebApp.getMetaClass(WebApp.java:118)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:441)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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