[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-devs
Subject:    [jibx-devs] [jira] Updated: (JIBX-460) Error during code generation
From:       "Dimitri Koussa (JIRA)" <jira () codehaus ! org>
Date:       2011-11-04 4:25:53
Message-ID: 1044389447.7081.1320380753738.JavaMail.j2ee-jira () codehaus01-new ! managed ! contegix ! com
[Download RAW message or body]


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

Dimitri Koussa updated JIBX-460:
--------------------------------

    Attachment: jibx-bind-error-test.zip

Hmm, not sure why that file was causing you problems. Anyways, I've zipped and \
attached it.

> 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
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic