[ 
http://jira.codehaus.org/browse/JIBX-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski closed JIBX-115.
--------------------------------


> 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
>          Issue Type: Bug
>          Components: xsd2jibx
>    Affects Versions: JiBX 1.1
>         Environment: Windows XP, Weblogic 8.1, xsd2jibx ( version : Beta 0.2a 
>  ) 
>            Reporter: Amol Sawant
>            Assignee: Dennis Sosnoski
>            Priority: Critical
>             Fix For: JiBX 1.2.1
>
>         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

        

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to