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

NPE when creating a DefaultCacheManager with the new Configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 5.1.0.CR1
    • 5.1.0.BETA5
    • Configuration
    • None

    Description

      The following code throws an NPE.

      new DefaultCacheManager(new ConfigurationBuilder().build())
      

      The exception:

      Caused by: java.lang.NullPointerException
      at org.infinispan.configuration.global.LegacyGlobalConfigurationAdaptor.adapt(LegacyGlobalConfigurationAdaptor.java:12)
      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:307)
      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:176)

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir (Inactive)
            kevinpollet Kévin Pollet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: