Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328412 - CaptionedControl problems
Summary: CaptionedControl problems
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ERCP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: ercp.eswt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 16:53 EDT by Wolfgang Röckelein CLA
Modified: 2021-07-15 12:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Röckelein CLA 2010-10-21 16:53:20 EDT
CaptionedControl has an error in the focusOutListener which produces an NPE if the event is for a Shell/MobileShell. Code fix suggestion:
				while(c!=thisControl){
					if(c instanceof Shell){
						break;
					}else if(c.getParent() instanceof Shell){
						break;
					}else{
						c = c.getParent();
					}
				}

In the code exmaples in the comments "ConstraintedText" instead of "ConstrainedText" is used.