I've written a small plugin for BIRT that provide some functions I can use in scripts in BIRT reports.
They run fine (using BIRT OSGi Runtime 4.6 and also 4.8 version on an AdoptOpenJDK jdk8u252-b09) on Ubuntu server 16.04 and 18.04 as well as on a Debian 10 desktop system.
But unfortunally I can not get them to run on Debian 10 & 11 server system as well on ubuntu server 20.04.
The report crashes and I see errors like this:
Error 2: There are errors evaluating script "this.text = MyTestPlugin.testFunction();": ReferenceError: "MyTestPlugin" is not defined. (/report/body/label[@id="6"]/method[@name="onCreate"]#1)
I've checked the system configurations, file ownerships and permissions over and over, but did not find the cause for this error.
It seems like the plugin does not get loaded correctly.
I wonder if others had similar problems and were able to fix them.
Maybe there is a dependency of OSGi or BIRT that the operating system has to provide?
I've written a small plugin for BIRT that provide some functions I can use in scripts in BIRT reports.
They run fine (using BIRT OSGi Runtime 4.6 and also 4.8 version on an AdoptOpenJDK jdk8u252-b09) on Ubuntu server 16.04 and 18.04 as well as on a Debian 10 desktop system.
But unfortunally I can not get them to run on Debian 10 & 11 server system as well on ubuntu server 20.04.
The report crashes and I see errors like this:
Error 2: There are errors evaluating script "this.text = MyTestPlugin.testFunction();": ReferenceError: "MyTestPlugin" is not defined. (/report/body/label[@id="6"]/method[@name="onCreate"]#1)I've checked the system configurations, file ownerships and permissions over and over, but did not find the cause for this error.
It seems like the plugin does not get loaded correctly.
I wonder if others had similar problems and were able to fix them.
Maybe there is a dependency of OSGi or BIRT that the operating system has to provide?