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

Bug 345908

Summary: NPE in KeyAttribute
Product: z_Archived Reporter: Stanislav Nichev <stanislav.nichev>
Component: WTP IncubatorAssignee: Dimitar Tenev <dimitar.tenev>
Status: CLOSED FIXED QA Contact: Dimitar Tenev <dimitar.tenev>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
fixing the NPE none

Description Stanislav Nichev CLA 2011-05-16 06:30:27 EDT
Build Identifier: 

Hi Colleagues,

When executing the scenario bellow, a NPE is thrown in the KeyAttribute constraint class.

Reproducible: Always

Steps to Reproduce:
1. Create a new service interface.                                      
2. Assign a message type having xml namespace as ""                     
3. Do not save the service interface.                                   
4. remove the message type assignment from the service interface       
5. Click on the service interface node in the tree.                     
6. A NPE is thrown from class                                           
                                                                        
java.lang.NullPointerException                                          
at org.eclipse.wst.sse.sieditor.model.validation.constraints.KeyAttribut
e$ConstraintData.<init>(KeyAttribute.java:100)
Comment 1 Stanislav Nichev CLA 2011-05-16 06:34:37 EDT
Created attachment 195712 [details]
fixing the NPE
Comment 2 Dimitar Tenev CLA 2011-05-18 04:57:05 EDT
Thanks Stanislav, I have submitted.