So forward=false didn't help? I'd appreciate if you can add this in
comments on http://jira.codehaus.org/browse/JIBX-19 so I can test it for
beta 4.
- Dennis
Linus Kamb wrote:
Still getting NPE when I compile the binding.
Work-around is that I've added a wrapper class:
mapping
Still getting NPE when I compile the binding.
Work-around is that I've added a wrapper class:
mapping name=Installation
class=edu.iris.dmc.isis.ConfigInstall
value name=reference field=hardwareInstallation
You need to turn off forward reference support to do this, I think. Try
forward=false on your binding element. Of course, that assumes that
you really aren't using forward references in your document. See my
email from earlier today Re: Using IDs for some more discussion of
this issue.
-
I have the following mapping:
collection name=InstalledItems
add-method=addHardwareInstallation
iter-method=getInstalledHardwareIterator
value name=Installation
type=edu.iris.dmc.isis.HardwareInstallation