Showing results for 
Search instead for 
Did you mean: 

Class Cast Exception Revisited

Occasional Visitor

Class Cast Exception Revisited

I refer to the previous post with title "Re: Class Cast error in first try"


It refers to the error mentioned there


java-lang.ClassCastException: cannot be cast to


I am also getting this error


I refer to your resolution


"the hint with the logs being available in the bottom area of the window was very helpful, although I did find it myself in the meantime.

I suppose there is not a solution to the class cast error, as the problem is, that an unexpected result is returned after the call.
Nevertheless throwing an exception in such a case is not a very helpful way of handling the situation"


I'm sorry but I am finding this difficult to interpret. I cannot find a "hint" in my error log, nor anything to indicate that "unexpected result is returned after the call."


Could you please make the hint explicit and indicate what it is that indicates that there is an "unexpected result". 


Please make this straightforward . How is the expected result defined




SoapUI  User

Community Manager

Re: Class Cast Exception Revisited

Thank you for posting a question @AppUser100 !

Let's see if the Community can help!


@richie @nmrao @SiKing @PrathapR could you take a look? Thank you!🙂

Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Top Kudoed Authors