Hi -
I'm trying to compile my object which has a superclass that implements
interfaces. I've tried running both the command as well as Ant options but
the error remains the same. Here is the stack trace
[bind] Running binding compiler version jibx_1_1_6a
[bind] Error running binding compiler
[bind] java.lang.NullPointerException
[bind] at
org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHiera
rchyContext.java:88)
[bind] at
org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHiera
rchyContext.java:94)
[bind] at
org.jibx.binding.model.ClassHierarchyContext.addTypedComponent(ClassHierarch
yContext.java:116)
[bind] at
org.jibx.binding.model.DefinitionContext.addTemplate(DefinitionContext.java:
575)
[bind] at
org.jibx.binding.model.RegistrationVisitor.visit(RegistrationVisitor.java:17
6)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:171)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:232)
[bind] at
org.jibx.binding.model.RegistrationVisitor.visitTree(RegistrationVisitor.jav
a:110)
[bind] at
org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:734)
[bind] at
org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:79
9)
[bind] at org.jibx.binding.Utility.validateBinding(Utility.java:223)
[bind] at org.jibx.binding.Utility.loadBinding(Utility.java:264)
[bind] at org.jibx.binding.Utility.loadFileBinding(Utility.java:408)
[bind] at org.jibx.binding.Compile.compile(Compile.java:296)
[bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
[bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[bind] at org.apache.tools.ant.Task.perform(Task.java:364)
[bind] at org.apache.tools.ant.Target.execute(Target.java:341)
[bind] at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142)
[bind] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.parseBuildFile(Inte
rnalAntRunner.java:191)
[bind] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunn
er.java:400)
[bind] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRun
ner.java:137)
Since I'm new to JIBX I don't have an idea what exactly is going wrong.
Another thing is that JIBX fails to find classes that are included as
dependent projects when I run the compile option.
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users