Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2036

IllegalArgumentException during TreeCache instantiation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 5.1.5.FINAL
    • 5.1.4.FINAL
    • Core

    Description

      With the current version it is not possible to create an instance of TreeCache. I'm using the cache inside JBoss 7.1.2 Final. The following lines worked in earlier versions of the cache api:

      org.infinispan.Cache<String, Object> infiniCache = this.cacheContainer.getCache(cfg.getName());

      TreeCache<String, Object> tc = new TreeCacheFactory().createTreeCache(infiniCache.getCache());

      Now the method createTreeCache(..) throws an java.lang.IllegalArgumentException: This adapter only works with CacheImpl, not with DelegatingCach

      e

      Attachments

        Activity

          People

            rh-ee-galder Galder ZamarreƱo
            Michael_Gronau Michael Gronau (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: