Solution cannot be cast error on import

Hi,

When trying to import a solution I’m getting the following error:

[error]java.lang.ClassCastException: com.servoy.j2db.persistence.Solution cannot be cast to com.servoy.j2db.persistence.TableNode

Does anyone know what this means and what it indicates? We are using Servoy 4.1, importing through the server administration web page.

Thanks,
-Jeremy

What are you trying to import? Is it a .solution file?
What version did you export from?

This is really a very strange error…

We imported a .servoy file. It was exported using servoy 4.1 and it exported without errors.

In that case I would create a ticket in the support system.
Although, I must say, I have exported/imported many solutions in the last days without any issue…

Ok, Thanks.

We need more details in order to reproduce this problem. Can you constantly reproduce this? Do you have a sample solution?

Yes, we’ve sent a sample solution to Servoy through the support ticket and it has been duplicated and the cause of the problem has been found. A calculation was in the wrong place in the hierarchy somehow, and the next release should be more robust in dealing with these errors.

Thank you.