class DataConf(file: String) {
val log = Logger.getLogger(classOf[DataConf])
var contextFields: Seq[ContextField] = _
var eventFields: Seq[EventField] = _
var splitterClass: String = _
var parserClass: String = _
And here's the error message:
Exception in thread "main" com.thoughtworks.xstream.io.StreamException: : Invalid null character in text to output
at com.thoughtworks.xstream.io.xml.StaxWriter.setValue(StaxWriter.java:160)
at com.thoughtworks.xstream.io.WriterWrapper.setValue(WriterWrapper.java:45)
at com.thoughtworks.xstream.converters.collections.CharArrayConverter.marshal(CharArrayConverter.java:34)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:229)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:208)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:171)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:116)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
....................