[#13901] - java.util.MissingResourceException: Can't find bundle for base name

Bug report
Project: Severity:
Component: Reproducibility:
Assigned to:

I have a problem with Resource Bundles.
Everytime I try to run a report in Jaspersoft Studio (from Vversion 6.16.0 on) I get the following error:

net.sf.jasperreports.engine.JRException: java.util.MissingResourceException: Can't find bundle for base name ApplicationResources, locale de_DE
at com.jaspersoft.studio.editor.preview.view.control.ReportController.fillReport(ReportController.java:553)
at com.jaspersoft.studio.editor.preview.view.control.ReportController.access$18(ReportController.java:528)
at com.jaspersoft.studio.editor.preview.view.control.ReportController$1.run(ReportController.java:446)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.util.MissingResourceException: Can't find bundle for base name ApplicationResources, locale de_DE
at java.base/java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.base/java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.base/java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.base/java.util.ResourceBundle.getBundle(Unknown Source)
at net.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundle(JRResourcesUtil.java:617)
at net.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundle(JRResourcesUtil.java:499)
at net.sf.jasperreports.engine.fill.JRFillDataset.loadResourceBundle(JRFillDataset.java:606)
at net.sf.jasperreports.engine.fill.JRFillDataset.setParameterValues(JRFillDataset.java:643)
at net.sf.jasperreports.engine.fill.BaseReportFiller.setParameters(BaseReportFiller.java:455)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:585)
at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:414)
at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:826)
at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:61)
at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:221)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

In Version 6.9.0 it works fine. From Version 6.16.0 on it doesn't work. The Upload of the reports including a Resource Bundle up to the Jasperserver doesn't work either. It just loads the report (jrxmls) and the parameters. The Resource Bundle is skipped and I have to add them by hand to the report on the Jasperserver.

Have I to add the Resource Bundle somewhere?

ckampshoff's picture
Joined: Sep 23 2009 - 6:25am
Last seen: 1 month 4 days ago


  • Status:New» Feedback Requested

can you please specify if you are having problems publishing a report to JRS with the latest 6.18.1 released?
Because I've tried on my machine and it worked fine, proposing the two properties files that get correctly uploaded. Moreover I can run the JRS report correctly from within Studio or JRS itself via browser.

If possible, share your sample report + properties file and/or register a screencast illustrating the issue.

Note: if you want to (re)force the .properties file publishing, be sure that the "Publish strategy" selected is "Overwrite".


Image icon publishingjrswithmessages.png203.66 KB
  • Status:Feedback Requested» New

thanks for your fast response.
If I run a report in Jaspersoft Studio 6.18.1, I get an error that the properties file can't be found. If I copy the properties file into the same folder in which the jrxml of the report is, everything works fine like Running the report in the Studio as well as uploading to the Server. But if I don't copy the Resource file into the reports folder, it doesn't work neither running the report in the Studio nor the uploading to the Server.
Have I to tell the Jaspersoft Studio somewhere in the preferences window where my Resource files are placed in the file system? I did it in "Jaspersoft Studio" -> Resource Folders Location" -> "Custom Visualisation".
Up to Version 6.15.0 everything works fine.
When I'm talking about problems at uploading to the Server, I mean by that that the properties files aren't shown up in the uploading window.

Kind regards


Attached you'll find the publishing window. Here only the Resource file is found which I copied in the reports folder. But I have 24 language properties files which I have to link to the report. By now I add every single link by hand.
In the older studio version I had all the resource files in the publishing window without copying the recourses in the report folder before.

Image icon applicationresource_problem.jpg19.2 KB
  • Status:New» Feedback Requested

Hi, I'm not sure why you are using the "Report Folders Location" thing. Are you actually playing with the Custom Visualization Component?
I don't understand if what you configured is really needed and maybe(?) creating strange side-effects.

Here in my short screencast I tried to reproduce a set of simple steps you might be able to replicate on your side to verify that the basics functionalities are working ok.
Can you please give a look at it and confirm you can something similar with a very simple report?
The video is the following one: https://www.youtube.com/watch?v=_AtxqZWSBw0

Just in case please register a screencast on your side illustrating all the steps that you are taking.
Anyhow as you can see in the video, I used the latest 6.18.1 version.



Hi, with "Report Folder Location" I mean the folder where my jrxml of the report is located.
I tried your littel test. If I put the properties files in the same folder like the jrxml of the report it works fine. If I put the properties files in a special folder, it doesn't work. And so the upload to the Jasperserver doesn't work either, because the studio doesn't find the properties files.
In my screenshot (test_for_properties) you see that when I put the properties files in the folder "TEST" everything works fine. If I delete them and only have them in the Test Resource folder it doesn't work. Even though I gave the right place in the "Resource Bundle" (see place_for_resource_bundle).
I try to place my test files in the attachment.
Kind regards


I use the 6.18.1.final version of the Jaspersoft studio

Image icon studio_version.jpg25.33 KB

Hi, one thing that I noticed looking at your sample and attached files is that the "resourceBundle" property for the JasperReports element is using "TestResource" as value. This seems to be influencing how the information are presented in the JRS publishing dialog. Can you please give it a try setting the proper name? Give a look to my screenshots attached to see the scenario I was able to reproduce locally on my dev environment.

I think I will have to talk with JR team guys in order to understand better and have a confirmation that this case-insensitiveness is fine.

Best regards,


Hi, if I test it like you said in your example, it works fine. Everything is shown in the upload window correctly. Even if the properties files are in a separate folder.
But why it doesn't work with my productiv data? It works for all Studio versions before, but suddenly it doesn't and I didn't change something about that files in my filesystem.
Have I to change some properties of my Jaspersoft studio that are copied from one version to the next version? Might that be the problem?
Kind regards


Hi Christina,
for sure the problem I explained in my previous comment is verifiable also in 6.17.0 build.
It appears to be somehow related to the fact that the filesystem is not case sensitive: in my case a MacOSX one. Therefore picking up a TestResource.properties file is the same as testresource.properties one.

The current publishing dialog is not behaving properly:
- it is proposing the "default" message file to be published with the name reflecting what is set in the JRXML code (property resourceBundle)
- it is missing the other localized properties files
I will try to check and fix this wrong behavior.

That said, it is still not totally clear to me what is your actual problem. I thought it was what I described in my comment above (case sensitive), but it seems not. Or only partially.
Can you please register a screencast of all your steps and what is happening when you try to publish? And also showing what is set for the resourceBundle property. Something similar to what I did in my linked Youtube recording. This also because you are saying "it works for all Studio versions before".



Hi Massimo,
my problem is that my old report which I craetd over years with properties files worked fine. The folder structure is shown in pic Ordnerstruktur.jpg. I worked with version 6.9.0 everything was okay. I started working with the latest version 6.18.1 and the internationalization doesn't work anymore. The studio doesn't find my resource files with the texts in there. The folder of the report looks like this pic geschr_LS.jpg. If I copy the main file (in my case ApplicationResource.properties) in the same folder as the report jrxml (see pic geschr_LS_und_ApplicationResource.jpg) it works. If I only try to use the properties file in my file system like before, it doesn't work. That is my problem. If I set up the test report with the test resources it works, but I don't know why my old reports aren't working.


Hi I can only assume that there were internal changes about how the JR Repository Service implementations are working. Therefore there is no more a similar resolution like it was in old version. I assume this kind of change occurred way before than 6.18.1, considering you are moving from a very old 6.9.0.

I will have to talk with the JR team as well to understand better what's going on and what should be the proper behavior (and expected reference), since we have implementations of this repository service and work on it was done in the past.

Does the relative reference to the message properties work fine? I mean something like ../../Resources Files/ApplicationResources



if I put in the relative reference like this "Resource Files/ApplicationResources" it works. If I use the complete path like this "Jasperserver Global/Resource Files/ApplicationResources" it doesn't work. Is this because the entry in the part "Resource Files" of the "My Reports" Section is used (see pic resource_files) instead of the Resource Files folder in my Working directory (see pic Ordnerstruktur)? Both Entries should have the same origin in my folder architecture.

Image icon resource_files.jpg16.57 KB
Image icon ordnerstruktur.jpg65.66 KB
  • Priority:Normal» Urgent
  • Status:Feedback Requested» New

Hello together,
I installed Jaspersoft Studio 6.19.1 on a complete new windows 11 PC. I don't use any old properties. I create a complete new Studio. Everything worked fine with the ApplicationResources. BUT today I installed the new version 6.20.0 on my computer and nothing works with the ApplicationResources! I'm only able to run reports in my Studio when I copy the ApplicationResource.properties files into the report folder I want to run. If I want to use the old version (6.19.1) it doesn't work anymore! Here I have to copy by now also the ApplicationResource.properties files into the report folder.
Is there any workaround for that or have I something to do between version 6.19.1 and 6.20.0?