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

Bug 370585

Summary: Returning null in FeatureOperationImpl.getName() leads to NullPointerException
Product: [Modeling] EMFStore Reporter: Max Hohenegger <eclipse>
Component: ServerCoreAssignee: Project Inbox <emfstore.servercore-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 0.8.9.M921   
Hardware: All   
OS: All   
Whiteboard:

Description Max Hohenegger CLA 2012-02-03 12:23:54 EST
When assembling the Feature names of changes that shall be shown in the list of changes in the Commit/Update-Dialogs, an NPE is thrown whenever an operation returns null as a name.

See:
org.eclipse.emf.emfstore.server.model.versioning.operations.impl.FeatureOperationImpl.getName()

A default string should be returned instead of null to fix this issue.
Comment 1 Max Hohenegger CLA 2012-02-07 06:08:37 EST
Changed return value from null to "Unknown Operation"