java.lang.ClassCastException: com.sun.grizzly.config.ContextRootInfo cannot be cast to org.apache.catalina.Context

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 Java.net JIRA by varunrupela, 1 year ago
com.sun.grizzly.config.ContextRootInfo cannot be cast to org.apache.catalina.Context
via Oracle Community by cyberdeth, 1 year ago
com.sun.grizzly.config.ContextRootInfo cannot be cast to org.apache.catalina.Context
via Oracle Community by cyberdeth, 1 year ago
com.sun.grizzly.config.ContextRootInfo cannot be cast to org.apache.catalina.Context
via Stack Overflow by Pradyut Bhattacharya
, 1 year ago
com.sun.grizzly.config.ContextRootInfo cannot be cast to org.apache.catalina.Context
via Stack Overflow by Fabiano Carloto
, 5 months ago
com.sun.grizzly.config.ContextRootInfo cannot be cast to org.apache.catalina.Context
java.lang.ClassCastException: com.sun.grizzly.config.ContextRootInfo cannot be cast to org.apache.catalina.Context
at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:504)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:266)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at java.lang.Thread.run(Thread.java:636)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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