Arthur,
Correcting the WSDL does fix the NPE for these tests but I think Woden
still has a bug that needs to be captured by a JIRA - even if it's a new
JIRA. Woden should be able to parse invalid WSDL and report errors without
an NPE occurring because some attribute is missing in the WSDL. In this
case, it should have parsed the WSDL and reported that the Binding was
missing its Interface property.
I could open a new JIRA and attach a test case based on the old
MessageTest-2G wsdl.
John Kaputin
"Arthur Ryman
(JIRA)"
<[EMAIL PROTECTED]> To
[email protected]
12/11/2006 01:02 cc
Subject
Please respond to [jira] Closed: (WODEN-75) Ant Task
[EMAIL PROTECTED] Throws NPE on
he.org documents/good/MessageTest-2G/HTTPs
ervice.wsdl
[ http://issues.apache.org/jira/browse/WODEN-75?page=all ]
Arthur Ryman closed WODEN-75.
-----------------------------
Resolution: Invalid
The failure was due to an error in the W3C test suite. The @interface
attribute was missing from the document in a binding that contained
<operation> elements. This error existed in MessageTest-2G and
MessageTest-3G. I corrected the W3C test suite. The Ant task now runs to
completion on these files.
> Ant Task Throws NPE on documents/good/MessageTest-2G/HTTPservice.wsdl
> ---------------------------------------------------------------------
>
> Key: WODEN-75
> URL: http://issues.apache.org/jira/browse/WODEN-75
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
>
> I get the following stack trace. I'll investigate this one.
> Starting:
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/MessageTest-2G/HTTPservice.wsdl
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.woden.ant.CmWriter$9.compare(CmWriter.java:492)
> at java.util.Arrays.mergeSort(Arrays.java:1292)
> at java.util.Arrays.sort(Arrays.java:1233)
> at org.apache.woden.ant.CmWriter.write(CmWriter.java:488)
> at org.apache.woden.ant.CmWriter.write(CmWriter.java:414)
> at org.apache.woden.ant.CmWriter.write(CmWriter.java:401)
> at org.apache.woden.ant.CmWriter.write(CmWriter.java:133)
> at org.apache.woden.ant.WsdlCm.write(WsdlCm.java:77)
> at org.apache.woden.ant.WsdlCm.main(WsdlCm.java:132)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]