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

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

    Details

    • Steps to Reproduce:
      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" );

      Gliffy Diagrams

        Attachments

          Activity

            People

            • Assignee:
              NadirX Tristan Tarrant
              Reporter:
              ryanemerson Ryan Emerson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: