(resending after sf.net email problems) Hi Gregor,
Judging from the stack trace, it looks like JiBX is unable to load the class information for some interface implemented by one of your <mapping> classes. This really should be throwing a more informative exception, and I just fixed the current code to do that. The fix will be part of the 1.2 beta release coming out next week. I don't know why one of the interfaces would not be loadable, but it may have something to do with the way Grails structures its classes. Perhaps someone who understands more about Grails can comment on this. - Dennis Dennis M. Sosnoski SOA 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 Gregor Tudan wrote: > Hi, > > I must admit I am very new to jibx but what I saw till now looks great! > I want to use jibx in a Grails-Project I am working on, but does that > work? Has anybody tried yet? > > My first attemts all ended in the following stacktrace: > > :~/workspace/ITfS-Portal/web-app/WEB-INF/classes$ java -jar > ~/workspace/ITfS-Portal/lib/jibx-bind.jar > ~/workspace/ITfS-Portal/etc/binding.xml > > Error running binding compiler > java.lang.NullPointerException > at > org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHierarchyContext.java:88) > at > org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHierarchyContext.java:94) > at > org.jibx.binding.model.ClassHierarchyContext.addTypedComponent(ClassHierarchyContext.java:116) > at > org.jibx.binding.model.DefinitionContext.addTemplate(DefinitionContext.java:575) > at > org.jibx.binding.model.RegistrationVisitor.visit(RegistrationVisitor.java:176) > at org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:171) > at org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:232) > at > org.jibx.binding.model.RegistrationVisitor.visitTree(RegistrationVisitor.java:110) > at > org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:734) > at > org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:799) > at org.jibx.binding.Utility.validateBinding(Utility.java:223) > at org.jibx.binding.Utility.loadBinding(Utility.java:264) > at org.jibx.binding.Utility.loadFileBinding(Utility.java:408) > at org.jibx.binding.Compile.compile(Compile.java:296) > at org.jibx.binding.Compile.main(Compile.java:385) > > > Thanks a lot, > Gregor! > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > jibx-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jibx-users > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users
