Skip to main content

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

Hi Magnus,

The stack trace was pretty helpful in figuring our what was going on. Here's the bug I opened to track this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=318465

-Matt
On 29/06/2010 5:07 PM, Magnus Heino wrote:


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

_______________________________________________ eclipselink-users mailing list eclipselink-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-users

Back to the top