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

iview2-solr.xsl throws NoSuchFileExceptions on IMPORT new derivates

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2016.02
    • Fix Version/s: 2016.06.0
    • Component/s: mycore-iview2
    • Labels:
      None

      Description

      When loading a new derivate:

      INFO: Adding content type detector: class org.mycore.datamodel.niofs.ifs1.MCRFileTypeDetector
      
      WARN: There is no fsnode with OWNER = dbt_derivate_00003088
      
      WARN: Could not get main file of derivate.
      
      java.nio.file.NoSuchFileException: dbt_derivate_00003088:/Berente.pdf: Could not get root directory.
      	at org.mycore.datamodel.niofs.ifs1.MCRFileSystemProvider.getRootDirectory(MCRFileSystemProvider.java:192)
      	at org.mycore.datamodel.niofs.ifs1.MCRFileSystemProvider.getParentDirectory(MCRFileSystemProvider.java:282)
      	at org.mycore.datamodel.niofs.ifs1.MCRFileSystemProvider.resolvePath(MCRFileSystemProvider.java:590)
      	at org.mycore.datamodel.niofs.ifs1.MCRFileTypeDetector.probeContentType(MCRFileTypeDetector.java:65)
      	at org.mycore.datamodel.niofs.MCRContentTypes.probeContentType(MCRContentTypes.java:80)
      	at org.mycore.iview2.services.MCRIView2Tools.isFileSupported(MCRIView2Tools.java:133)
      	at org.mycore.iview2.services.MCRIView2Tools.getSupportedMainFile(MCRIView2Tools.java:104)
      	at org.mycore.iview2.frontend.MCRIView2XSLFunctionsAdapter.getSupportedMainFile(MCRIView2XSLFunctionsAdapter.java:60)
      	at org.mycore.iview2.frontend.MCRIView2XSLFunctions.getSupportedMainFile(MCRIView2XSLFunctions.java:55)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:367)
      	at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:440)
      	at org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.java:222)
      	at org.apache.xalan.transformer.TransformerImpl.extFunction(TransformerImpl.java:475)
      	at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:208)
      	at org.apache.xpath.XPath.execute(XPath.java:337)
      

        Attachments

          Activity

            People

            • Assignee:
              yagee Thomas Scheffler
              Reporter:
              yagee Thomas Scheffler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: