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

MuleSoft JIRA | Quoc Le | 10 years ago
  1. 0

    The ant builds from all Examples projects do not package resources properly (they do not grab stuff from resources/META-INF). This seemed fine in 1.3.3 w/o the resource bundles being there, but I guess things have changed in 1.4. This was a problem even before the fixes for MULE-1439. Here's the error at runtime when using an examples project jar built using ant: Exception stack is: 1. Can't find bundle for base name META-INF.services.org.mule.i18n.hello-example-messages, locale en_US (java.util.MissingResourceException) java.util.ResourceBundle:836 (http://java.sun.com/j2se/1.5.0/docs/api/java/util/MissingResourceException.html) 2. Object "org.mule.samples.hello.ChitChatter org.mule.umo.manager.ObjectNotFoundException: Object "org.mule.samples.hello.ChitChatter" not found in container; java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.i18n.hello-example-messages, locale en_US" not found in container (org.mule.umo.manager.ObjectNotFoundException) org.mule.impl.container.MultiContainerContext:151 (http://mule.mulesource.org/docs/apidocs/org/mule/umo/manager/ObjectNotFoundException.html) ******************************************************************************** Root Exception stack trace: java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.i18n.hello-example-messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805) at java.util.ResourceBundle.getBundle(ResourceBundle.java:576) at org.mule.config.i18n.Messages.getBundle(Messages.java:183) at org.mule.config.i18n.Messages.getString(Messages.java:154) at org.mule.config.i18n.Messages.get(Messages.java:108) at org.mule.config.i18n.Message.<init>(Message.java:102) at org.mule.samples.hello.ChitChatter.<init>(ChitChatter.java:27) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.mule.impl.container.MuleContainerContext.getComponent(MuleContainerContext.java:55) at org.mule.impl.container.MultiContainerContext.getComponent(MultiContainerContext.java:109) at org.mule.impl.model.ComponentFactory.createComponent(ComponentFactory.java:55) at org.mule.config.pool.AbstractProxyFactory.create(AbstractProxyFactory.java:51) at org.mule.config.pool.CommonsPoolProxyFactory.makeObject(CommonsPoolProxyFactory.java:67) at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840) at org.mule.config.pool.CommonsPoolProxyPool.borrowObject(CommonsPoolProxyPool.java:111) at org.mule.impl.model.seda.SedaComponent.initialisePool(SedaComponent.java:186) at org.mule.impl.model.seda.SedaComponent.doStart(SedaComponent.java:253) at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:232) at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:204) at org.mule.impl.model.AbstractModel.start(AbstractModel.java:323) at org.mule.MuleManager.start(MuleManager.java:900) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:250) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:211) at org.mule.MuleServer.initialize(MuleServer.java:290) at org.mule.MuleServer.run(MuleServer.java:203) at org.mule.MuleServer.start(MuleServer.java:191) at org.mule.MuleServer.main(MuleServer.java:162) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) at java.lang.Thread.run(Thread.java:595) ******************************************************************************** ERROR 2007-04-09 10:59:02,661 [WrapperSimpleAppMain] org.mule.MuleServer: ******************************************************************************** * A Fatal error has occurred while the server was running: * * Can't find bundle for base name * * META-INF.services.org.mule.i18n.hello-example-messages, locale en_US * * (java.util.MissingResourceException) * * * * The error is fatal, the system must shutdown * * Server started: 4/9/07 10:59 AM * * Server shutdown: Mon Apr 09 10:59:02 PDT 2007 * ********************************************************************************

    MuleSoft JIRA | 10 years ago | Quoc Le
    java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.i18n.hello-example-messages, locale en_US
  2. 0

    The ant builds from all Examples projects do not package resources properly (they do not grab stuff from resources/META-INF). This seemed fine in 1.3.3 w/o the resource bundles being there, but I guess things have changed in 1.4. This was a problem even before the fixes for MULE-1439. Here's the error at runtime when using an examples project jar built using ant: Exception stack is: 1. Can't find bundle for base name META-INF.services.org.mule.i18n.hello-example-messages, locale en_US (java.util.MissingResourceException) java.util.ResourceBundle:836 (http://java.sun.com/j2se/1.5.0/docs/api/java/util/MissingResourceException.html) 2. Object "org.mule.samples.hello.ChitChatter org.mule.umo.manager.ObjectNotFoundException: Object "org.mule.samples.hello.ChitChatter" not found in container; java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.i18n.hello-example-messages, locale en_US" not found in container (org.mule.umo.manager.ObjectNotFoundException) org.mule.impl.container.MultiContainerContext:151 (http://mule.mulesource.org/docs/apidocs/org/mule/umo/manager/ObjectNotFoundException.html) ******************************************************************************** Root Exception stack trace: java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.i18n.hello-example-messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805) at java.util.ResourceBundle.getBundle(ResourceBundle.java:576) at org.mule.config.i18n.Messages.getBundle(Messages.java:183) at org.mule.config.i18n.Messages.getString(Messages.java:154) at org.mule.config.i18n.Messages.get(Messages.java:108) at org.mule.config.i18n.Message.<init>(Message.java:102) at org.mule.samples.hello.ChitChatter.<init>(ChitChatter.java:27) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.mule.impl.container.MuleContainerContext.getComponent(MuleContainerContext.java:55) at org.mule.impl.container.MultiContainerContext.getComponent(MultiContainerContext.java:109) at org.mule.impl.model.ComponentFactory.createComponent(ComponentFactory.java:55) at org.mule.config.pool.AbstractProxyFactory.create(AbstractProxyFactory.java:51) at org.mule.config.pool.CommonsPoolProxyFactory.makeObject(CommonsPoolProxyFactory.java:67) at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840) at org.mule.config.pool.CommonsPoolProxyPool.borrowObject(CommonsPoolProxyPool.java:111) at org.mule.impl.model.seda.SedaComponent.initialisePool(SedaComponent.java:186) at org.mule.impl.model.seda.SedaComponent.doStart(SedaComponent.java:253) at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:232) at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:204) at org.mule.impl.model.AbstractModel.start(AbstractModel.java:323) at org.mule.MuleManager.start(MuleManager.java:900) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:250) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:211) at org.mule.MuleServer.initialize(MuleServer.java:290) at org.mule.MuleServer.run(MuleServer.java:203) at org.mule.MuleServer.start(MuleServer.java:191) at org.mule.MuleServer.main(MuleServer.java:162) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) at java.lang.Thread.run(Thread.java:595) ******************************************************************************** ERROR 2007-04-09 10:59:02,661 [WrapperSimpleAppMain] org.mule.MuleServer: ******************************************************************************** * A Fatal error has occurred while the server was running: * * Can't find bundle for base name * * META-INF.services.org.mule.i18n.hello-example-messages, locale en_US * * (java.util.MissingResourceException) * * * * The error is fatal, the system must shutdown * * Server started: 4/9/07 10:59 AM * * Server shutdown: Mon Apr 09 10:59:02 PDT 2007 * ********************************************************************************

    MuleSoft JIRA | 10 years ago | Quoc Le
    java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.i18n.hello-example-messages, locale en_US
  3. 0

    java.util.MissingResourceException: Can't find bundle for base name com.elsevier.agreement.AgreementResourceBundle, locale en_US

    Stack Overflow | 6 years ago | savita
    java.util.MissingResourceException: Can't find bundle for base name com.elsevier.agreement.AgreementResourceBundle, locale en_US
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Launch the page setup dialog... BOOM. java.util.MissingResourceException: Can't find bundle for base name /org/pentaho/reporting/engine/classic/core/modules/gui/print/messages/messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805) at java.util.ResourceBundle.getBundle(ResourceBundle.java:576) at org.pentaho.reporting.libraries.base.util.ResourceBundleSupport.<init>(ResourceBundleSupport.java:100) at org.pentaho.reporting.engine.classic.core.modules.gui.print.PageSetupDialog.init(PageSetupDialog.java:247) at org.pentaho.reporting.engine.classic.core.modules.gui.print.PageSetupDialog.<init>(PageSetupDialog.java:236) at org.pentaho.reporting.designer.core.actions.report.PageSetupAction.actionPerformed(PageSetupAction.java:77) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:334) at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95) at java.awt.MenuItem.processActionEvent(MenuItem.java:597) at java.awt.MenuItem.processEvent(MenuItem.java:556) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286) at java.awt.EventQueue.dispatchEvent(EventQueue.java:466) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Pentaho BI Platform Tracking | 7 years ago | Kurtis Cruzada
    java.util.MissingResourceException: Can't find bundle for base name /org/pentaho/reporting/engine/classic/core/modules/gui/print/messages/messages, locale en_US
  6. 0

    Exception in thread "main" java.util.MissingResourceException: Can't find

    Oracle Community | 9 years ago | 843810
    java.util.MissingResourceException: Can't find bundle for base name LabelsBundle, locale fr

  1. MoYapro 2 times, last 2 months 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.i18n.hello-example-messages, locale en_US

    at java.util.ResourceBundle.throwMissingResourceException()
  2. Java RT
    ResourceBundle.getBundle
    1. java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
    2. java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
    3. java.util.ResourceBundle.getBundle(ResourceBundle.java:576)
    3 frames
  3. Mule Core
    Message.<init>
    1. org.mule.config.i18n.Messages.getBundle(Messages.java:183)
    2. org.mule.config.i18n.Messages.getString(Messages.java:154)
    3. org.mule.config.i18n.Messages.get(Messages.java:108)
    4. org.mule.config.i18n.Message.<init>(Message.java:102)
    4 frames
  4. org.mule.samples
    ChitChatter.<init>
    1. org.mule.samples.hello.ChitChatter.<init>(ChitChatter.java:27)
    1 frame
  5. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    5. java.lang.Class.newInstance0(Class.java:350)
    6. java.lang.Class.newInstance(Class.java:303)
    6 frames
  6. org.mule.impl
    ComponentFactory.createComponent
    1. org.mule.impl.container.MuleContainerContext.getComponent(MuleContainerContext.java:55)
    2. org.mule.impl.container.MultiContainerContext.getComponent(MultiContainerContext.java:109)
    3. org.mule.impl.model.ComponentFactory.createComponent(ComponentFactory.java:55)
    3 frames
  7. Mule Core
    CommonsPoolProxyFactory.makeObject
    1. org.mule.config.pool.AbstractProxyFactory.create(AbstractProxyFactory.java:51)
    2. org.mule.config.pool.CommonsPoolProxyFactory.makeObject(CommonsPoolProxyFactory.java:67)
    2 frames
  8. Commons Pool
    GenericObjectPool.borrowObject
    1. org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840)
    1 frame
  9. Mule Core
    CommonsPoolProxyPool.borrowObject
    1. org.mule.config.pool.CommonsPoolProxyPool.borrowObject(CommonsPoolProxyPool.java:111)
    1 frame
  10. org.mule.impl
    AbstractModel.start
    1. org.mule.impl.model.seda.SedaComponent.initialisePool(SedaComponent.java:186)
    2. org.mule.impl.model.seda.SedaComponent.doStart(SedaComponent.java:253)
    3. org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:232)
    4. org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:204)
    5. org.mule.impl.model.AbstractModel.start(AbstractModel.java:323)
    5 frames
  11. Mule Core
    MuleServer.main
    1. org.mule.MuleManager.start(MuleManager.java:900)
    2. org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:250)
    3. org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:211)
    4. org.mule.MuleServer.initialize(MuleServer.java:290)
    5. org.mule.MuleServer.run(MuleServer.java:203)
    6. org.mule.MuleServer.start(MuleServer.java:191)
    7. org.mule.MuleServer.main(MuleServer.java:162)
    7 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  13. Java Service Wrapper
    WrapperSimpleApp.run
    1. org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
    1 frame
  14. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame