Hi, I'm getting a null pointer exception while trying to get my portlet ResourceBundle in my init method:
Caused by: java.lang.NullPointerException at org.jboss.portal.portlet.plugins.language.ResourceBundles.get(ResourceBundles.java:107) at org.jboss.portal.portlet.impl.PortletConfigImpl.getResourceBundle(PortletConfigImpl.java:61) at org.portletbridge.portlet.PortletBridgePortlet.init(PortletBridgePortlet.java:104) at org.jboss.portal.portlet.PortletContainer.initPortlet(PortletContainer.java:221) at org.jboss.portal.portlet.PortletContainer.start(PortletContainer.java:129) The code in question looks like this: public void init(PortletConfig config) throws PortletException { this.config = config ResourceBundle resourceBundle = config.getResourceBundle(Locale .getDefault()); This is so that I can internationalize any exceptions I get during initialization (localised to the VM). Any suggestions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882458#3882458 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882458 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user