Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334057 - NPE while validating WSLD1.1 + WS-Policy + WS-Addressing + two ports/bindings
Summary: NPE while validating WSLD1.1 + WS-Policy + WS-Addressing + two ports/bindings
Status: NEW
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.wsi (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal with 5 votes (vote)
Target Milestone: ---   Edit
Assignee: wst.wsi CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 02:48 EST by Grzegorz Grzybek CLA
Modified: 2012-11-09 05:35 EST (History)
2 users (show)

See Also:


Attachments
Here are the WSDLs causing NPE during WS-I validation (2.43 KB, application/octet-stream)
2011-01-12 02:49 EST, Grzegorz Grzybek CLA
no flags Details
a perfectly valid WSDL from Apache ODE samples (8.05 KB, application/wsdl+xml)
2012-08-13 09:41 EDT, Ken Mc Neill CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Grzybek CLA 2011-01-12 02:48:37 EST
Build Identifier: I20101208-1300

There are two different port types, two bindings and two ports in one wsdl:service. All of them use WS-Addressing Metadata. When I comment one port in wsdl:service the NPE is gone.

I've traced the problem down to:
 - assertion BP2402 is tested
 - list of prerequisites is checked (which is [ BP2703 ])
 - org.eclipse.wst.wsi.internal.core.report.impl.ReportImpl.getAssertionResult(String) returns null, because "currentEntry.getEntryContainer().getAssertionResult(assertionId)" returns null

WS-I Compliance Checker from SOAPUI works fine for the attached WSDLs/XSDs

Reproducible: Always

Steps to Reproduce:
1. Open attached WSDLs/XSDs
2. Validate
3. See NPE
Comment 1 Grzegorz Grzybek CLA 2011-01-12 02:49:47 EST
Created attachment 186599 [details]
Here are the WSDLs causing NPE during WS-I validation
Comment 2 Keith Chong CLA 2011-03-17 13:37:23 EDT
Reducing severity since this isn't a major loss of function.
Comment 3 Grzegorz Grzybek CLA 2012-05-29 03:12:08 EDT
It's the same bug as https://bugs.eclipse.org/bugs/show_bug.cgi?id=323157
Comment 4 Ken Mc Neill CLA 2012-08-13 09:41:55 EDT
Created attachment 219804 [details]
a perfectly valid WSDL from Apache ODE samples

This bug is truly unacceptable.

It makes the WSDL Editor useless on many perfectly valid files used all over the industry. Attached example is from Apache ODE.

This is also a painfully-old bug--what is it going to take to get it fixed?

Validation Problem Error:

"A problem occurred while running the WSDL validator for namespace http://schemas.xmlsoap.org/wsdl/."
Comment 5 Ken Mc Neill CLA 2012-08-13 09:45:30 EDT
It's the same bug asAre we sure that this is the same as https://bugs.eclipse.org/bugs/show_bug.cgi?id=323157?

How can we help with this one?