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

Don Corley reassigned JIBX-460:
-------------------------------

    Assignee: Don Corley

> Error during code generation when class to modify is in an external artifact
> ----------------------------------------------------------------------------
>
>                 Key: JIBX-460
>                 URL: https://jira.codehaus.org/browse/JIBX-460
>             Project: JiBX
>          Issue Type: Bug
>          Components: maven plugin
>    Affects Versions: JiBX 1.2.2, JiBX 1.2.3
>         Environment: Fedora Core 14, x86_64, Java 1.6.0_22, maven 3.0.2
>            Reporter: Dimitri Koussa
>            Assignee: Don Corley
>            Priority: Minor
>         Attachments: jibx-bind-error-test.tar.gz, jibx-bind-error-test.zip
>
>
> I've set up a minimal maven project that reproduces this problem.
> Unpack and run "mvn -e package".
> If I move the enum to project "c" then it works without any issue.
> The error I get is
> {noformat}
> Caused by: org.jibx.runtime.JiBXException: 
> *** Error during code generation for file 'binding.xml' - please enter a bug 
> report for this error in Jira if the problem is not listed as fixed on the 
> online status page ***
>       at org.jibx.binding.Utility.loadBinding(Utility.java:350)
>       at org.jibx.binding.Utility.loadFileBinding(Utility.java:420)
>       at org.jibx.binding.Compile.compile(Compile.java:217)
>       at 
> org.jibx.maven.AbstractBaseBindingMojo.compile(AbstractBaseBindingMojo.java:152)
>       ... 22 more
> Caused by: org.jibx.runtime.JiBXException: Serializer AnEnum._jibx_serialize 
> not found
>       at 
> org.jibx.binding.def.StringConversion.setSerializer(StringConversion.java:393)
>       at 
> org.jibx.binding.def.ObjectStringConversion.derive(ObjectStringConversion.java:423)
>       at 
> org.jibx.binding.def.BindingBuilder.unmarshalValue(BindingBuilder.java:837)
>       at 
> org.jibx.binding.def.BindingBuilder.unmarshalStructureChildren(BindingBuilder.java:1035)
>       at 
> org.jibx.binding.def.BindingBuilder.unmarshalMapping(BindingBuilder.java:1847)
>       at 
> org.jibx.binding.def.BindingBuilder.unmarshalMappings(BindingBuilder.java:1170)
>       at 
> org.jibx.binding.def.BindingBuilder.unmarshalBindingDefinition(BindingBuilder.java:2169)
>       at org.jibx.binding.Utility.loadBinding(Utility.java:300)
> {noformat}
> Seems to be similar to JIBX-287 but couldn't be sure as the error message was 
> different.
> Let me know if you need any further information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to