Skip to content
This repository was archived by the owner on Jun 17, 2020. It is now read-only.

Known errors and hints

Sebastian Hesse edited this page May 25, 2015 · 3 revisions

The YAML Transformer still has some problems when converting YAML documents to XML which are listed on this page. Problems can lead to errors and crash the program. We try to provide some hints or extended descriptions to known errors. In order to know the limitations and capabilities of YAML Transformer, please visit this page.

Errors

Errors may be thrown by two components: either YamlBeans or our own converter.

YamlBeans errors

Error line isn't correct

YamlBeans often shows the error line in the exception message, but our experience shows that sometimes the error line is not correct. Example: YamlBeans says the error is in line 160, but it's actually in 161. That means you need to check the 2 lines above/below the error line, too.

Array expected in YAML

Expected data for a [Ljava.lang.String; field but found: -> This error indicates that you used another data type instead of an array. This can occur by specifying the file_ext property of an artifact type. E.g. file_ext: [war] is correct.

Our converter errors

We don't throw any specific exception which are complicated to handle. Our console may throw an exception that it can't find the file to convert, but nothing really complicated.

Clone this wiki locally