Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5416

Rule.toString() sometimes throws org.hibernate.LazyInitializationException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3
    • Fix Version/s: 4.5
    • Component/s: Scanner
    • Labels:
      None

      Description

      See one of the last comments from Yann Diorcet on ticket SONAR-3077:

      I'm on the 4.3.1 tag.
      I'm running a specific configuration. Maven project with multiple modules and specific profiles for some modules (btw i had to forge the url to access this feature)
      The issue is here, i think. My first module loads the rule but doesn't use it; the second one gets it from the cache and try to accesses the params from the rule with an not a valid session anymore

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              henryju OLD - Julien HENRY
              Reporter:
              freddy.mallet Freddy Mallet (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: