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 Markus KARG, 1 year ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
via Jenkins JIRA by Markus KARG, 1 year ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
via Google Groups by Tomek Kaczanowski, 2 years ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
via nabble.com by Unknown author, 1 year ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
via nabble.com by Unknown author, 2 years ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
via Google Groups by glsil...@pssd.com, 2 years ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject	at org.jvnet.hudson.plugins.m2release.M2ReleaseAction.doSubmit(M2ReleaseAction.java:239)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:616)	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)	at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583)	at org.kohsuke.stapler.Stapler.service(Stapler.java:214)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	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 org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)	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 org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64)	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)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	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.doFilter(ApplicationFilterChain.java:206)	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)	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:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)	at java.lang.Thread.run(Thread.java:636)