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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.3
    • Fix Version/s: 0.4
    • Component/s: Utilities
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: