Null Pointer Exception when using xsd2jibx tool to create binding.xml from a 
.xsd file
--------------------------------------------------------------------------------------

         Key: JIBX-115
         URL: http://jira.codehaus.org/browse/JIBX-115
     Project: JiBX
        Type: Bug

  Components: xsd2jibx  
    Versions: xsd2jibx-beta0.2    
 Environment: Windows XP, Weblogic 8.1, xsd2jibx ( version : Beta 0.2a  ) 
    Reporter: Amol Sawant
    Priority: Critical
 Attachments: ProcessServicePlan.xsd

Hi, 
I get a NullPointer when I use xsd2jibx ( version : Beta 0.2a  ) tool for my 
.xsd file. Please have a look at the stack trace . Also I have attached my xsd 
file. I was able to use it for simpler XSD files. Please let me know your 
findings. 

{color:red} 

C:\Work\JiBXJune2>java -jar C:\Work\JiBXJune2\xsd2jibx\lib\xsd2jibx.jar ProcessS
ervicePlan.xsd

java.lang.NullPointerException
        at org.jibx.xsd2jibx.JSource.newField(JSource.java:171)
        at org.jibx.xsd2jibx.JSource.newBeanProperty(JSource.java:111)
        at org.jibx.xsd2jibx.JSource.addElement(JSource.java:101)
        at org.jibx.xsd2jibx.XsdComplexType.processStructure(XsdComplexType.java
:368)
        at org.jibx.xsd2jibx.XsdComplexType.processStructure(XsdComplexType.java
:409)
        at org.jibx.xsd2jibx.XsdComplexType.process(XsdComplexType.java:245)
        at org.jibx.xsd2jibx.Generator.execute(Generator.java:233)
        at org.jibx.xsd2jibx.Generate.generate(Generate.java:131)
        at org.jibx.xsd2jibx.Generate.main(Generate.java:182)

{color} 


Thanks.
Amol S

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to