Uploaded image for project: 'MyCoRe'
  1. MCR-1613

mycore-pi build fails under windows with URISyntaxException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2016.12, 2016.06.0.1
    • Fix Version/s: 2017.06.0
    • Component/s: mycore-pi
    • Labels:
      None
    • Sprint:

      Description

      MyCoRe build under windows throws the following exception

      org.mycore.common.config.MCRConfigurationException: Syntax error in MCR.Metadata.Store.SVNBase property: null
      	at org.mycore.pi.MCRPersistentIdentifierManagerTest.testRegistrationService(MCRPersistentIdentifierManagerTest.java:72)
      Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\Users\Frank\AppData\Local\Temp\junit2762172673110198327\versions/
       	at org.mycore.pi.MCRPersistentIdentifierManagerTest.testRegistrationService(MCRPersistentIdentifierManagerTest.java:72)
      

      Searching for the exception leads to this article:
      http://stackoverflow.com/questions/2856126/java-net-urisyntaxexception

      Workaround: Build mycore-pi with -DskipTests parameter

        Attachments

          Activity

            People

            • Assignee:
              mcrshofm Sebastian Hofmann
              Reporter:
              mcrkrebs Kathleen Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: