https://issues.apache.org/bugzilla/show_bug.cgi?id=52279

             Bug #: 52279
           Summary: Switching to another language loses icons in Tree and
                    logs error Can't obtain GUI class from
                    org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler
           Product: JMeter
           Version: Nightly (Please specify date)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 28020
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28020
Test plan to reproduce issue

Scenario:
- Start in French language with attached test plan
- Switch to english

I lose icons at left of each Tree node and I get in jmeter.log:
2011/12/03 16:21:39 INFO  - jmeter.util.JMeterUtils: Setting Locale to en 
2011/12/03 16:21:39 WARN  - jmeter.gui.tree.JMeterTreeNode: getIcon(): Can't
obtain GUI class from org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler 
2011/12/03 16:21:39 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not
found: [org.apache.jmeter.control.gui.switchcontrollergui]
java.util.MissingResourceException: Can't find resource for bundle
java.util.PropertyResourceBundle, key
org.apache.jmeter.control.gui.switchcontrollergui
    at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
    at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    at
org.apache.jmeter.util.JMeterUtils.getResStringDefault(JMeterUtils.java:466)
    at org.apache.jmeter.util.JMeterUtils.getResString(JMeterUtils.java:428)
    at
org.apache.jmeter.gui.util.JMeterMenuBar.updateMenuElement(JMeterMenuBar.java:616)
    at
org.apache.jmeter.gui.util.JMeterMenuBar.updateMenuElement(JMeterMenuBar.java:626)
    at
org.apache.jmeter.gui.util.JMeterMenuBar.updateMenuElement(JMeterMenuBar.java:626)
    at
org.apache.jmeter.gui.util.JMeterMenuBar.updateMenuElement(JMeterMenuBar.java:626)
    at
org.apache.jmeter.gui.util.JMeterMenuBar.updateMenuElement(JMeterMenuBar.java:626)
    at
org.apache.jmeter.gui.util.JMeterMenuBar.updateMenuElement(JMeterMenuBar.java:626)
    at
org.apache.jmeter.gui.util.JMeterMenuBar.updateMenuElement(JMeterMenuBar.java:626)
    at
org.apache.jmeter.gui.util.JMeterMenuBar.localeChanged(JMeterMenuBar.java:574)
    at
org.apache.jmeter.util.JMeterUtils.notifyLocaleChangeListeners(JMeterUtils.java:413)
    at org.apache.jmeter.util.JMeterUtils.setLocale(JMeterUtils.java:377)
    at
org.apache.jmeter.gui.action.ChangeLanguage.doAction(ChangeLanguage.java:59)
    at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
    at org.apache.jmeter.gui.action.ActionRouter.access$0(ActionRouter.java:68)
    at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:638)
    at java.awt.EventQueue$1.run(EventQueue.java:636)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

....

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to