I yum updated to the jenkins-1.463-1.1 rpm from http://pkg.jenkins-ci.org/redhat/ repository today at noon PDT. I'm running on CentOS 5.8 with java 1.6.0.

      Since then, logged out users get the following error response for various static files (https://server:8443/static/5d0888f6/images/title.png, for example):

      May 7, 2012 1:39:38 PM winstone.Logger logInternal
      WARNING: Untrapped Error in Servlet
      java.lang.NullPointerException
      	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:50)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      	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:166)
      	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:173)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
      	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:66)
      	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 winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      	at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
      	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      

      Interestingly, the error stops happening and the files are served successfully when the user logs in. We are using the green balls plugin. I don't know whether this is specific to the green balls plugin.

      We're using project-based matrix auth strategy, where anonymous has fairly limited permissions: overall read and job read.

          [JENKINS-13698] Error 500 on static assets with 1.463-1.1 rpm

          asgeirn added a comment -

          Could you try the latest 1.12 version that Kohsuke just made? It appears to have addressed this.

          asgeirn added a comment - Could you try the latest 1.12 version that Kohsuke just made? It appears to have addressed this.

          Mark Doliner added a comment -

          Unfortunately I'm about to be traveling for a few weeks, so I'm unable to test this. I'll see if someone else at my company will be able to. (I don't see a newer version of the rpm in the repo, though.)

          Mark Doliner added a comment - Unfortunately I'm about to be traveling for a few weeks, so I'm unable to test this. I'll see if someone else at my company will be able to. (I don't see a newer version of the rpm in the repo, though.)

          Markus Wagner added a comment -

          The Green Balls plugin version 1.12 fixed this issue for us.

          Markus Wagner added a comment - The Green Balls plugin version 1.12 fixed this issue for us.

          Mark Doliner added a comment -

          Yep, the updated Green Balls plugin fixed the problem for us, too. Thanks!

          Mark Doliner added a comment - Yep, the updated Green Balls plugin fixed the problem for us, too. Thanks!

          C G added a comment -

          This seems to have cropped back up in the latest release (or maybe never fully was fixed). I upgraded from the 1.462 release to the 1.466 release and have this exact same problem--the login screen for non-logged in users won't serve certain static files. Once logged in, everything seems fine. My users MUST login to access Jenkins, so I can only confirm that this occurs on the login screen.

          My users are authenticated against Active Directory (I am using version 1.27 of the Active Directory Plugin).

          I am running on Windows Server 2008 R2.

          C G added a comment - This seems to have cropped back up in the latest release (or maybe never fully was fixed). I upgraded from the 1.462 release to the 1.466 release and have this exact same problem--the login screen for non-logged in users won't serve certain static files. Once logged in, everything seems fine. My users MUST login to access Jenkins, so I can only confirm that this occurs on the login screen. My users are authenticated against Active Directory (I am using version 1.27 of the Active Directory Plugin). I am running on Windows Server 2008 R2.

          C G added a comment -

          I missed the comment about the green balls plugin. Upgraded that and it fixed the issue.

          C G added a comment - I missed the comment about the green balls plugin. Upgraded that and it fixed the issue.

            fantus C G
            markdoliner Mark Doliner
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: