That was exactly my problem. Thanks Dennis!
DSosnoski wrote:
Looks like there's a method not being found. Make sure you have
jibx-run.jar in your classpath (not just the paths passed to the binding
compiler, but actually in the classpath for running the binding
compiler) - I think that's been the cause of this type of problem in the
past.
I've fixed this code in CVS so that you'll get a real message (including
the method name), rather than an NPE.
- Dennis
Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
jaxzin wrote:
I'm getting the following error trying to bind with a binding.xml and
code
that was generated by the CodeGen utility:
Caused by: java.lang.NullPointerException
at
org.jibx.binding.classes.ClassItem.findStaticMethod(ClassItem.java:511)
at
org.jibx.binding.def.StringConversion.setSerializer(StringConversion.java:386)
at
org.jibx.binding.def.PrimitiveStringConversion.setSerializer(PrimitiveStringConversion.java:460)
at
org.jibx.binding.def.StringConversion.init(StringConversion.java:148)
at
org.jibx.binding.def.PrimitiveStringConversion.init(PrimitiveStringConversion.java:146)
at
org.jibx.binding.def.BindingDefinition.clinit(BindingDefinition.java:90)
at org.jibx.binding.Compile.compile(Compile.java:205)
at org.jibx.maven.JibxMojo.compile(JibxMojo.java:222)
... 19 more
Any help would be appreciated!
--
___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users
--
View this message in context:
http://www.nabble.com/Error-when-binding%2C-using-jibx-1.21-tp24592628p24667155.html
Sent from the jibx-users mailing list archive at Nabble.com.
--
___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users