Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-6256

Classloading issue in broken links checker

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • 2.22.07
    • 2.22.11
    • None
    • None

    Description

      In 7.7.4 the hippo-package-cms-dependencies 2.22.07 contains the following broken links checker
      [INFO] | +- org.onehippo.cms7:hippo-addon-brokenlinks-frontend:jar:2.22.02:compile
      [INFO] | | +- com.google.guava:guava:jar:10.0.1:compile
      [INFO] | | | - com.google.code.findbugs:jsr305:jar:1.3.9:compile
      [INFO] | | +- com.google.gdata:gdata-analytics:jar:2.1:compile
      [INFO] | | +- com.google.gdata:gdata-analytics-meta:jar:2.1:compile
      [INFO] | | - com.google.gdata:gdata-core:jar:1.0:compile
      [INFO] | | - com.google.collections:google-collections:jar:1.0:compile

      Both google-collections and guava contain a class com.google.commong.base.Platform but with different methods. Apparently the guava class is needed to verify the contents of a Xinha field. The classloader in OSX chooses the google-collections class, in Windows 7 the guava class. However you should not rely on the order of the classloader, one of these dependencies should be excluded.
      It worked on my machine to exclude the google-collections jar in the pom, but I don't know if that will break other functionality.

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            jasha joachimsthal Jasha Joachimsthal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: