Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14063

Images are broken when not logged in

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When upgrading from 1.462 to other versions (tried 1.464 & 1.467) all images in the screen are invalid/broken when the user is not logged in. Once the user is logged in, everything works.

      I rolled back to 1.462 and everything works.

      This makes the UI barely usable when not logged in. Also, there's no broken image link for the login link, so we have to guess where it is.

        Attachments

          Issue Links

            Activity

            Hide
            rose S. Morris Rose added a comment -

            I have this identical issue on a Fedora 15 x86_64 install.

            What I can add is that the reason the images are broken is because accessing their URLs generates a 500 Server Error. The backtrace shows the underlying issue to be a NullPointerException.

            I've tried pretty much every upgrade between 1.462 and 1.470 and each exhibits this same behaviour. I'd really like to be able to move up so that I can see if a (presumably) unrelated issue I have is healed by a later release. Wit's end, etc.

            Show
            rose S. Morris Rose added a comment - I have this identical issue on a Fedora 15 x86_64 install. What I can add is that the reason the images are broken is because accessing their URLs generates a 500 Server Error. The backtrace shows the underlying issue to be a NullPointerException. I've tried pretty much every upgrade between 1.462 and 1.470 and each exhibits this same behaviour. I'd really like to be able to move up so that I can see if a (presumably) unrelated issue I have is healed by a later release. Wit's end, etc.
            Hide
            andrei_pozolotin Andrei Pozolotin added a comment -

            similar issue when jenkins is behind apache httpd proxy with ssl

            Show
            andrei_pozolotin Andrei Pozolotin added a comment - similar issue when jenkins is behind apache httpd proxy with ssl
            Hide
            swf Yves Schumann added a comment -

            Same here, also behind apache with httpd proxy using https:// access.

            Show
            swf Yves Schumann added a comment - Same here, also behind apache with httpd proxy using https:// access.
            Hide
            marcsanfacon Marc Sanfacon added a comment -

            I tried to open the image in a separate window and here is the error:

            Status Code: 500

            Exception:
            Stacktrace:
            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.HudsonFilter.doFilter(HudsonFilter.java:162)
            at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
            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(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)

            Show
            marcsanfacon Marc Sanfacon added a comment - I tried to open the image in a separate window and here is the error: Status Code: 500 Exception: Stacktrace: 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.HudsonFilter.doFilter(HudsonFilter.java:162) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) 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(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
            Hide
            marcsanfacon Marc Sanfacon added a comment -

            I confirm that the Greenball plugin version 1.12 fixes this

            Show
            marcsanfacon Marc Sanfacon added a comment - I confirm that the Greenball plugin version 1.12 fixes this
            Hide
            marcsanfacon Marc Sanfacon added a comment -

            Use greenballs v 1.12+

            Show
            marcsanfacon Marc Sanfacon added a comment - Use greenballs v 1.12+
            Hide
            apsoto Alex Soto added a comment -

            I'm seeing it on greenballs v1.13. Downgrading to 1.12 fixed it for me.

            Show
            apsoto Alex Soto added a comment - I'm seeing it on greenballs v1.13. Downgrading to 1.12 fixed it for me.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marcsanfacon Marc Sanfacon
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: