Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370585 - Returning null in FeatureOperationImpl.getName() leads to NullPointerException
Summary: Returning null in FeatureOperationImpl.getName() leads to NullPointerException
Status: RESOLVED FIXED
Alias: None
Product: EMFStore
Classification: Modeling
Component: ServerCore (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.8.9.M921   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-03 12:23 EST by Max Hohenegger CLA
Modified: 2012-02-07 06:08 EST (History)
0 users

See Also:


Attachments

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