Error executing code - Wrong type of element at call of ConIns

Hi…

I am getting error while running the RunBaseBatch class it says,

“Error executing code: Wrong type of element at call of ConIns.”

Stack trace:

\Classes\BomCalcJob\pack - line 3

\Classes\BomCalcJob_Item\pack - line 3

\Classes\RunBase\promptPack - line 3

\Classes\RunBaseBatch\promptPack - line 5

\Classes\RunBase\promptPrint - line 13

\Classes\RunBase\prompt - line 10

\Classes\RunBaseBatch\prmpt - line3

\Classes\BomCalcJob\main - line 53

\Classes\FomrFunctionButtonControl\clicked

[C\ \Classes\FormFunctionButtonControl\Clicked - line 12

The code is compiled and working fine in another environment.

The error thrown on pack method, I try clearing the usage data and then retry it but error doesn’t go away.

Can you please guide me how can i get rid of this error.