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

NPE if DefaultCacheManager created with InputStream and `xi:include` required

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 11.0.0.Final
    • Configuration, Core
    • None
    • Hide

      Create a cache manager with the following xml file:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <infinispan
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns:xi="http://www.w3.org/2001/XInclude"
              xsi:schemaLocation="urn:infinispan:config:11.0 http://infinispan.org/schemas/infinispan-config-11.0.xsd"
              xmlns="urn:infinispan:config:11.0">
      
          <cache-container default-cache="default" statistics="true">
      
              <transport stack="udp" cluster="mycluster" />
      
              <xi:include href="some-other-xml"/>
      
          </cache-container>
      </infinispan>
      
      new DefaultCacheManager("some.xml");
      
      Show
      Create a cache manager with the following xml file: <?xml version= "1.0" encoding= "UTF-8" ?> <infinispan xmlns:xsi= "http: //www.w3.org/2001/XMLSchema-instance" xmlns:xi= "http: //www.w3.org/2001/XInclude" xsi:schemaLocation= "urn:infinispan:config:11.0 http: //infinispan.org/schemas/infinispan-config-11.0.xsd" xmlns= "urn:infinispan:config:11.0" > <cache-container default -cache= " default " statistics= " true " > <transport stack= "udp" cluster= "mycluster" /> <xi:include href= "some-other-xml" /> </cache-container> </infinispan> new DefaultCacheManager( "some.xml" );

    Attachments

      Activity

        People

          ttarrant@redhat.com Tristan Tarrant
          remerson@redhat.com Ryan Emerson
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

            Created:
            Updated: