[
http://jira.codehaus.org/browse/JIBX-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Sosnoski updated JIBX-160:
---------------------------------
Assignee: Dennis Sosnoski
There's not enough information to either diagnose or duplicate this problem. To
find out what's going wrong I'd need a project with the classes referenced by
the binding definition. At a minimum, I need to see the actual error from the
binding, which is apparently being swallowed by maven - try running the binding
compiler directly, rather than through maven, to get the error output.
> 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
> Assignee: Dennis Sosnoski
> 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
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs