Re: [hippo-community] Hippo 12 upgrade: esv2yaml error Illegal char <:> at index 44

21 views
Skip to first unread message
Message has been deleted

Jasper Floor

unread,
Feb 9, 2018, 7:47:07 AM2/9/18
to Hippo Community
Hi,


Workaround is to rename "hippo:resource" to something without a :

mvg,
Jasper

On Fri, Feb 9, 2018 at 1:27 PM, <fhard...@consumentenbond.nl> wrote:
Hi,

For the upgrade to Hippo 12, I've run esv2yaml.jar on the bootstrap-configuration module and got the following error.
I heard from others who have done the upgrade that this seems to be a Windows issue. Is there any workaround for this (apart from runing the conversion on a Linux machine)?


08.02.2018 16:28:41 ERROR [org.onehippo.cm.migration.Esv2Yaml.main():154] Esv2Yaml.convert() failed: Illegal char <:> at index 44: hcm-config\namespaces\mywebsite\.\hippo:resource
java.nio.file.InvalidPathException: Illegal char <:> at index 44: hcm-config\namespaces\mywebsite\.\hippo:resource
        at sun.nio.fs.WindowsPathParser.normalize(Unknown Source) ~[?:1.8.0_121]
        at sun.nio.fs.WindowsPathParser.parse(Unknown Source) ~[?:1.8.0_121]
        at sun.nio.fs.WindowsPathParser.parse(Unknown Source) ~[?:1.8.0_121]
        at sun.nio.fs.WindowsPath.parse(Unknown Source) ~[?:1.8.0_121]
        at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source) ~[?:1.8.0_121]
        at sun.nio.fs.AbstractPath.resolve(Unknown Source) ~[?:1.8.0_121]
        at org.onehippo.cm.model.serializer.FileResourceOutputProvider.getResourcePath(FileResourceOutputProvider.java:64) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.FileResourceOutputProvider.getResourceOutputStream(FileResourceOutputProvider.java:57) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.ModuleContext.serializeBinaryValue(ModuleContext.java:242) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.SourceSerializer.serializeBinaryValue(SourceSerializer.java:377) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.SourceSerializer.processSingleResource(SourceSerializer.java:248) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.SourceSerializer.representPropertyUsingMap(SourceSerializer.java:223) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.SourceSerializer.representProperty(SourceSerializer.java:177) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.SourceSerializer.representDefinitionNode(SourceSerializer.java:147) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.SourceSerializer.representDefinitionNode(SourceSerializer.java:150) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.SourceSerializer.representDefinitionNode(SourceSerializer.java:150) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.SourceSerializer.representDefinitionNode(SourceSerializer.java:150) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.SourceSerializer.representConfigDefinition(SourceSerializer.java:121) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.SourceSerializer.representSource(SourceSerializer.java:82) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.model.serializer.ModuleWriter.writeModule(ModuleWriter.java:71) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.migration.Esv2Yaml.serializeModule(Esv2Yaml.java:618) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.migration.Esv2Yaml.convert(Esv2Yaml.java:388) ~[esv2yaml.jar:1.1.0]
        at org.onehippo.cm.migration.Esv2Yaml.main(Esv2Yaml.java:142) [esv2yaml.jar:1.1.0]
Exception in thread "main" java.nio.file.InvalidPathException: Illegal char <:> at index 44: hcm-config\namespaces\mywebsite\.\hippo:resource
        at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
        at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
        at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
        at sun.nio.fs.WindowsPath.parse(Unknown Source)
        at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
        at sun.nio.fs.AbstractPath.resolve(Unknown Source)
        at org.onehippo.cm.model.serializer.FileResourceOutputProvider.getResourcePath(FileResourceOutputProvider.java:64)
        at org.onehippo.cm.model.serializer.FileResourceOutputProvider.getResourceOutputStream(FileResourceOutputProvider.java:57)
        at org.onehippo.cm.model.serializer.ModuleContext.serializeBinaryValue(ModuleContext.java:242)
        at org.onehippo.cm.model.serializer.SourceSerializer.serializeBinaryValue(SourceSerializer.java:377)
        at org.onehippo.cm.model.serializer.SourceSerializer.processSingleResource(SourceSerializer.java:248)
        at org.onehippo.cm.model.serializer.SourceSerializer.representPropertyUsingMap(SourceSerializer.java:223)
        at org.onehippo.cm.model.serializer.SourceSerializer.representProperty(SourceSerializer.java:177)
        at org.onehippo.cm.model.serializer.SourceSerializer.representDefinitionNode(SourceSerializer.java:147)
        at org.onehippo.cm.model.serializer.SourceSerializer.representDefinitionNode(SourceSerializer.java:150)
        at org.onehippo.cm.model.serializer.SourceSerializer.representDefinitionNode(SourceSerializer.java:150)
        at org.onehippo.cm.model.serializer.SourceSerializer.representDefinitionNode(SourceSerializer.java:150)
        at org.onehippo.cm.model.serializer.SourceSerializer.representConfigDefinition(SourceSerializer.java:121)
        at org.onehippo.cm.model.serializer.SourceSerializer.representSource(SourceSerializer.java:82)
        at org.onehippo.cm.model.serializer.ModuleWriter.writeModule(ModuleWriter.java:71)
        at org.onehippo.cm.migration.Esv2Yaml.serializeModule(Esv2Yaml.java:618)
        at org.onehippo.cm.migration.Esv2Yaml.convert(Esv2Yaml.java:388)
        at org.onehippo.cm.migration.Esv2Yaml.main(Esv2Yaml.java:142)


TIA.
Francisca

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages