Hi -

 

I'm running the jibx compile task against a set of binding information files
and it used to work as expected till morning. All of a sudden the compile
task has stopped working and throwing the following error which I have no
clue as to why since I've not changed anything in the bindings. Here is the
stack trace.

 

Buildfile: D:\workspace\LatestXSD\build.xml

all:

     [bind] Using the following paths:

     [bind] D:\workspace\LatestXSD

     [bind] Using the following binding paths:

     [bind] D:\workspace\LatestXSD\binding.xml

     [bind] Running binding compiler version jibx_1_2_beta1

     [bind] Error running binding compiler

     [bind] java.lang.NullPointerException

     [bind] at
org.jibx.binding.classes.MungedClass.checkDirectory(MungedClass.java:225)

     [bind] at
org.jibx.binding.classes.BoundClass.getInstance(BoundClass.java:404)

     [bind] at
org.jibx.binding.classes.BoundClass.getInstance(BoundClass.java:442)

     [bind] at
org.jibx.binding.def.ObjectBinding.<init>(ObjectBinding.java:294)

     [bind] at
org.jibx.binding.def.BindingBuilder.unmarshalObjectBinding(BindingBuilder.ja
va:1032)

     [bind] at
org.jibx.binding.def.BindingBuilder.unmarshalStructure(BindingBuilder.java:1
232)

     [bind] at
org.jibx.binding.def.BindingBuilder.unmarshalStructureChildren(BindingBuilde
r.java:996)

     [bind] at
org.jibx.binding.def.BindingBuilder.unmarshalMapping(BindingBuilder.java:179
1)

     [bind] at
org.jibx.binding.def.BindingBuilder.unmarshalMappings(BindingBuilder.java:11
24)

     [bind] at
org.jibx.binding.def.BindingBuilder.unmarshalInclude(BindingBuilder.java:201
4)

     [bind] at
org.jibx.binding.def.BindingBuilder.unmarshalBindingDefinition(BindingBuilde
r.java:2084)

     [bind] at org.jibx.binding.Utility.loadBinding(Utility.java:314)

     [bind] at org.jibx.binding.Utility.loadFileBinding(Utility.java:431)

     [bind] at org.jibx.binding.Compile.compile(Compile.java:212)

     [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.Target.performTasks(Target.java:369)

     [bind] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

     [bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

     [bind] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
ava:40)

     [bind] at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets
(EclipseDefaultExecutor.java:32)

     [bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)

     [bind] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunn
er.java:423)

     [bind] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRun
ner.java:137)

 

BUILD FAILED

D:\workspace\LatestXSD\build.xml:11: JiBXException in JiBX binding
compilation

 

I'm really stuck with this issue, can someone provide me some inputs as to
why this is happening. There is no issue with the binding files since the
ant task generates a different error if I create a wrong mapping for the
objects on purpose.

 

Thanks

Anurag

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to