Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345908 - NPE in KeyAttribute
Summary: NPE in KeyAttribute
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WTP Incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dimitar Tenev CLA
QA Contact: Dimitar Tenev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-16 06:30 EDT by Stanislav Nichev CLA
Modified: 2021-11-18 16:19 EST (History)
0 users

See Also:


Attachments
fixing the NPE (4.79 KB, patch)
2011-05-16 06:34 EDT, Stanislav Nichev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.