Hi,
I think root is null or the element has no content ... and you have to
find out why.
First NPE:
================
Document doc = builder.parse(input);
Element root = doc.getDocumentElement();
Second (and the same) NPE:
=================
Element element = doc.createElement("Policy");
Role.setPolicy(element);
I think you create an empty element an so you have the same effect as
above.
debug your code ...
Thanks,
Markus
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users