Project

General

Profile

Defect #1603

Compatibility with Servoy 2025.09

Added by Robrecht Van Melckebeke 2 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
09/12/2025
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

My build pipeline is broken since Servoy 2025.09 and after we needed jakarta related upgrades to our own plugins
Everything works fine unless I include the velocity files, then this error shows :

2025-09-11T10:09:55.784478456Z main INFO Starting configuration XmlConfiguration[location=/usr/local/servoy_linux/application_server/log4j.xml, lastModified=2024-12-10T08:33:53Z]...
2025-09-11T10:09:55.785099081Z main INFO Configuration XmlConfiguration[location=/usr/local/servoy_linux/application_server/log4j.xml, lastModified=2024-12-10T08:33:53Z] started.
2025-09-11T10:09:55.785290184Z main INFO Stopping configuration org.apache.logging.log4j.core.config.DefaultConfiguration@641cea11...
2025-09-11T10:09:55.785487519Z main INFO Configuration org.apache.logging.log4j.core.config.DefaultConfiguration@641cea11 stopped.
java.lang.NullPointerException: Cannot read the array length because "classes" is null
    at com.servoy.j2db.plugins.PluginManager.initServerPlugins(PluginManager.java:330)
    at com.servoy.j2db.server.main.ApplicationServer.Za(ApplicationServer.java:125)
    at com.servoy.j2db.server.main.ApplicationServer.Za(ApplicationServer.java:540)
    at com.servoy.j2db.server.main.ApplicationServer.startServices(ApplicationServer.java:459)
    at com.servoy.j2db.server.main.Zaj.Za(Zaj.java:50)
    at com.servoy.j2db.server.main.Zaj.start(Zaj.java:61)
    at com.servoy.eclipse.exporter.apps.common.AbstractWorkspaceExporter.initializeApplicationServer(AbstractWorkspaceExporter.java:596)
    at com.servoy.eclipse.exporter.apps.common.AbstractWorkspaceExporter.start(AbstractWorkspaceExporter.java:160)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:627)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1431)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1403)

I trtied upgrading to the latest build but no succes

History

#1

Updated by Patrick Talbot 2 months ago

Yes, I'm aware of the issue with the changes of the javax.servlet package into jakarta.servlet and will release a new version very soon.

There will be a need for 2 different zip packages for the plugin though, because most people are still (and will be for a while) on Servoy < 2025.09 and Tomcat < 10 and I can't just break backward compatibility like that.

I'm preparing a v4.0 at the moment, and along with the regular distribution, I will prepare a packaged distribution for this jakarta related change.

#2

Updated by Patrick Talbot 2 months ago

  • Priority changed from Urgent to Normal
#3

Updated by Patrick Talbot 2 months ago

  • Status changed from New to Resolved

See the Velocity-Jakarta-v4.0.zip release, compiled for Servoy 2025.09+/Tomcat 10+ in the Files section

Also available in: Atom PDF