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

DecoratedCache.withFlags() fails if it was created with no flags

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.1.0.CR3
    • 5.1.0.CR2
    • None
    • None

      If a DecoratedCache is created with no flags and the withFlags(Flags...) method is invoked, a NullPointerException is thrown:

      Caused by: java.lang.NullPointerException
      at java.util.EnumSet.copyOf(EnumSet.java:129) [:1.6.0_29]
      at org.infinispan.DecoratedCache.withFlags(DecoratedCache.java:105)

              ttarrant@redhat.com Tristan Tarrant
              NadirX NadirX
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: