Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2467

Constructing a JChannel using the default Constructor fails while parsing version '${version}'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 4.2.3
    • 4.2.2
    • None
    • Hide

      Simply create a new JChannel using the default consturctor:

      public class ChannelTest {
        @Test
        public void startChannel() throws Exception {
          new JChannel();
        }
      }
      
      Show
      Simply create a new JChannel using the default consturctor: public class ChannelTest { @Test public void startChannel() throws Exception { new JChannel(); } }

    Description

      Constructing a JChannel using the default Constructor fails with a java.lang.IllegalStateException

      java.io.IOException: JGRP000004: Fehler beim Parsen von XML; das Dokument ist nicht korrekt: failed parsing version '${version}': java.lang.IllegalStateException: No match found
      	at org.jgroups.conf.XmlConfigurator.parse(XmlConfigurator.java:142)
      	at org.jgroups.conf.XmlConfigurator.getInstance(XmlConfigurator.java:45)
      	at org.jgroups.conf.XmlConfigurator.getInstance(XmlConfigurator.java:41)
      	at org.jgroups.conf.ConfiguratorFactory.getXmlConfigurator(ConfiguratorFactory.java:174)
      	at org.jgroups.conf.ConfiguratorFactory.getStackConfigurator(ConfiguratorFactory.java:63)
      	at org.jgroups.JChannel.<init>(JChannel.java:107)
      	at org.jgroups.JChannel.<init>(JChannel.java:98)
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-bban Bela Ban
              reinhapa Patrick Reinhart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: