java.util.MissingResourceException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • mule-module-validation when deployed as app-plugin (extension) it is not able to access its i18n resource bundle. h5. Problem Resource is not accessible due to org.mule.runtime.core.config.i18n.MessageFactory.getBundlePath() uses dot characters instead of slash characters. Exception: {code} Root Exception stack trace: java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.runtime.core.i18n.validation-messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387) at java.util.ResourceBundle.getBundle(ResourceBundle.java:1082) at org.mule.extension.validation.internal.ValidationMessages.getBundle(ValidationMessages.java:68) at org.mule.runtime.core.config.i18n.MessageFactory.getString(MessageFactory.java:198) at org.mule.runtime.core.config.i18n.MessageFactory.createMessage(MessageFactory.java:113) at org.mule.runtime.core.config.i18n.MessageFactory.createMessage(MessageFactory.java:64) at org.mule.extension.validation.internal.ValidationMessages.invalidEmail(ValidationMessages.java:132) {code} h5. Proposed solution * To use slash instead of dot character for referencing to i18n resources due to they are exported as folders in MessageFactory * Export the i18n resource file using {code}@Export(resources = {"/META-INF/services/org/mule/runtime/core/i18n"}){code} annotation from Extensions API so it will be accessible from the plugin classloader
    via by Guillermo Fernandes,
  • mule-module-validation when deployed as app-plugin (extension) it is not able to access its i18n resource bundle. h5. Problem Resource is not accessible due to org.mule.runtime.core.config.i18n.MessageFactory.getBundlePath() uses dot characters instead of slash characters. Exception: {code} Root Exception stack trace: java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.runtime.core.i18n.validation-messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387) at java.util.ResourceBundle.getBundle(ResourceBundle.java:1082) at org.mule.extension.validation.internal.ValidationMessages.getBundle(ValidationMessages.java:68) at org.mule.runtime.core.config.i18n.MessageFactory.getString(MessageFactory.java:198) at org.mule.runtime.core.config.i18n.MessageFactory.createMessage(MessageFactory.java:113) at org.mule.runtime.core.config.i18n.MessageFactory.createMessage(MessageFactory.java:64) at org.mule.extension.validation.internal.ValidationMessages.invalidEmail(ValidationMessages.java:132) {code} h5. Proposed solution * To use slash instead of dot character for referencing to i18n resources due to they are exported as folders in MessageFactory * Export the i18n resource file using {code}@Export(resources = {"/META-INF/services/org/mule/runtime/core/i18n"}){code} annotation from Extensions API so it will be accessible from the plugin classloader
    via by Guillermo Fernandes,
  • Bundle Resolution for i18n fails
    via GitHub by dadepo
    ,
  • Error while inserting data to DB
    via Stack Overflow by Mohan
    ,
  • Web Service for an Oracle DB on a server
    via Stack Overflow by Feras
    ,
  • Error connecting to server via wlst
    via by 5e7e4bc5-f35f-4070-98db-f7e25afec383,
    • java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.runtime.core.i18n.validation-messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387) at java.util.ResourceBundle.getBundle(ResourceBundle.java:1082) at org.mule.extension.validation.internal.ValidationMessages.getBundle(ValidationMessages.java:68) at org.mule.runtime.core.config.i18n.MessageFactory.getString(MessageFactory.java:198) at org.mule.runtime.core.config.i18n.MessageFactory.createMessage(MessageFactory.java:113) at org.mule.runtime.core.config.i18n.MessageFactory.createMessage(MessageFactory.java:64) at org.mule.extension.validation.internal.ValidationMessages.invalidEmail(ValidationMessages.java:132)

    Users with the same issue

    MoYapro
    2 times, last one,
    Unknown visitor1 times, last one,
    thiago.santos
    6 times, last one,
    rp
    8 times, last one,
    Juraji
    2 times, last one,
    24 more bugmates