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

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

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
    • 15.1.0.Dev05
    • 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" );

            ttarrant@redhat.com Tristan Tarrant
            remerson@redhat.com Ryan Emerson
            Archiver:
            rhn-support-adongare Amol Dongare

              Created:
              Updated:
              Resolved:
              Archived: