OSGi Runtime: Opening report design containing a chart with design session is failing #1151
-
With BIRT OSGi 4.10 I can not open a rptdesign containing a chart via the design session, because a MissingResourceException is thrown. Sample Code:
If the code is run, following error arises:
It seems that this error happens, because the library jar file ReportEngine/lib/chartitemapi.jar of BIRT 4.10 OSGi does not contain the file /org/eclipse/birt/chart/engine/i18n/nls.properties. With BIRT 4.8 everything is fine. Probably because the file is present in its ReportEngine/lib/chartitemapi.jar. Do you know why this fallback resource file is missing in BIRT 4.10? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I can confirm that the error is gone, if I provide the file /org/eclipse/birt/chart/engine/i18n/nls.properties manually. I'm sure this resource file has to be added to future BIRT releases again. |
Beta Was this translation helpful? Give feedback.
-
The properties file is not included in the jar. In all other similar cases, the properties file is included. I can't find any evidence that this was ever included but still, in 4.8 it is there. I have updated the build scripts to include the properties file for this package. |
Beta Was this translation helpful? Give feedback.
The properties file is not included in the jar. In all other similar cases, the properties file is included. I can't find any evidence that this was ever included but still, in 4.8 it is there.
I have updated the build scripts to include the properties file for this package.