Quantcast
Viewing all articles
Browse latest Browse all 4841

Strange switch error

Hello

I'm encountering a strange error when a transaction is executed.

It has a switch block with three cases. The match type is string. There are 3 standard boxes for each case and the "else" block.

In InputValue variable there is a stringtrim of string value.

In each MatchValueX there is static strings.

 

Sometime the transaction throws exception with the following error:

     while trying to invoke the method com.sap.lhcommon.common.VariantData.intValue() of an object loaded from local variable 'count'

 

If I run again the transaction with the same input, everything is completed without errors.

 

Do you have any idea about the problem?

 

System: MII 12.2

 

Thank you a lot

Best regards

Fabio


Viewing all articles
Browse latest Browse all 4841

Trending Articles