Magnolia 5.4在发布/取消发布时升级java.nio.file.InvalidPathException

时间:2015-08-04 11:39:42

标签: java content-management-system magnolia

当我尝试从5.3.9升级到magnolia 5.4或从官方网站下载带有tomcat的玉兰花束并运行它时,我收到发布/取消发布:

Exception in thread "Thread-68" java.nio.file.InvalidPathException: Illegal char <:> at index 48: C:\dev\apache-tomcat-8.0.21\webapps\mg-auth\/jcr:system/jcr:versionStorage/af/72/95/af72957c-bb65-4132-881c-205eee9e68f3/1.12
    at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
    at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
    at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
    at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
    at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
    at java.nio.file.Paths.get(Paths.java:84)
    at info.magnolia.resourceloader.file.FileSystemResourceOrigin.getPath(FileSystemResourceOrigin.java:241)
    at info.magnolia.resourceloader.file.FileSystemResourceOrigin.hasPath(FileSystemResourceOrigin.java:139)
    at info.magnolia.resourceloader.util.Functions$1.apply(Functions.java:60)
    at info.magnolia.resourceloader.util.Functions$1.apply(Functions.java:57)
    at com.google.common.collect.Iterators$7.computeNext(Iterators.java:652)
    at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
    at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
    at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
    at com.google.common.collect.Iterators.addAll(Iterators.java:361)
    at com.google.common.collect.Lists.newArrayList(Lists.java:160)
    at com.google.common.collect.Lists.newArrayList(Lists.java:144)
    at info.magnolia.resourceloader.layered.LayeredResourceOrigin.getByPath(LayeredResourceOrigin.java:96)
    at info.magnolia.resourceloader.layered.RelayerResourceVisitor.visitFile(RelayerResourceVisitor.java:60)
    at info.magnolia.resourceloader.jcr.JcrResourceOrigin$1.onEvent(JcrResourceOrigin.java:330)
    at info.magnolia.cms.util.ObservationUtil$ObservationBasedDelayedExecutor$1.run(ObservationUtil.java:253)
    at info.magnolia.cms.util.DelayedExecutor$RunnableWrapper.run(DelayedExecutor.java:103)
    at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:745)

我对路径结构以及资源加载器尝试解析此路径的原因感到非常困惑。

1 个答案:

答案 0 :(得分:1)

对我来说是MAGNOLIA-6333。在修复此问题之前,您现在无法做任何事情。来自jira报告的OTOH,看起来发布仍然有效。对你来说一样吗?如果没有,你究竟想要发布什么?