Profile Picture

Error message on copy/paste

Posted By Arthur Warren 15 Years Ago
Author
Message
Arthur Warren
questionmark Posted 15 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 9, Visits: 1
When I copy a shape in my application and then attempt to paste it, I get the error shown in the attachment.

Transcribed:
The Paste transaction FailedRolledback
Error Log:
1. Paste failed on a single node: Object reference not set to an instance of an object.

Can someone give me hint for where to start looking for what I've done wrong?

Thanks,
Herb.

Attachments
failed_paste_error.png (190 views, 2.00 KB)
Pavel Vladov
Posted 15 Years Ago
View Quick Profile
Forum Member

Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 33, Visits: 2
The information you've provided is not enough to conclude what the problem is. I advise you to send the sample project in which this error occurs to support@nevron.com and we'll tell you what's wrong with it.

Arthur Warren
Posted 15 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 9, Visits: 1
I don't know how little code I can use to reproduce this.

It's occurring in a very large project that I can't send, for obvious reasons.

I've created my own library of shapes with custom objects attached to the tag property of the shape. Is it possible that this is causing problems with copy & paste?

Herb.

Pavel Vladov
Posted 15 Years Ago
View Quick Profile
Forum Member

Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 33, Visits: 2
Most likely this is the problem. In order to solve it, make sure that your custom objects are deep cloneable (i.e. implement the ICloneable interface for them).

NorthGates
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 6, Visits: 1
I had the same problem and I had added ExpandableObjectConverter to my class. As soon as I removed it, all is well



Similar Topics


Reading This Topic