fix Bug TDI-26818: tRunJob / transmit whole context : Passing a Document (org.dom4j.Document wrapper) in a shared Object context variable throws a StackOverflow exception
https://jira.talendforge.org/browse/TDI-26818 git-svn-id: http://talendforge.org/svn/tos/trunk@111248 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
@@ -1337,7 +1337,7 @@ public class JSONObject {
|
||||
*/
|
||||
static Object wrap(Object object) {
|
||||
try {
|
||||
if (object == null) {
|
||||
if (object == null || object instanceof org.dom4j.Document) {
|
||||
return NULL;
|
||||
}
|
||||
if (object instanceof JSONObject || object instanceof JSONArray || object instanceof Byte
|
||||
|
||||
Reference in New Issue
Block a user