09-02-2005 04:47 AM - edited 03-13-2019 11:07 PM
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
09-02-2005 09:11 AM
Looks like the paramters type you are comparing may not be matching
check the parameter type defined
09-04-2005 08:52 AM
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.
09-06-2005 08:29 AM
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;)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide