SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-2457

Random Bitmap displayed instead of Toxicity Chart

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Toxicity Chart
    • Labels:
      None
    • Number of attachments :
      1

      Description

      In Version 0.1 of the plugin, using Sonar 3.3, a random bitmap ist displayed instead of the Toxicity chart.

        Activity

        Hide
        Bernhard Cygan added a comment -

        Operating System of the Sonar Server is Ubuntu 12.04.1 LTS (3.2.0-33-geenric x86_64)
        JVM is OpenJDK 1.6.0_24 (IcedTea 1.11.5), 64-Bit Server VM (build 20.0-b12, mixed mode)
        Sonar version is 3.3

        It happens indepently of the browser (I tried Chromium as well as Firefox, each on Linux), it does not happen for all projects.
        The link seems to be correct, because wx and wy are proper; but the bitmap that is show has totally different dimensions, as you can see in the screenshot.

        When I repeatedly press Ctrl-F5 (more than once, but not more than five times), the correct bitmap will be displayed. So this seems to be a caching issue. I will check whether something is caching stuff on my side, there might be a caching reverse proxy involved.

        Show
        Bernhard Cygan added a comment - Operating System of the Sonar Server is Ubuntu 12.04.1 LTS (3.2.0-33-geenric x86_64) JVM is OpenJDK 1.6.0_24 (IcedTea 1.11.5), 64-Bit Server VM (build 20.0-b12, mixed mode) Sonar version is 3.3 It happens indepently of the browser (I tried Chromium as well as Firefox, each on Linux), it does not happen for all projects. The link seems to be correct, because wx and wy are proper; but the bitmap that is show has totally different dimensions, as you can see in the screenshot. When I repeatedly press Ctrl-F5 (more than once, but not more than five times), the correct bitmap will be displayed. So this seems to be a caching issue. I will check whether something is caching stuff on my side, there might be a caching reverse proxy involved.
        Hide
        Bernhard Cygan added a comment - - edited

        Contents of the Sonar log of today so far:

        2012.11.26 08:07:46 INFO  c.a.c.i.s.s.c.ClientPropertiesImpl  Loading property: 'application.name' : 'sonar'
        2012.11.26 08:07:46 INFO  c.a.c.i.s.s.c.ClientPropertiesImpl  Failed to find value for property: application.login.url
        2012.11.26 08:07:46 INFO  c.a.c.i.s.s.c.ClientPropertiesImpl  Loading property: 'crowd.server.url' : 'https://www.enterprise-information-bus.com/crowd/services/'
        2012.11.26 08:07:46 INFO  c.a.c.i.s.s.c.ClientPropertiesImpl  Failed to find value for property: session.isauthenticated
        2012.11.26 08:07:46 INFO  c.a.c.i.s.s.c.ClientPropertiesImpl  Failed to find value for property: session.tokenkey
        2012.11.26 08:07:46 INFO  c.a.c.i.s.s.c.ClientPropertiesImpl  Failed to find value for property: session.lastvalidation
        2012.11.26 08:07:46 INFO  c.a.c.i.s.s.c.ClientPropertiesImpl  Loading property: 'session.validationinterval' : '5'
        2012.11.26 08:07:46 INFO  o.a.c.h.HttpMethodBase  Discarding unexpected response: HTTP/1.1 100 Continue
        2012.11.26 08:07:47 INFO  o.a.c.h.HttpMethodBase  Discarding unexpected response: HTTP/1.1 100 Continue
        2012.11.26 08:07:47 INFO  o.a.c.h.HttpMethodBase  Discarding unexpected response: HTTP/1.1 100 Continue
        2012.11.26 08:08:14 INFO  o.s.p.t.c.ToxicityChart  Threshold set for Toxicity Chart is: 1
        2012.11.26 08:47:34 INFO  o.s.p.t.c.ToxicityChart  Threshold set for Toxicity Chart is: 1
        2012.11.26 08:47:56 INFO  o.s.p.t.c.ToxicityChart  Threshold set for Toxicity Chart is: 1
        

        08:08 and 08:47 were the times when I checked the bug.

        Show
        Bernhard Cygan added a comment - - edited Contents of the Sonar log of today so far: 2012.11.26 08:07:46 INFO c.a.c.i.s.s.c.ClientPropertiesImpl Loading property: 'application.name' : 'sonar' 2012.11.26 08:07:46 INFO c.a.c.i.s.s.c.ClientPropertiesImpl Failed to find value for property: application.login.url 2012.11.26 08:07:46 INFO c.a.c.i.s.s.c.ClientPropertiesImpl Loading property: 'crowd.server.url' : 'https: //www.enterprise-information-bus.com/crowd/services/' 2012.11.26 08:07:46 INFO c.a.c.i.s.s.c.ClientPropertiesImpl Failed to find value for property: session.isauthenticated 2012.11.26 08:07:46 INFO c.a.c.i.s.s.c.ClientPropertiesImpl Failed to find value for property: session.tokenkey 2012.11.26 08:07:46 INFO c.a.c.i.s.s.c.ClientPropertiesImpl Failed to find value for property: session.lastvalidation 2012.11.26 08:07:46 INFO c.a.c.i.s.s.c.ClientPropertiesImpl Loading property: 'session.validationinterval' : '5' 2012.11.26 08:07:46 INFO o.a.c.h.HttpMethodBase Discarding unexpected response: HTTP/1.1 100 Continue 2012.11.26 08:07:47 INFO o.a.c.h.HttpMethodBase Discarding unexpected response: HTTP/1.1 100 Continue 2012.11.26 08:07:47 INFO o.a.c.h.HttpMethodBase Discarding unexpected response: HTTP/1.1 100 Continue 2012.11.26 08:08:14 INFO o.s.p.t.c.ToxicityChart Threshold set for Toxicity Chart is: 1 2012.11.26 08:47:34 INFO o.s.p.t.c.ToxicityChart Threshold set for Toxicity Chart is: 1 2012.11.26 08:47:56 INFO o.s.p.t.c.ToxicityChart Threshold set for Toxicity Chart is: 1 08:08 and 08:47 were the times when I checked the bug.
        Hide
        Bernhard Cygan added a comment -

        There was indeed a badly configured caching reverse proxy caching the bitmap. Setup is fixed, everything works fine now.

        Show
        Bernhard Cygan added a comment - There was indeed a badly configured caching reverse proxy caching the bitmap. Setup is fixed, everything works fine now.

          People

          • Assignee:
            Cezar Coca
            Reporter:
            Bernhard Cygan
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: