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 Alejandro Ruiz, 1 year ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
via Jenkins JIRA by Alejandro Ruiz, 1 year ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
via Google Groups by alex...@gmail.com (JIRA), 1 year ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be <span class="code-keyword" style="color: #000091">cast</span> to net.sf.json.JSONObject
via Jenkins JIRA by Abhimanyu Singh, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from {"value":"1","stapler-class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM","$class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM
via Jenkins JIRA by Abhimanyu Singh, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from {"value":"1","stapler-class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM","$class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM
via Stack Overflow by Jordan181
, 1 year ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
javax.servlet.ServletException: java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)	at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:86)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)