Description
Findbugs Scan of the code reports code paths which may result in a null pointer reference.
C:/workspace/ibi_apps/src/org/apache/jempbox/xmp/XMPSchema.java:570 Possible null pointer dereference of bagElement
C:/workspace/ibi_apps/src/org/apache/jempbox/xmp/XMPSchema.java:392 Possible null pointer dereference of bagElement
The solution is to test for null before attempting to use the objects.
A patch file is included
Peter