jibx-bind problem with nillable values
--------------------------------------
Key: JIBX-160
URL: http://jira.codehaus.org/browse/JIBX-160
Project: JiBX
Issue Type: Bug
Affects Versions: JiBX 1.1.3
Environment: jibx 1.1.3, maven-jibx-plugin 1.1.3
Reporter: Fedor Zhigaltsov
Attachments: binding.xml
jibx-bind cannot process binding file with some values set to nillable="true".
Binding file attached.
Maven task fails with following diagnostics:
org.apache.maven.lifecycle.LifecycleExecutionException:
*** Error during code generation for file
'/home/feda/projects/stravati/stravati/trunk/server/commons/target/generated-resources/jibx/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.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException:
*** Error during code generation for file
'/home/feda/projects/stravati/stravati/trunk/server/commons/target/generated-resources/jibx/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.maven.JibxMojo.compile(JibxMojo.java:225)
at org.jibx.maven.JibxMojo.execute(JibxMojo.java:174)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 16 more
Caused by: org.jibx.runtime.JiBXException:
*** Error during code generation for file
'/home/feda/projects/stravati/stravati/trunk/server/commons/target/generated-resources/jibx/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.Compile.compile(Compile.java:307)
at org.jibx.maven.JibxMojo.compile(JibxMojo.java:222)
... 19 more
--
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs