Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] XMLTransformationMapping problem


It looks like in the case that the XML document declares a namespace, and then that namespace goes out of scope, the prefix remains in the UnmarshalNamespaceResolver, but there's no longer a namespace uri associated with it. This causes the getNamespace() method to return null, which isn't guarded against in XMLTransformationRecord/NamespaceResolver which is causing your NullPointerException.

Yes, that is exactly how it looks to me in the debugger too. 


I was able to reproduce this on our end by modifying one of the control documents our test cases. I'll log a bug against this and should have a fix fairly soon.

Great! I wasn't sure if my imperfect description of the problem was enough to help reproduce it.

-- 

 /Magnus Heino

Back to the top