You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "Arthur Ryman (JIRA)" <ji...@apache.org> on 2006/11/02 23:16:16 UTC
[jira] Created: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
-----------------------------------------------------------------------------------------------------
Key: WODEN-69
URL: http://issues.apache.org/jira/browse/WODEN-69
Project: Woden
Issue Type: Bug
Components: Tools
Reporter: Arthur Ryman
Assigned To: Arthur Ryman
I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12448802 ]
John Kaputin commented on WODEN-69:
-----------------------------------
Arthur, I have committed a partial solution as per ealier mailing list posts. Patch files are attached. If you have a better solution go ahead and replace mine. Or you can assign this JIRA back to me if you prefer.
Here's the commit msg:
WODEN-69 Added support for deriving default message
label to the BaseWSDLReader.parseBindingFaultReference
method and modified the defaulting behaviour in
parseInterfaceFaultReference to match this. This fix
supports the 3 MEPs defined by the Part 2 Adjuncts
spec (in-only, robust-in-only, in-out), but it is not
extensible for other user-defined types.
MessageTest-1G no longer NPEs during parsing, but an NPE now occurs when accessing the model contents via the Component API. I will continue investigating.
MessageTest-2G and MessageTest-3G still have the same NPEs. I will investigate these too.
The MessageTest WSDLs have some errors (i.e. they are not 'Good' WSDLs). These WSDL errors exposed some Woden bugs (not handling potential null values) which I have also fixed. I will post to www-ws-desc about the WSDL errors.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Closed: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=all ]
Arthur Ryman closed WODEN-69.
-----------------------------
Resolution: Fixed
Committed fix. No more NPE.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt, WODEN-69_WSDLComponentValidator.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Updated: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=all ]
John Kaputin updated WODEN-69:
------------------------------
Attachment: WODEN-69_BaseWSDLReader.patch.txt
Defaulting behaviour for message label
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
> Attachments: WODEN-69_BaseWSDLReader.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12447846 ]
Arthur Ryman commented on WODEN-69:
-----------------------------------
We discussed this in the status call today. I'll go ahead and fix this since it's blocking the interop event.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
Re: [jira] Updated: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by John Kaputin <KA...@uk.ibm.com>.
Arthur,
our last code fixes for WODEN-69 overlapped, but they are both correct.
Your correction to the soap http url fixed an underlying problem and so
resolved the NPE in getTransferCoding(). My removal of the offending NPE
code from getTransferCoding() is still correct with regards to how transfer
coding and its defaults are now described in the spec (i.e. the defaults
are derived by the concrete message builder based on section 6.8.2, not
derived automatically by Woden).
BTW, well spotted on the incorrect protocol url! I'll see if this is
related to or resolves WODEN-34.
John Kaputin
"John Kaputin
(JIRA)"
<ji...@apache.org> To
woden-dev@ws.apache.org
12/11/2006 00:45 cc
Subject
Please respond to [jira] Updated: (WODEN-69) Ant
woden-dev@ws.apac Tasks Throws NPE on W3C Test Case
he.org /desc/test-suite/documents/good/Mes
sageTest-1G/SOAPservice.wsdl
[ http://issues.apache.org/jira/browse/WODEN-69?page=all ]
John Kaputin updated WODEN-69:
------------------------------
Attachment:
WODEN-69_HTTPBindingMessageReferenceExtensionsImpl.patch.txt
Applied patch to HTTPBindingMessageReferenceExtensionsImpl to fix the
remaining NPE on MessageTest-1G.
The commit message is:
WODEN-69 modified the getTranferCoding() method
to reflect Section 6.8.2 in Part 2 spec and instead
of trying to retrieve transfer coding default from
parent binding operation, just return null if the
binding message reference's transfer coding property
is null. This fixes the NPE seen on the MessageTest-1G
test case.
> Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
>
-----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
> Attachments: WODEN-69_BaseWSDLReader.patch.txt,
WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt,
WODEN-69_HTTPBindingMessageReferenceExtensionsImpl.patch.txt,
WODEN-69_WSDLComponentValidator.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE.
I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Updated: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=all ]
John Kaputin updated WODEN-69:
------------------------------
Attachment: WODEN-69_HTTPBindingMessageReferenceExtensionsImpl.patch.txt
Applied patch to HTTPBindingMessageReferenceExtensionsImpl to fix the remaining NPE on MessageTest-1G.
The commit message is:
WODEN-69 modified the getTranferCoding() method
to reflect Section 6.8.2 in Part 2 spec and instead
of trying to retrieve transfer coding default from
parent binding operation, just return null if the
binding message reference's transfer coding property
is null. This fixes the NPE seen on the MessageTest-1G
test case.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt, WODEN-69_HTTPBindingMessageReferenceExtensionsImpl.patch.txt, WODEN-69_WSDLComponentValidator.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12449060 ]
Arthur Ryman commented on WODEN-69:
-----------------------------------
John, I found the problem. I'll reassign to myself and fix.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: John Kaputin
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt, WODEN-69_WSDLComponentValidator.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12449040 ]
Arthur Ryman commented on WODEN-69:
-----------------------------------
John,
The NPE is now caused by the absence of an HTTP binding extension object for the parent BindingOperation of the BindingMessageReference. The {http transfer coding} property is not present on the BindingMessageReference to the code tries the BindingOperation, but gets a null. Here's the comment:
HTTPBindingOperationExtensions httpBindOperExts = (HTTPBindingOperationExtensions)
bindOper.getComponentExtensionsForNamespace(HTTPConstants.NS_URI_HTTP);
//No need to null check httpBindOperExts because BindingOperation has
//REQUIRED http extension properties, so it must be present.
return httpBindOperExts.getHttpTransferCodingDefault();
You say null should never be returned, but it is.
The WSDL is:
<operation ref="tns:EchoString"
wsoap:action="http://example.org/message-test/action/EchoString">
<input>
<whttp:header name="X-WSDL-testsuite-input" type="xs:string"/>
</input>
Note that there is no whttp: content on the parent so I guess you don't bother creating the extension object. I'll continue to investigate.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: John Kaputin
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt, WODEN-69_WSDLComponentValidator.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Assigned: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=all ]
Arthur Ryman reassigned WODEN-69:
---------------------------------
Assignee: Arthur Ryman (was: John Kaputin)
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt, WODEN-69_WSDLComponentValidator.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12449062 ]
Arthur Ryman commented on WODEN-69:
-----------------------------------
The problem was a simple error. The wrong URI was used to test for the HTTP underlying protocol in ComponentModelBuilder.java. Note that it is using the WSDL extension URI.
if (ComponentExtensions.URI_NS_HTTP.equals(sbe
.getSoapUnderlyingProtocol())) {
It should use the SOAP protocol URI (and convert it from URI to String):
URI soapUnderlyingProtocol = sbe.getSoapUnderlyingProtocol();
if (SOAPConstants.PROTOCOL_URI_HTTP.equals(soapUnderlyingProtocol.toString())) {
Fixed in r473838
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt, WODEN-69_WSDLComponentValidator.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12446766 ]
Arthur Ryman commented on WODEN-69:
-----------------------------------
I believe the problem here is that the parser is not handling inherited Interface Faults correctly. The test case contains the interface ComplexEcho which inherits a fault and this gets referenced from a binding, but it fails to resolve and null is returned, leading to a NPE later. I'll investigate further.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
Re: [jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by John Kaputin <KA...@uk.ibm.com>.
Arthur,
I think I have this action item via WODEN-59. See my last comment on the
JIRA. I'll post when it's done.
John Kaputin
"Arthur Ryman
(JIRA)"
<ji...@apache.org> To
woden-dev@ws.apache.org
03/11/2006 03:32 cc
Subject
Please respond to [jira] Commented: (WODEN-69) Ant
woden-dev@ws.apac Tasks Throws NPE on W3C Test Case
he.org /desc/test-suite/documents/good/Mes
sageTest-1G/SOAPservice.wsdl
[
http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12446798
]
Arthur Ryman commented on WODEN-69:
-----------------------------------
I found the problem. There is a pending TO DO to implement the computation
of the effective message label when none is specified. Has someone thought
through this or shall I go ahead and implement it:
public InterfaceFaultReference getInterfaceFaultReference()
{
InterfaceFaultReference intFaultRef = null;
if(fRef != null) //if 'ref' is null, we cannot match against an
interface fault qname.
{
BindingOperation bindOp = (BindingOperation)getParent();
InterfaceOperation intOp = bindOp.getInterfaceOperation();
if(intOp != null)
{
//Determine the "effective" msg label for this binding
fault ref.
NCName effectiveMsgLabel = null;
if(fMessageLabel != null)
{
effectiveMsgLabel = fMessageLabel;
}
else
{
//implement placeholder effective msg label, as per the
todo comment above
}
> Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
>
-----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
>
> I just ran Woden on the latest addition to the test suite and got a NPE.
I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12446798 ]
Arthur Ryman commented on WODEN-69:
-----------------------------------
I found the problem. There is a pending TO DO to implement the computation of the effective message label when none is specified. Has someone thought through this or shall I go ahead and implement it:
public InterfaceFaultReference getInterfaceFaultReference()
{
InterfaceFaultReference intFaultRef = null;
if(fRef != null) //if 'ref' is null, we cannot match against an interface fault qname.
{
BindingOperation bindOp = (BindingOperation)getParent();
InterfaceOperation intOp = bindOp.getInterfaceOperation();
if(intOp != null)
{
//Determine the "effective" msg label for this binding fault ref.
NCName effectiveMsgLabel = null;
if(fMessageLabel != null)
{
effectiveMsgLabel = fMessageLabel;
}
else
{
//implement placeholder effective msg label, as per the todo comment above
}
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12446756 ]
Arthur Ryman commented on WODEN-69:
-----------------------------------
Looks like an assertion test is failing:
Starting: file:///D:/workspaces/WSD2/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Exception in thread "main" java.lang.NullPointerException
at org.apache.woden.internal.wsdl20.validation.WSDLComponentValidator.testAssertionBindingFaultReference0061(WSDLComponentValidator.java:1109)
at org.apache.woden.internal.wsdl20.validation.WSDLComponentValidator.validateBindingFaultReferences(WSDLComponentValidator.java:271)
at org.apache.woden.internal.wsdl20.validation.WSDLComponentValidator.validateBindingOperations(WSDLComponentValidator.java:230)
at org.apache.woden.internal.wsdl20.validation.WSDLComponentValidator.validateBindings(WSDLComponentValidator.java:204)
at org.apache.woden.internal.wsdl20.validation.WSDLComponentValidator.validate(WSDLComponentValidator.java:67)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:218)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:230)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:243)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:122)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:133)
at org.apache.woden.ant.WsdlCm.main(WsdlCm.java:122)
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Assigned: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=all ]
Arthur Ryman reassigned WODEN-69:
---------------------------------
Assignee: John Kaputin (was: Arthur Ryman)
Looks like you found more time to work on this than me. Go ahead with this and let's revisit the solution during the interop event to confirm correct behavior.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: John Kaputin
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Updated: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=all ]
John Kaputin updated WODEN-69:
------------------------------
Attachment: WODEN-69_BindingOperationImpl.patch.txt
WODEN-69_Constants.patch.txt
Fix binding operation so interface op from an extended interface is visible.
Added MEP URIs to Constants.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: Arthur Ryman
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12449058 ]
John Kaputin commented on WODEN-69:
-----------------------------------
Arthur,
I was investigating this prior to seeing your previous comment and came to the same conclusion. I think I can fix this by removing the code in the getTransferCoding() method that attempts to retrieve the transfer coding default from binding operation. That code was based on my original interpretation of Part 2 section 6.8.2. That section was rewritten recently after clarification via the working group and the {transfer coding} and {transfer coding default} properties are now all OPTIONAL. I will update the code to reflect the current spec.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: John Kaputin
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt, WODEN-69_WSDLComponentValidator.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Updated: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=all ]
John Kaputin updated WODEN-69:
------------------------------
Attachment: WODEN-69_WSDLComponentValidator.patch.txt
Patched WSDLComponentValidator to eliminate nulls when checking for uniqueness. This also fixes the initial NPEs seen when parsing MessageTest-2G and MessageTest-3G wsdls. All 3 test cases can now be parsed into a Description component. When run via ANT they still throw NPE but I think these exceptions occur while using the component API to obtain the model contents. Will continue to investigate.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: John Kaputin
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt, WODEN-69_WSDLComponentValidator.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-69) Ant Tasks Throws NPE on W3C Test Case
/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12449036 ]
Arthur Ryman commented on WODEN-69:
-----------------------------------
MessageTest-1G is still NPE in the Ant task. I've got a little time now so I'll investigate. We need this working for Dinard.
> Ant Tasks Throws NPE on W3C Test Case /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
> Key: WODEN-69
> URL: http://issues.apache.org/jira/browse/WODEN-69
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Reporter: Arthur Ryman
> Assigned To: John Kaputin
> Attachments: WODEN-69_BaseWSDLReader.patch.txt, WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt, WODEN-69_WSDLComponentValidator.patch.txt
>
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll investigate further.
--
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org