Upgrade problem from 3.5 -maybe re repositories 31 and 35

I am having problem upgrading from 3.5 to 4.1 (or 4.0). I did everything by the book.

I can check out and deploy the example solutions. However, I noticed a lot of problem of warnings when checking out the example solutions.

The problem is that the solution I care about, the one that I created with Servoy 3.5, I cannot checkout.

The only thing I can think of as being the cause of the problem is that Servoy 3.5’s repository version is # 31 while Servoy 4.1 (or 4.0)'s repository version is # 35. Can this be the cause of the problem? If so, what can I do to solve it? If not, what could it be?

This is from the import progress log page:

Importing wlhbp_cma.servoy…
[info] Import contains XML version 12 and repository version 31.
[info] Import successful…
[info] Activated solution wlhbp_cma release 1
[info] Activated style wlhbpdb_style release 1

Note that although I am importing in Servoy 4.1 (repository version 35), the “Import contains XML version 12 and repository version 31.”

Could this discrepancy be the cause of the problem?

Hi jcarlos

I’m pretty sure when I did a NEW install of 4.1Final yesterday I had the same XML and Repository notifications - so I don’t think that is your challenge with your import. I’m not an expert (as many will testify :wink: ) but the notes below might help you.

I assume you have your solution exported from 3.5? If so I’d save it some place nice and secure, then delete any references to that solution in your Servoy set-up (and from the solutions tree in the developer window).

Might be worth doing a clean install of 4.1 Final rather than an update?

Make sure you have all of the correct data servers set-up in developer and connecting, then try and re-import your solution in the normal way - through the admin page.

Then check-it out through developer and activate it if its not already done.

I’ve found that the transfer / activation of a solution as I upgrade is not as easy as I’d expected. This time for example the styles were not updated with the solution import?

Best of luck with it.

I did exactly as you suggested: a full clean installation and import from the admin server web page. I did the clean install of 4.1 and 4.0. I have the same problem in both Servoy “4” versions.

I start to think that the problem is in my solution. However, the solution works fine in version 3.5

Anybody suggestion about what should do and a possible explanation of the problem is more than welcome!

What happens when you checkout ( checkout means bringing the solution in your workspace) ? I see that your solution is imported in the repository. What happens when you try to checkout from developer ?

When I checkout I get an error message saying that I cannot check out the solution from the repository because of an internal error. The warning dialog window says that “A stack overflow error has occurred.” It also asks me to close the developer. When I close, another dialog window captioned “Multiple Errors have occurred” states the following:

"An internal error occurred during “Check out ‘wlhbp_cma’”.
java.lang.StackOverflowError

BTY, I can checkout the sample solutions and a little solution that I build while learning Servoy 4. The problem is only with the solution I built in Servoy 3.5.

Furthermore, I also get the checkout error message when trying to checkout the ‘wlhbp_cma’ solution in Servoy developer 4.0 (the problem is not just with Servoy 4.1).

The wlhbp_cma solution can only work in Servoy 3.5. As a matter of fact, I also did a clear installation of Servoy 3.5 and imported the ‘wlhbp_cma’ solution to see if the ‘wlhbp_cma’ solution was somehow corrupted, but it works just fine in Servoy 3.5 developer, server and clients. No error messages in Servoy 3.5 for wlhbp_cma solution!

You also should know that Johan C. sent me a private/personal message for my posting about the stack overflow error (Re: Stack overflow error - can’t check out" the solution).

He said that if I want to use my solution (‘wlhbp_cma’) I have to use a version that is not released

I haven’t tried Johan’s advice because I’ve been busy with other projects and also bringing back everything as it was before I installed in my production server Servoy 4.1. I had to put everything back in Servoy 3.5.

What do you think? Can the issue be incompatibility of my Servoy 3.5 solution (‘wlhbp_cma’) with Servoy 4.0 and 4.1?

Thanks for your help!

again, that stack overflow is a bug in the parsing of you methods/javascript code
So it has nothing to do with 3.5/4.0 compatibility stuff or things like that

I was just a bug in the parser because of some constructs you have (nothing wrong with them) in your code.

This is fixed for 4.1.1