Build number error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Build number error

Aaron Bruegl
Hello,

I just setup a few projects with Hudson, with one last problem I can't
fix. Clicking on:
http://myURL:8080/hudson/job/myProject/lastBuild/buildNumber

Yields the below exception (I am using Hudson 1.64 and Tomcat 4.1 on
Windows XP):

Any suggestions?


 HTTP Status 500 -

------------------------------------------------------------------------

*type* Exception report

*message*

*description* _The server encountered an internal error () that
prevented it from fulfilling this request._

*exception*

javax.servlet.ServletException:
org.kohsuke.stapler.StaplerResponse.setCharacterEncoding(Ljava/lang/String;)V

    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:225)
    at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:183)
    at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)

    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
    at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
    at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)

    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:161)
    at org.kohsuke.stapler.Stapler.service(Stapler.java:77)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:198)

    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)

    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)

    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:138)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)

    at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:445)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)

    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2459)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)

    at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)

    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)

    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:126)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)

    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

    at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

    at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

    at java.lang.Thread.run(Unknown Source)

*root cause*

java.lang.NoSuchMethodError:
org.kohsuke.stapler.StaplerResponse.setCharacterEncoding(Ljava/lang/String;)V

    at hudson.model.Run.doBuildNumber(Run.java:700)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:50)
    at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:59)
    at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)

    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
    at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:183)
    at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)

    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
    at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
    at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)

    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:161)
    at org.kohsuke.stapler.Stapler.service(Stapler.java:77)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:198)

    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)

    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)

    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:138)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)

    at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:445)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)

    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2459)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)

    at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)

    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)

    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:126)

    at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)

    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

    at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

    at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

    at java.lang.Thread.run(Unknown Source)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Build number error

Aaron Bruegl
I installed to Tomcat 5.5 on a Ubuntu Linux box and this no longer occurs.

Aaron Bruegl wrote:

> Hello,
>
> I just setup a few projects with Hudson, with one last problem I can't
> fix. Clicking on:
> http://myURL:8080/hudson/job/myProject/lastBuild/buildNumber
>
> Yields the below exception (I am using Hudson 1.64 and Tomcat 4.1 on
> Windows XP):
>
> Any suggestions?
>
>
> HTTP Status 500 -
>
> ------------------------------------------------------------------------
>
> *type* Exception report
>
> *message*
>
> *description* _The server encountered an internal error () that
> prevented it from fulfilling this request._
>
> *exception*
>
> javax.servlet.ServletException:
> org.kohsuke.stapler.StaplerResponse.setCharacterEncoding(Ljava/lang/String;)V
>
>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:225)
>    at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:183)
>    at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
>
>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
>    at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
>    at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
>
>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:161)
>    at org.kohsuke.stapler.Stapler.service(Stapler.java:77)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>    at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:198)
>
>    at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
>
>    at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>
>    at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>
>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>    at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:138)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>
>    at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:445)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>
>    at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>
>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>    at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2459)
>
>    at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>
>    at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>
>    at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>
>    at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>
>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>    at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:126)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>
>    at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>
>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>    at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>    at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
>    at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>
>    at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
>    at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
>    at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>
>    at java.lang.Thread.run(Unknown Source)
>
> *root cause*
>
> java.lang.NoSuchMethodError:
> org.kohsuke.stapler.StaplerResponse.setCharacterEncoding(Ljava/lang/String;)V
>
>    at hudson.model.Run.doBuildNumber(Run.java:700)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>    at java.lang.reflect.Method.invoke(Unknown Source)
>    at
> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:50)
>    at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:59)
>    at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
>
>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
>    at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:183)
>    at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
>
>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
>    at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
>    at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
>
>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:161)
>    at org.kohsuke.stapler.Stapler.service(Stapler.java:77)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>    at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:198)
>
>    at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
>
>    at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>
>    at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>
>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>    at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:138)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>
>    at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:445)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>
>    at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>
>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>    at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2459)
>
>    at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>
>    at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>
>    at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>
>    at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>
>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>    at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:126)
>
>    at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>
>    at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>
>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>    at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>    at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
>    at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>
>    at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
>    at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
>    at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>
>    at java.lang.Thread.run(Unknown Source)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Build number error

Kohsuke Kawaguchi-2

Thanks. I guess then the problem is that we require Servlet 2.4. I
should probably document that.

Aaron Bruegl wrote:

> I installed to Tomcat 5.5 on a Ubuntu Linux box and this no longer occurs.
>
> Aaron Bruegl wrote:
>> Hello,
>>
>> I just setup a few projects with Hudson, with one last problem I can't
>> fix. Clicking on:
>> http://myURL:8080/hudson/job/myProject/lastBuild/buildNumber
>>
>> Yields the below exception (I am using Hudson 1.64 and Tomcat 4.1 on
>> Windows XP):
>>
>> Any suggestions?
>>
>>
>> HTTP Status 500 -
>>
>> ------------------------------------------------------------------------
>>
>> *type* Exception report
>>
>> *message*
>>
>> *description* _The server encountered an internal error () that
>> prevented it from fulfilling this request._
>>
>> *exception*
>>
>> javax.servlet.ServletException:
>> org.kohsuke.stapler.StaplerResponse.setCharacterEncoding(Ljava/lang/String;)V
>>
>>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:225)
>>    at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:183)
>>    at
>> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
>>
>>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
>>    at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
>>    at
>> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
>>
>>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
>>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:161)
>>    at org.kohsuke.stapler.Stapler.service(Stapler.java:77)
>>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>>    at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:198)
>>
>>    at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
>>
>>    at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>>
>>    at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>>    at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:138)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>>
>>    at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:445)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>>
>>    at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>>    at
>> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2459)
>>
>>    at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>>
>>    at
>> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>>
>>    at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>>
>>    at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>>    at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:126)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>>
>>    at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>>    at
>> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>>    at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>
>>    at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>
>>    at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>
>>    at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>
>>    at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>
>>    at java.lang.Thread.run(Unknown Source)
>>
>> *root cause*
>>
>> java.lang.NoSuchMethodError:
>> org.kohsuke.stapler.StaplerResponse.setCharacterEncoding(Ljava/lang/String;)V
>>
>>    at hudson.model.Run.doBuildNumber(Run.java:700)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>    at java.lang.reflect.Method.invoke(Unknown Source)
>>    at
>> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:50)
>>    at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:59)
>>    at
>> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
>>
>>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
>>    at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:183)
>>    at
>> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
>>
>>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
>>    at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
>>    at
>> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
>>
>>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:216)
>>    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:161)
>>    at org.kohsuke.stapler.Stapler.service(Stapler.java:77)
>>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>>    at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:198)
>>
>>    at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
>>
>>    at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>>
>>    at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>>    at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:138)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>>
>>    at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:445)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>>
>>    at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>>    at
>> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2459)
>>
>>    at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>>
>>    at
>> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>>
>>    at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>>
>>    at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>>    at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:126)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)
>>
>>    at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:432)
>>
>>    at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
>>    at
>> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>>    at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>
>>    at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>
>>    at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>
>>    at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>
>>    at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>
>>    at java.lang.Thread.run(Unknown Source)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Build number error

Kohsuke Kawaguchi-2
Kohsuke Kawaguchi wrote:
> Thanks. I guess then the problem is that we require Servlet 2.4. I
> should probably document that.

I guess it's already documented that it requires Servlet 2.4.

I'll put some checks so that users will see a nice error message
pointing out the problem, instead of this message.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment