method writeObject(StringBuilder sb, Object value, boolean allowJsonResolve) in 
UtilIO always throw an IOException
------------------------------------------------------------------------------------------------------------------

                 Key: OFBIZ-3916
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3916
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Release Branch 10.04
         Environment: Server side: Mac OSX 10.6.4
Client: Safari 5.0.1
            Reporter: Liu Xiangqian


Tried to invoke method UtilIO.writeObject(StringBuilder sb, Object value, 
boolean allowJsonResolve) but found the follow code

   try {
            StringWriter writer = new StringWriter();
            if (encodeObject(writer, value, allowJsonResolve)) {
                sb.append(writer.toString());
                return;
            }
        } catch (Exception e) {
        }
        throw new IOException("Can't write (" + value + ")");

These codes casued the method always throw an IOException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to