Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370667 - NPE in ValidateAction.handleDiagnostic
Summary: NPE in ValidateAction.handleDiagnostic
Status: RESOLVED FIXED
Alias: None
Product: Ecoretools
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal
Target Milestone: 2.0.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 368612
  Show dependency tree
 
Reported: 2012-02-05 15:00 EST by Ed Willink CLA
Modified: 2014-04-29 12:14 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2012-02-05 15:00:13 EST
There is no ValidateAction on the Ecore Diagram, where it could work.

Instead there is a ValidateAction on the Outline where the following NPE occurs because "domain" is null since setActiveWorkbenchPart is not invoked.

Alos because domain is null there is no adapterFactory to provide better names in the Validation dialog.

ValidateAction.handleDiagnostic(Diagnostic) line: 315	
ValidateAction$1$1.run() line: 183	
RunnableLock.run() line: 35	
UISynchronizer(Synchronizer).runAsyncMessages(boolean) line: 135
Comment 1 Cedric Brun CLA 2014-01-06 08:37:27 EST
This is no longer true for EcoreTools 2.0.