Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1789

"IllegalStateException: No match found" during parsing of config with federation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.1.2.Final, 3.2.0.Final
    • None
    • None
    • None

    Description

      Here is my code https://github.com/eshevchenko/modeshape-examples/tree/modeshape3-federation which shows the problem, when I run "mvn clean install" I don't see an issue, but when I run java main from IDE I see this exception:

      INFO: ModeShape version 3.1.1.Final
      Shutting down engine ...
      Success!
      javax.jcr.RepositoryException: Error while starting 'FederatedRepository' repository: No match found
       at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:613)
       at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:580)
       at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:149)
       at org.modeshape.example.filesystem.ModeShapeExample.main(ModeShapeExample.java:66)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
      Caused by: java.lang.IllegalStateException: No match found
       at java.util.regex.Matcher.group(Matcher.java:485)
       at org.modeshape.jcr.RepositoryConfiguration$Federation$ProjectionConfiguration.<init>(RepositoryConfiguration.java:2016)
       at org.modeshape.jcr.RepositoryConfiguration$Federation.getProjections(RepositoryConfiguration.java:1981)
       at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:1053)
       at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:966)
       at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:354)
       at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:611)
       ... 8 more
      

      Attachments

        Issue Links

          Activity

            People

              rhauch Randall Hauch (Inactive)
              eshevchenko_jira evgeniy shevchenko (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: