• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: Other, OS: All

      I'm running hudson on Tomcat 5.0.28. Everything works fine except for some
      missing icons on the last build page. These icons are pointin to an url like this:

      http://ci.dev.api.no/nocacheImages/48x48/blue.gif

      This nocacheImages doesn't seem to exist anywhere inside the the hudson.war
      file. So it seems to me that this is some sort of bug?

      Screenshot of the broken image can be viewed here:
      http://www.jakobnielsen.net/etc/images/bug.png

          [JENKINS-2341] Broken icons pointing to /nocacheImages/

          Alan Harder added a comment -

          tine2k, what browser are you using? Do you see this problem with another browser type?
          Server env details?

          Alan Harder added a comment - tine2k, what browser are you using? Do you see this problem with another browser type? Server env details?

          tine2k added a comment -

          I've tried with the following browser: Firefox 3.6, IE 8 and Chrome 4. All have the same result/exception.
          The server I use is Apache Tomcat 6.0.20 with JDK 1.6.0_14-b08 under Solarix x86.

          tine2k added a comment - I've tried with the following browser: Firefox 3.6, IE 8 and Chrome 4. All have the same result/exception. The server I use is Apache Tomcat 6.0.20 with JDK 1.6.0_14-b08 under Solarix x86.

          I have the exact same problem under Weblogic 10 and JDK1.5.0_18.

          Vincent Latombe added a comment - I have the exact same problem under Weblogic 10 and JDK1.5.0_18.

          Alan Harder added a comment -

          can either/both of you enter this in Manage Hudson / Script Console and report the results?

          println(org.kohsuke.stapler.Stapler.currentRequest.servletContext)
          println(org.kohsuke.stapler.Stapler.currentRequest.servletContext.getRealPath('/images'))

          Alan Harder added a comment - can either/both of you enter this in Manage Hudson / Script Console and report the results? println(org.kohsuke.stapler.Stapler.currentRequest.servletContext) println(org.kohsuke.stapler.Stapler.currentRequest.servletContext.getRealPath( '/images' ))

          Alan Harder added a comment -

          I'm tempted to just remove the nocacheImages thing, as it exists just to workaround a firefox bug that has been fixed since Dec, 2008 (firefox 3.0.5 and newer are fixed).

          Alan Harder added a comment - I'm tempted to just remove the nocacheImages thing, as it exists just to workaround a firefox bug that has been fixed since Dec, 2008 (firefox 3.0.5 and newer are fixed).

          Here is the output that I get

          weblogic.servlet.internal.WebAppServletContext@1c232a - appName: 'hudsonapp', name: 'hudson', context-path: '/hudson'
          null

          Vincent Latombe added a comment - Here is the output that I get weblogic.servlet.internal.WebAppServletContext@1c232a - appName: 'hudsonapp', name: 'hudson', context-path: '/hudson' null

          tine2k added a comment -

          Sorry for the late reply. My output is

          org.apache.catalina.core.ApplicationContextFacade@368892
          null

          tine2k added a comment - Sorry for the late reply. My output is org.apache.catalina.core.ApplicationContextFacade@368892 null

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/Hudson.java
          trunk/hudson/main/core/src/main/java/hudson/model/Job.java
          trunk/hudson/main/core/src/main/java/hudson/model/Run.java
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/29855
          Log:
          [FIXED JENKINS-2341] Colored ball image at top of build pages was broken
          for Hudson in some web containers. Fixed by removing workaround (r323)
          for a Firefox bug (https://bugzilla.mozilla.org/show_bug.cgi?id=89419),
          fixed since 3.0.5 (Dec, 2008).

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/java/hudson/model/Hudson.java trunk/hudson/main/core/src/main/java/hudson/model/Job.java trunk/hudson/main/core/src/main/java/hudson/model/Run.java trunk/www/changelog.html http://jenkins-ci.org/commit/29855 Log: [FIXED JENKINS-2341] Colored ball image at top of build pages was broken for Hudson in some web containers. Fixed by removing workaround (r323) for a Firefox bug ( https://bugzilla.mozilla.org/show_bug.cgi?id=89419 ), fixed since 3.0.5 (Dec, 2008).

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/Hudson.java
          trunk/hudson/main/core/src/main/java/hudson/model/Job.java
          trunk/hudson/main/core/src/main/java/hudson/model/Run.java
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/29855
          Log:
          [FIXED JENKINS-2341] Colored ball image at top of build pages was broken
          for Hudson in some web containers. Fixed by removing workaround (r323)
          for a Firefox bug (https://bugzilla.mozilla.org/show_bug.cgi?id=89419),
          fixed since 3.0.5 (Dec, 2008).

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/java/hudson/model/Hudson.java trunk/hudson/main/core/src/main/java/hudson/model/Job.java trunk/hudson/main/core/src/main/java/hudson/model/Run.java trunk/www/changelog.html http://jenkins-ci.org/commit/29855 Log: [FIXED JENKINS-2341] Colored ball image at top of build pages was broken for Hudson in some web containers. Fixed by removing workaround (r323) for a Firefox bug ( https://bugzilla.mozilla.org/show_bug.cgi?id=89419 ), fixed since 3.0.5 (Dec, 2008).

          tine2k added a comment -

          @mindless, thank a lot for fixing this. The problem only happens in my production environment, so I can not test there.
          @vlatombe: Can you test if the fix works?

          tine2k added a comment - @mindless, thank a lot for fixing this. The problem only happens in my production environment, so I can not test there. @vlatombe: Can you test if the fix works?

            mindless Alan Harder
            lazee lazee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: