[
https://jira.codehaus.org/browse/JIBX-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=282892#comment-282892
]
Dimitri Koussa commented on JIBX-460:
-------------------------------------
That makes sense. It took me a while to figure out that that was the actual
cause of the error.
That along with the message asking for this bug report were the reasons I
raised this message.
Can this situation be detected? If so a message along those lines would be nice.
> 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
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs