Hello, I have four root binding XML files defined:
1. Binding: name=FORMAT_1 direction=output 2. Binding: name=FORMAT_1 direction=input 3. Binding: name=FORMAT_2 direction=output 4. Binding: name=FORMAT_2 direction=input Those four root binding files will be compiled in that order. I am getting a NullPointerException in MarshallingContext<init> because of the variable m_marshallers in the BindingFactory is null. Exception in thread "main" java.lang.NullPointerException at org.jibx.runtime.impl.MarshallingContext.<init>(MarshallingContext.java:137) at org.jibx.runtime.impl.BindingFactoryBase.createMarshallingContext(BindingFactoryBase.java:258) If I reorder the binding files for compilation, so that the input bindings will be compiled before the output bindings, I will get the same Exception for the creation of the UnmarshallingContext. So I guess JiBX will overwrite the values for the BindingFactory for a specific binding name. I would have expected JiBX to add the input bindings of binding name FORMAT_1 to the already compiled output bindings of binding name FORMAT_1 but that is not happening. Does anyone has any clue, how to create a workaround for this? Is this a known issue? Thank you in advance, /Marko ------------------------------------------------------- Fachinformationszentrum Karlsruhe, Gesellschaft für wissenschaftlich-technische Information mbH. Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht Mannheim HRB 101892. Geschäftsführerin: Sabine Brünger-Weilandt. Vorsitzender des Aufsichtsrats: MinDirig Dr. Thomas Greiner.
------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users