dukeboard/kevoree-modeling-framework

Line End error on Windows

gnain opened this issue · 2 comments

Exception in thread "main" java.lang.AssertionError: Wrong line separators: '...r.Cloud  {\r\n    @con...' at offset 22
 at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:66)
 at com.intellij.openapi.diagnostic.Logger.error(Logger.java:113)
 at com.intellij.openapi.util.text.StringUtil.assertValidSeparators(StringUtil.java:2209)
 at com.intellij.openapi.editor.impl.DocumentImpl.assertValidSeparators(DocumentImpl.java:624)
 at com.intellij.openapi.editor.impl.DocumentImpl.<init>(DocumentImpl.java:124)
 at com.intellij.openapi.editor.impl.DocumentImpl.<init>(DocumentImpl.java:119)
 at com.intellij.openapi.editor.impl.DocumentImpl.<init>(DocumentImpl.java:115)
 at com.intellij.core.CoreApplicationEnvironment$1.fun(CoreApplicationEnvironment.java:103)
 at com.intellij.core.CoreApplicationEnvironment$1.fun(CoreApplicationEnvironment.java:100)
 at com.intellij.mock.MockFileDocumentManagerImpl$1.create(MockFileDocumentManagerImpl.java:50)
 at com.intellij.mock.MockFileDocumentManagerImpl$1.create(MockFileDocumentManagerImpl.java:44)
 at com.intellij.util.containers.WeakFactoryMap.get(WeakFactoryMap.java:40)
 at com.intellij.mock.MockFileDocumentManagerImpl.getDocument(MockFileDocumentManagerImpl.java:63)
 at com.intellij.psi.SingleRootFileViewProvider.getDocument(SingleRootFileViewProvider.java:367)
 at com.intellij.psi.impl.source.PsiFileImpl.loadTreeElement(PsiFileImpl.java:197)
 at com.intellij.psi.impl.source.PsiFileImpl.getTreeElement(PsiFileImpl.java:126)
 at com.intellij.psi.impl.source.PsiFileImpl.calcTreeElement(PsiFileImpl.java:774)
 at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:798)
 at org.kevoree.modeling.util.StandaloneParser.check(StandaloneParser.java:508)
 at org.kevoree.modeling.util.StandaloneParser.convert2ecore(StandaloneParser.java:211)
 at org.kevoree.modeling.kotlin.generator.Generator.<init>(Generator.java:84)
 at org.kevoree.modeling.kotlin.generator.RootGenerator.execute(RootGenerator.java:129)
 at org.kevoree.modeling.kotlin.generator.mavenplugin.GenModelPlugin.execute(GenModelPlugin.java:179)

Good to see you are now testing on Windows ;-)

fixed in 3.5.4, windows supported :-)