Errors when building a runtime

Hi,

when building a new runtime version with Servoy Developer 2.2.1 there are several bugs:

  • in ServoyRuntimeBuilder (in the ProjectDetails) I get the following error message when I want to select a solution:

java.lang.NoSuchMethodError: com.servoy.j2db.SelectSolutionDialog.showDialog(Lcom/servoy/j2db/persistence/IRepository;Ljava/lang/String;)Lcom/servoy/j2db/persistence/SolutionDefinition;

So I fill in the value manually.

  • After building the runtime version it is not possible to launch the runtime. I get the message:

Java Virtual Machine Launcher: Invalid or corrupt jarfile: …/servoy_runtime.jar

When I replace this jarfile by an older one (produced by ServoyRuntimeBuilder 2.2.1 rc3) the solution starts, but with a lot of errors. Almost every onLoad method throws exceptions.

Is there a solution in sight?

Thank you!

Christoph

The same happened to me.

I use Servoy Developer Version R2 2.2.1-build 333 and I get the same error when I want to change the solution name: “java.lang.NoSuchMethodError: com.servoy.j2db.SelectSolutionDialog.showDialog(Lcom/servoy/j2db/persistence/IRepository;Ljava/lang/String;)Lcom/servoy/j2db/persistence/SolutionDefinition;”.

I go to the database and change the solution name there, and then I get another error when I push the “Build Project” button: “java.lang.Exception: !servoy.plugin.runtimebuilder.error.solutionNotFound!”

Any advice? This happens only after I upgraded to the latest version of Servoy. With the older versions everything worked just fine.

I tried to import the solution into an older version of Servoy and create the runtime from there. But it does not let me import the solution, because its version number is newer.

Thank you,
Gabriel.

Is there any news on this?

Something in the packaging of 2.2.1 seems to have gone wrong,please download the plugin from:
http://downloads.servoy.com/downloads/b … uilder.jar