sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-134) ClassCastException in org.apache.sis.util.collection.Cache
Date Fri, 06 Sep 2013 16:37:52 GMT
Martin Desruisseaux created SIS-134:
---------------------------------------

             Summary: ClassCastException in org.apache.sis.util.collection.Cache
                 Key: SIS-134
                 URL: https://issues.apache.org/jira/browse/SIS-134
             Project: Spatial Information Systems
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 0.3
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 0.4


Following exception has been reported in the {{Cache}} class:

{noformat}
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)
{noformat}

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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message