Dlafata30 / transfer-on-lan

Automatically exported from code.google.com/p/transfer-on-lan
0 stars 0 forks source link

MissingResourceException #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sadly I get the exception below trying to run the program:
Exception in thread "main" java.util.MissingResourceException: Can't find 
bundle for base name lang/chaines, locale sv
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1539)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1278)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:805)
    at transfer_on_lan.Main.demarrer(Unknown Source)
    at transfer_on_lan.Main.main(Unknown Source)

Missing base class?
http://download.oracle.com/javase/tutorial/i18n/resbundle/concept.html

/Anders

Original issue reported on code.google.com by anders.m...@humanisterna.se on 4 Nov 2011 at 5:40

GoogleCodeExporter commented 9 years ago
Yes it was a missing base file. Solved by changing the filename 
chaines_en.properties to chaines.properties in the .jar files lang directory.

Original comment by anders.m...@humanisterna.se on 4 Nov 2011 at 6:07

GoogleCodeExporter commented 9 years ago
I can't reproduce this error on Linux and Windows. Can you specify the Java 
version and OS you use.

Arno

Original comment by arno.of....@gmail.com on 4 Nov 2011 at 9:13

GoogleCodeExporter commented 9 years ago
Thanks for your response!

As You probably saw it was an locale-issue. I�m in Sweden and here is no 
swedish locale file.
changing the filename chaines_en.properties to chaines.properties in the 
lang directory solves this error since chaines.properties is then the 
base property file that is used as fall-back for all locales not fr or de.
Se further the link: 
http://download.oracle.com/javase/tutorial/i18n/resbundle/concept.html

After changing the file name everything worked!

Good luck with your excellent project!

Anders M

transfer-on-lan@googlecode.com skrev 2011-11-04 22:13:

Original comment by anders.m...@humanisterna.se on 6 Nov 2011 at 4:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I think the problem is resolved with the release 0.4.4. Can you test ?

Arno

Original comment by arno.of....@gmail.com on 11 Nov 2011 at 8:35

GoogleCodeExporter commented 9 years ago
Yes!
0.4.4 Works even in Sweden :)

Thanks!

Original comment by anders.m...@humanisterna.se on 12 Nov 2011 at 1:59

GoogleCodeExporter commented 9 years ago

Original comment by arno.of....@gmail.com on 22 Apr 2013 at 3:22