[Issue 3941] New - CrumbIssuer NullPointerException with Macports Tomcat 6

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

[Issue 3941] New - CrumbIssuer NullPointerException with Macports Tomcat 6

lewisham
https://hudson.dev.java.net/issues/show_bug.cgi?id=3941
                 Issue #|3941
                 Summary|CrumbIssuer NullPointerException with Macports Tomcat
                        |6
               Component|hudson
                 Version|current
                Platform|Macintosh
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|security
             Assigned to|issues@hudson
             Reported by|lewisham






------- Additional comments from [hidden email] Fri Jun 26 18:38:02 +0000 2009 -------
Hi there,
I've downloaded Tomcat 6.0.18 for Mac OS X from the Macports repository. When running Hudson either by itself or inside a container in
Tomcat, I get the following issue:

===
type Exception report

message

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

exception

java.lang.NullPointerException
        hudson.security.csrf.CrumbFilter.getCrumbIssuer(CrumbFilter.java:38)
        hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:45)
        hudson.security.HudsonFilter.doFilter(HudsonFilter.java:153)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0-snapshot logs.
===

If I remove the downloaded Tomcat 6 libraries and dependencies from the CLASSPATH, Hudson will run by itself (using java -jar hudson).

There seems to be some interplay with a version of a library that Hudson doesn't like.

Any help would be appreciated, I'd prefer to have Hudson running inside Tomcat 6 if I can.

The full trace is included below.

Thanks!

===

SEVERE: Servlet.service() for servlet Stapler threw exception
java.lang.NullPointerException
        at hudson.security.csrf.CrumbFilter.getCrumbIssuer(CrumbFilter.java:38)
        at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:45)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:153)
        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:433)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:613)

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

Reply | Threaded
Open this post in threaded view
|

[Issue 3941] CrumbIssuer NullPointerException with Macports Tomcat 6

francois__
https://hudson.dev.java.net/issues/show_bug.cgi?id=3941






------- Additional comments from [hidden email] Wed Jul  1 10:12:09 +0000 2009 -------
Created an attachment (id=762)
stack trace


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

Reply | Threaded
Open this post in threaded view
|

[Issue 3941] CrumbIssuer NullPointerException with Macports Tomcat 6

francois__
In reply to this post by lewisham
https://hudson.dev.java.net/issues/show_bug.cgi?id=3941



User francois__ changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'francois__'
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Wed Jul  1 10:18:46 +0000 2009 -------
same problem on SunOS + Glassfish

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

Reply | Threaded
Open this post in threaded view
|

[Issue 3941] CrumbIssuer NullPointerException with Macports Tomcat 6

lewisham
In reply to this post by lewisham
https://hudson.dev.java.net/issues/show_bug.cgi?id=3941



User lewisham changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Mon Jul 20 17:23:42 +0000 2009 -------
http://www.nabble.com/problem-on-tomcat-to24353243.html

This was fixed in 1.316

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