I'm not sure what happened, the Jibx2Wsdl tool was working, and then I cleaned
my project and recompiled all my Java classes (but I did not make any changes
to the Java code), and now I get this error when I try to run Jibx2Wsdl:
Exception in thread "main" java.lang.NullPointerException
at
org.jibx.binding.classes.ClassItem.getParameterName(ClassItem.java:217)
at
org.jibx.binding.model.ClassItemWrapper.getParameterName(ClassItemWrapper.java:144)
at
org.jibx.custom.classes.ClassItemSourceWrapper.getParameterName(ClassItemSourceWrapper.java:216)
at
org.jibx.ws.wsdl.tools.custom.OperationCustom.apply(OperationCustom.java:396)
at
org.jibx.ws.wsdl.tools.custom.ServiceCustom.apply(ServiceCustom.java:372)
at
org.jibx.ws.wsdl.tools.custom.WsdlCustom.addServiceCustomization(WsdlCustom.java:187)
at org.jibx.ws.wsdl.tools.Jibx2Wsdl.generate(Jibx2Wsdl.java:574)
at org.jibx.ws.wsdl.tools.Jibx2Wsdl.main(Jibx2Wsdl.java:895)
I looked in the jibx source, and line 217 of ClassItem.java says:
LocalVariable var = vtab.getLocalVariable(offset);
vtab must be null, and it came from this earlier line:
LocalVariableTable vtab = ((Method)m_item).getLocalVariableTable();
But the exception doesn't tell me what the method is. Any ideas?
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users