[ 
http://jira.codehaus.org/browse/JIBX-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski resolved JIBX-195.
----------------------------------

    Resolution: Cannot Reproduce

> org.jibx.runtime.JiBXException: Marshaller class "userDefinedMarshallerClass" 
> does not allow name to be set
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: JIBX-195
>                 URL: http://jira.codehaus.org/browse/JIBX-195
>             Project: JiBX
>          Issue Type: Bug
>          Components: core
>    Affects Versions: JiBX 1.1.5
>         Environment: Fedora distribution with JiBX 1.1.5
>            Reporter: Clavreul Mickael
>            Assignee: Dennis Sosnoski
>
> About the creation of a custom marshaller that implements IMarshaller and 
> IUnmarshaller interface to handle an hashmap (similar to HashMapper.java 
> located in example21), if IAliasable interface is not implemented by the 
> marshalling/unmarshalling class, binding compiling crashes with the following 
> exception :
> org.jibx.runtime.JiBXException: Marshaller class HashMapper does not allow 
> name to be set
>         at org.jibx.binding.def.DirectObject.<init>(DirectObject.java:192)
>         at 
> org.jibx.binding.def.BindingBuilder.unmarshalDirectObj(BindingBuilder.java:737)
>         at 
> org.jibx.binding.def.BindingBuilder.unmarshalMapping(BindingBuilder.java:1601)
>         at 
> org.jibx.binding.def.BindingBuilder.unmarshalMappings(BindingBuilder.java:983)
>         at 
> org.jibx.binding.def.BindingBuilder.unmarshalBindingDefinition(BindingBuilder.java:1799)
>         at org.jibx.binding.Utility.loadBinding(Utility.java:293)
>         at org.jibx.binding.Utility.loadFileBinding(Utility.java:413)
>         at org.jibx.binding.Compile.compile(Compile.java:296)
>         at org.jibx.binding.Compile.main(Compile.java:385)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to