java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.runtime.core.i18n.validation-messages, locale en_US

MuleSoft JIRA | Guillermo Fernandes | 6 months ago
  1. 0

    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

    MuleSoft JIRA | 6 months ago | Guillermo Fernandes
    java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.runtime.core.i18n.validation-messages, locale en_US
  2. 0

    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

    MuleSoft JIRA | 6 months ago | Guillermo Fernandes
    java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.runtime.core.i18n.validation-messages, locale en_US
  3. 0

    Bundle Resolution for i18n fails

    GitHub | 2 years ago | dadepo
    java.util.MissingResourceException: Can't find bundle for base name messages, locale en_US
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error while inserting data to DB

    Stack Overflow | 3 months ago | Mohan
    java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.i18n.db-messages, locale en_US
  6. 0

    Getting exception when default messages_en_US is missing

    GitHub | 2 years ago | surajchhetry
    java.util.MissingResourceException: Can't find bundle for base name messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) [rt.jar:1.8.0_11]

  1. MoYapro 2 times, last 1 month ago
  2. poroszd 1 times, last 6 months ago
  3. thiago.santos 6 times, last 7 months ago
  4. Bugger 3 times, last 8 months ago
  5. rp 8 times, last 8 months ago
1 more registered users
23 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    ResourceBundle.getBundle
    1. java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
    2. java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
    3. java.util.ResourceBundle.getBundle(ResourceBundle.java:1082)
    3 frames
  3. org.mule.extension
    ValidationMessages.getBundle
    1. org.mule.extension.validation.internal.ValidationMessages.getBundle(ValidationMessages.java:68)
    1 frame
  4. org.mule.runtime
    MessageFactory.createMessage
    1. org.mule.runtime.core.config.i18n.MessageFactory.getString(MessageFactory.java:198)
    2. org.mule.runtime.core.config.i18n.MessageFactory.createMessage(MessageFactory.java:113)
    3. org.mule.runtime.core.config.i18n.MessageFactory.createMessage(MessageFactory.java:64)
    3 frames
  5. org.mule.extension
    ValidationMessages.invalidEmail
    1. org.mule.extension.validation.internal.ValidationMessages.invalidEmail(ValidationMessages.java:132)
    1 frame