Hi Prateek,

I didn't know of any problems in this area. If you can add this into 
Jira (http://jira.codehaus.org/secure/BrowseProject.jspa?id=10410) I'll 
see about getting it fixed for 1.2.2. Please provide a sample Ant-based 
project build that demonstrates the problem.

Thanks,

- 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



Jain, Prateek wrote:
>
> All,
>
> I am getting error while generating bindings from my java code. 
> Actually, I have five pojo java files. Now, as there are certain 
> elements which are common to all like “submit-id” etc. I created a 
> base VO containing these fields. Now, when all my VOs extend this base 
> VO I get following error:
>
> Buildfile: build.xml
>
> generateMainXSD:
>
> [java] Exception in thread "main" java.lang.NullPointerException
>
> [java] at java.util.HashMap.putAll(HashMap.java:544)
>
> [java] at 
> org.jibx.binding.generator.BindGen.fillStructure(BindGen.java:541)
>
> [java] at 
> org.jibx.binding.generator.BindGen.fillStructure(BindGen.java:582)
>
> [java] at 
> org.jibx.binding.generator.BindGen.addMemberBindings(BindGen.java:502)
>
> [java] at org.jibx.binding.generator.BindGen.addMapping(BindGen.java:738)
>
> [java] at 
> org.jibx.binding.generator.BindGen.generateMappings(BindGen.java:1046)
>
> [java] at org.jibx.binding.generator.BindGen.generate(BindGen.java:1115)
>
> [java] at org.jibx.binding.generator.BindGen.main(BindGen.java:1274)
>
> BUILD FAILED
>
> E:\workspace3\ems-7.1\rnd\imeet-ws\PGIDisk\build\build.xml:110: Java 
> returned: 1
>
> Total time: 1 second
>
> Otherwise everything runs fine. Let me know if there is a workaround 
> to achieve this.
>
> *Regards,*
>
> Prateek Jain
>
> Senior Software Engineer
>
> Tel. +91-124-3936144 | Mob. +91-9958646136
>
> *iSmart Panache (I) Solutions Pvt. Ltd.*
>
> Plot No. 52, Sector 32, Institutional Area, Gurgaon 122001, Haryana
>
> www.ismartpanache.com <http://www.ismartpanache.com/>
>
>       
>
> <http://www.ismartpanache.com/>
>
>
> -----------------------------------------------------
>
> Expectations ::: causes all troubles
>
> -----------------------------------------------------
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>   

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to