Bug Script execution error with r20539

Magus_Prime

Well-known member
Somewhere between r20535 and r20539 something broke. I'm guessing that it is related to the new Javascript support in some way.

Code:
(Universal_recovery.ash, line 154)
Script execution aborted (class net.sourceforge.kolmafia.textui.parsetree.Value cannot be cast to class net.sourceforge.kolmafia.textui.parsetree.AggregateValue (net.sourceforge.kolmafia.textui.parsetree.Value and net.sourceforge.kolmafia.textui.parsetree.AggregateValue are in unnamed module of loader 'app')):
(Universal_recovery.ash, line 154)

Everything works as expected with r20535.
 
I also use universal recovery and haven't seen this. What were the circumstances in which it happened?
 
Whenever KoLmafia tried to heal my character. I didn't have the time to investigate so I just reverted to r20535 and went on my merry way. I'll try again tomorrow and enable the debug log if it happens again.
 
The attached was pulled from UR and remove [egg] should trigger the problem.

I just took the latest version of the recovery items and it didn't fail. Perhaps a version without eggs might give different results, although I can't explain why.
 

Attachments

That's, definitely, the offending function but it didn't happen today running r20544. I have no idea why when it happened repeatedly with r20539 a few days ago.
 
Back
Top