cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1928
Views
0
Helpful
3
Replies

error unmarshalling return; nested exception is:

megaco123
Level 1
Level 1

Hi There,

I have been working on a script that used to work, now when I am debugging it gives me the following error:

error unmarshalling return; nested exception is:

java.io.StreamCorruptedException; Unread data

This happens when it gets to an if statement - the statement is just saying something like if variable a) = xyz do this, if not continue.

There is no mistake in the if statement so would like some advice if someone can help?

Thanks in advance!

Stewart

3 Replies 3

ciscogini
Level 4
Level 4

Looks like the paramters type you are comparing may not be matching

check the parameter type defined

I did check and did not see anything wrong, what I have seen is over 30 engine tasks in real time monitor.

It is as if the calls are not being terminated correctly when haning up. I am in the process of upgrading to a newer service release so I will test the script out when I am done.

I'll let you know how I get on.

I upgraded the software release but still the same problem. I take out the if statement and the problem goes away, add it and the problem returns.

When the script terminiates it still remains in the engine tasks under real time monitor so is actually having impact on resources. The other thing to mention is that I have another 5 steps that are identical which do not throw exception, if anyone can advise I would be greateful.

All I am doing is creating a real simple loop that increments an integer variable each time the contact goes round the loop. An if statement says if cycles (defined variable) >= 5 goto ......etc and if not continue with the logic.

The script does not get to the true/false branch and throws the exception. (NOTE - This is only in debug, when I run the script without debug it works a treat).

5 other copies of this branch work at other parts of the script, if anyone can advise I would very much appreciate it;)