From: Wolfgang M. <wol...@ex...> - 2012-06-12 15:19:42
|
> But, I'm getting a NullPointerError in > MemTreeBuilder.addReferenceNode(MemTreeBuilder.java:177). In an earlier > iteration, I got a NPE in DocumentBuilderReceiver.addReferenceNode, so I > added the "new MemTreeBuilder" part (even though it looks as if it's > supposed to auto-create one if you use the default constructor). I think you just need to call startDocument/endDocument on the DocumentBuilderReceiver to have it initialize a new document. The copyTo method does not send those two events automatically. Wolfgang |