Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Potential bug in PathmapManager.notifyChanged(Notification msg)
Potential bug in PathmapManager.notifyChanged(Notification msg) [message #516611] Wed, 24 February 2010 10:08
Jan Mauersberger is currently offline Jan MauersbergerFriend
Messages: 120
Registered: July 2009
Senior Member

before I'm going to post a GMF bug I would like to verify this. In GMF
2.2.0 but also in 2.2.1 the method throws a ClassCastException in case
of an Notification.ADD_MANY notification. The code:

case Notification.ADD_MANY:
List resources = (List)msg.getNewValue();
if (resources == null)

for (Iterator i = resources.iterator(); i.hasNext();) {

causes the exception because the new value in the event is a list of
resources, rather than a single resource. The issue is caused if
multipel resources are changed in a resource set in a single step like


Did anyone encounter a the same problem so far?

Previous Topic:Problem with Link Constraint (OCL)
Next Topic:Custom Actions/ Custom Behaviour
Goto Forum:

Current Time: Sun Feb 28 23:34:06 GMT 2021

Powered by FUDForum. Page generated in 0.01761 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top