-
Notifications
You must be signed in to change notification settings - Fork 4
Known errors and hints
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 may be thrown by two components: either YamlBeans or our own converter.
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.
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.
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.