UTF-8 custom writers produce NPE -------------------------------- Key: JIBX-391 URL: http://jira.codehaus.org/browse/JIBX-391 Project: JiBX Issue Type: Bug Components: core Affects Versions: JiBX 1.2.2 Reporter: Alex Khval Priority: Blocker
Unresolvable NullPointerException in the MarshallingContext class when you develop custom implementation of the UTF8StreamWriter. Caused by: java.lang.NullPointerException at org.jibx.runtime.impl.MarshallingContext.setOutput(MarshallingContext.java:240) at org.jibx.runtime.impl.MarshallingContext.startDocument(MarshallingContext.java:459) at org.jibx.runtime.impl.MarshallingContext.marshalDocument(MarshallingContext.java:1082) at com.espacenet.ops.domain.util.jibx.JibxMarshalingUtils.marshal(JibxMarshalingUtils.java:41) Additionally, you can't develop any other writer which marshal UTF-8 because it's always replaced by default UTF8StreamWriter. Do something with it guys. With this issue open nobody can develop any writers different from default (e.g JSON writer). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ jibx-devs mailing list jibx-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-devs