[V1.1.1-SNAPSHOT] MissingResourceException

Hi Beni,

I tried version 1.1.1-SNAPSHOT from the Maven repository and got the following error on startup.
It’s apparently looking for a French locale it did not found. Even though I have a French OS (Fedora 15), my application is fully internationalized and in English by default.

Kind regards,
Ben

Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name data.locale.text, locale fr_FR
	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
	at java.util.ResourceBundle.getBundle(ResourceBundle.java:952)
	at bibliothek.gui.DockController.createDefaultTextScheme(DockController.java:379)
	at bibliothek.gui.DockController.initiate(DockController.java:281)
	at bibliothek.gui.DockController.<init>(DockController.java:250)
	at bibliothek.gui.DockController.<init>(DockController.java:235)
	at bibliothek.gui.dock.common.intern.CDockController.<init>(CDockController.java:48)
	at bibliothek.gui.dock.common.intern.EfficientControlFactory.createController(EfficientControlFactory.java:49)
	at bibliothek.gui.dock.common.CControl.init(CControl.java:441)
	at bibliothek.gui.dock.common.CControl.<init>(CControl.java:419)
	at bibliothek.gui.dock.common.CControl.<init>(CControl.java:403)
	at bibliothek.gui.dock.common.CControl.<init>(CControl.java:348)
	at bibliothek.gui.dock.common.CControl.<init>(CControl.java:325)
	at org.previmer.bmgtools.core.view.View.<init>(View.java:188)
	at org.previmer.bmgtools.check.CheckBMGInitializer.initializeView(CheckBMGInitializer.java:214)
	at org.previmer.bmgtools.core.BMGTools.init(BMGTools.java:111)
	at org.previmer.bmgtools.CheckBMG.main(CheckBMG.java:41)

Ok, I’ll fix this ASAP.

The framework uses “Locale.getDefault” to select the language, but you can later use CControl.setLanguage to switch the language.

Seems to be an issue with the settings for maven. For a quick workaround you could use the snapshots that can be found on dock.javaforge.com.

Andrei is informed about the issue, I’m sure he’ll fix this or at least teaches me how to fix it.

Hi,

The problem happened again with the version 1.1.1-SNAPSHOT from the Maven repository and got the following error on startup. I use Ubuntu OS, version 10.10

Best Regards,
Benjamin

      	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
      	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
      	at java.util.ResourceBundle.getBundle(ResourceBundle.java:952)
      	at bibliothek.gui.DockController.createDefaultTextScheme(DockController.java:379)
      	at bibliothek.gui.DockController.initiate(DockController.java:281)
      	at bibliothek.gui.DockController.<init>(DockController.java:250)
      	at bibliothek.gui.DockController.<init>(DockController.java:235)
      	at bibliothek.gui.dock.common.intern.CDockController.<init>(CDockController.java:48)
      	at bibliothek.gui.dock.common.intern.EfficientControlFactory.createController(EfficientControlFactory.java:49)
      	at bibliothek.gui.dock.common.CControl.init(CControl.java:444)
      	at bibliothek.gui.dock.common.CControl.<init>(CControl.java:422)
      	at bibliothek.gui.dock.common.CControl.<init>(CControl.java:406)
      	at bibliothek.gui.dock.common.CControl.<init>(CControl.java:351)
      	at bibliothek.gui.dock.common.CControl.<init>(CControl.java:328)
      	at org.previmer.bmgtools.core.view.View.<init>(View.java:188)
      	at org.previmer.bmgtools.check.CheckBMGInitializer.initializeView(CheckBMGInitializer.java:228)
      	at org.previmer.bmgtools.core.BMGTools.init(BMGTools.java:117)
      	at org.previmer.bmgtools.CheckBMG.main(CheckBMG.java:41)

At the moment I simply don’t have the resources needed to fix this issue.

Please use the jar files from the website.