Unhandled Exception using Copy/Paste in State Machine

jbilleter
Posts: 87
Joined: Fri Oct 15, 2010 6:49 pm

Unhandled Exception using Copy/Paste in State Machine

Post by jbilleter » Wed May 14, 2014 2:00 pm

PowerVision 2.7.10406
PV450-V
Win 8.1

I received this error message when trying to copy/paste a state within a state machine. The state had two CCM->Fire Event actions. One was a transition and the other is a calculation.
PowerVision Unhandled Exception.PNG
PowerVision Unhandled Exception.PNG (25.33 KiB) Viewed 58 times
Jacob Billeter
Staff Engineer - MurCal, Inc.
jbilleter
Posts: 87
Joined: Fri Oct 15, 2010 6:49 pm

Re: Unhandled Exception using Copy/Paste in State Machine

Post by jbilleter » Wed May 14, 2014 2:01 pm

It is the transition that causes the issue. If I remove the transition action, I can copy/paste the state, but after I add it back and try to copy/paste, it shows the error again.
Jacob Billeter
Staff Engineer - MurCal, Inc.
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: Unhandled Exception using Copy/Paste in State Machine

Post by jpratt » Wed May 14, 2014 2:15 pm

I logged the issue and will try to get it reproduced and corrected.
Jake Pratt
Software Development Manager
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: Unhandled Exception using Copy/Paste in State Machine

Post by jpratt » Thu May 15, 2014 8:39 am

I was able to track this down. It was specific to sending a CCM Fire event on the same even that's causing the transition. It will be corrected in the patch. In general, copy / paste should be working fine except for this specific situation.
Jake Pratt
Software Development Manager