Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334395

Summary: Sporadic NPE on synchronizing WS model under heavy load
Product: [WebTools] WTP Webservices Reporter: Danail Branekov <danail.branekov>
Component: jst.ws.jaxwsAssignee: Danail Branekov <danail.branekov>
Status: RESOLVED FIXED QA Contact: Shane Clarke <shane_clarke>
Severity: minor    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Danail Branekov CLA 2011-01-14 11:38:20 EST
Sometimes (usually under heavy load) there are resource change events delivered to the WS model listener which deal with IType instances which fully qualified name is null. The null value of the qualified name later on leads to a NullPointerException in org.eclipse.jst.ws.jaxws.dom.runtime.persistence.sync.SeiSynchronizer / org.eclipse.jst.ws.jaxws.dom.runtime.persistence.sync.WsSynchronizer in their synchronize*() methods.
This has been only observed in the automated tests environment and therefore I suspect a threading issue.
Anyway, the model listener should disregard changes for such java elements since valid web service entities cannot be produced for such types.
Comment 1 Danail Branekov CLA 2011-02-07 02:55:41 EST
Fixed in HEAD and release as v201101141643