java.util.MissingResourceException: Can't find bundle for base name atlassian-plugin, locale en_US

Atlassian JIRA | Eli Bishop | 5 years ago
  1. 0

    After putting a valid license into License Enforced Test Plugin, enabling it give me this error. !https://img.skitch.com/20120114-ju2cfhcpsyrjc2gdx9tsria94t.jpg! My system is unusable after I got this error! !https://img.skitch.com/20120114-j3qducb1cp472kqcg22syf2rbd.jpg! {noformat} Jan 13, 2012 3:02:50 PM com.sun.jersey.server.impl.application.WebApplicationImpl onException SEVERE: Internal server error java.util.MissingResourceException: Can't find bundle for base name atlassian-plugin, locale en_US 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 com.atlassian.bamboo.utils.i18n.DefaultI18nBean.getPluginBundles(DefaultI18nBean.java:228) at com.atlassian.bamboo.utils.i18n.DefaultI18nBean.getPluginBundles(DefaultI18nBean.java:246) at com.atlassian.bamboo.utils.i18n.DefaultI18nBean.<init>(DefaultI18nBean.java:69) at com.atlassian.bamboo.utils.i18n.I18nBeanFactoryImpl.getI18nBean(I18nBeanFactoryImpl.java:59) at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy154.getI18nBean(Unknown Source) at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) {noformat}

    Ecosystem JIRA | 5 years ago | Ryan Talusan
    java.util.MissingResourceException: Can't find bundle for base name atlassian-plugin, locale en_US
  2. 0

    If a plugin declares an {{<i18n>}} module that refers to a nonexistent properties bundle, Bamboo's implementation of I18nBean will throw the following exception every time you try to get any i18n string: {code} java.util.MissingResourceException: Can't find bundle for base name atlassian-plugin, locale en_US 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 com.atlassian.bamboo.utils.i18n.DefaultI18nBean.getPluginBundles(DefaultI18nBean.java:228) at com.atlassian.bamboo.utils.i18n.DefaultI18nBean.getPluginBundles(DefaultI18nBean.java:246) at com.atlassian.bamboo.utils.i18n.DefaultI18nBean.<init>(DefaultI18nBean.java:69) at com.atlassian.bamboo.utils.i18n.I18nBeanFactoryImpl.getI18nBean(I18nBeanFactoryImpl.java:59) {code} This happens not just for the plugin's own code, but any time any other plugin tries to get an i18n string, thus making Bamboo unusable. It shouldn't be so easy for a bad plugin to break the system. This appears to be Bamboo-specific; the other apps seem to ignore the error. The simplest way to reproduce this is to create a plugin that doesn't have any i18n properties files at all, but that has this element in its atlassian-plugin.xml: {code} <resource type="i18n" name="i18n" location="nonexistent"/> {code} (Originally filed this as [UPM-1643|https://studio.atlassian.com/browse/UPM-1643])

    Atlassian JIRA | 5 years ago | Eli Bishop [Atlassian]
    java.util.MissingResourceException: Can't find bundle for base name atlassian-plugin, locale en_US
  3. 0

    If a plugin declares an {{<i18n>}} module that refers to a nonexistent properties bundle, Bamboo's implementation of I18nBean will throw the following exception every time you try to get any i18n string: {code} java.util.MissingResourceException: Can't find bundle for base name atlassian-plugin, locale en_US 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 com.atlassian.bamboo.utils.i18n.DefaultI18nBean.getPluginBundles(DefaultI18nBean.java:228) at com.atlassian.bamboo.utils.i18n.DefaultI18nBean.getPluginBundles(DefaultI18nBean.java:246) at com.atlassian.bamboo.utils.i18n.DefaultI18nBean.<init>(DefaultI18nBean.java:69) at com.atlassian.bamboo.utils.i18n.I18nBeanFactoryImpl.getI18nBean(I18nBeanFactoryImpl.java:59) {code} This happens not just for the plugin's own code, but any time any other plugin tries to get an i18n string, thus making Bamboo unusable. It shouldn't be so easy for a bad plugin to break the system. This appears to be Bamboo-specific; the other apps seem to ignore the error. The simplest way to reproduce this is to create a plugin that doesn't have any i18n properties files at all, but that has this element in its atlassian-plugin.xml: {code} <resource type="i18n" name="i18n" location="nonexistent"/> {code} (Originally filed this as [UPM-1643|https://studio.atlassian.com/browse/UPM-1643])

    Atlassian JIRA | 5 years ago | Eli Bishop
    java.util.MissingResourceException: Can't find bundle for base name atlassian-plugin, locale en_US
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Fix GoIntentionsBundle classpath loading issue.

    GitHub | 4 years ago | mtoader
    java.util.MissingResourceException: Can't find bundle for base name ro.redeul.google.go.intentions.GoIntentionsBundle , locale en_US
  6. 0

    java.util.MissingResourceException when using jasperreport 5.2.0 within an plugin project

    Stack Overflow | 3 years ago | user2807869
    java.util.MissingResourceException: Can't find bundle for base name hwreport, locale en_US

  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 atlassian-plugin, locale en_US

    at java.util.ResourceBundle.throwMissingResourceException()
  2. Java RT
    ResourceBundle.getBundle
    1. java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
    2. java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
    3. java.util.ResourceBundle.getBundle(ResourceBundle.java:952)
    3 frames
  3. com.atlassian.bamboo
    I18nBeanFactoryImpl.getI18nBean
    1. com.atlassian.bamboo.utils.i18n.DefaultI18nBean.getPluginBundles(DefaultI18nBean.java:228)
    2. com.atlassian.bamboo.utils.i18n.DefaultI18nBean.getPluginBundles(DefaultI18nBean.java:246)
    3. com.atlassian.bamboo.utils.i18n.DefaultI18nBean.<init>(DefaultI18nBean.java:69)
    4. com.atlassian.bamboo.utils.i18n.I18nBeanFactoryImpl.getI18nBean(I18nBeanFactoryImpl.java:59)
    4 frames