Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-134

ClassCastException in org.apache.sis.util.collection.Cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3
    • 0.4
    • Utilities
    • None

    Description

      Following exception has been reported in the Cache class:

      Caused by: java.lang.ClassCastException: org.apache.sis.util.collection.Cache$Work cannot be cast to java.util.concurrent.locks.ReentrantLock
                  at org.apache.sis.util.collection.Cache.valueOf(Cache.java:279)
                  at org.apache.sis.util.collection.Cache.get(Cache.java:342)
      

      This was caused by an error in the refactoring of valueOf(Object) method when porting the code from Geotk to SIS.

      Attachments

        Activity

          People

            desruisseaux Martin Desruisseaux
            desruisseaux Martin Desruisseaux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: