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

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

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            NadirX NadirX
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: