Uploaded image for project: 'i2b2 Core Software'
  1. i2b2 Core Software
  2. CORE-22

i2b2 workplace cell not working with different locale

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 1.5.00-RC1
    • None
    • VM Image, Workplace Cell
    • None
    • VMware 1.5 RC1, workbench 1.5 RC1

    Description

      workplace throwing exception assuming on all other locales than en_US:

      in this case de_DE:

      java.util.MissingResourceException: Can't find bundle for base name Workplace, locale de_DE
      at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
      at java.util.ResourceBundle.getBundleImpl(Unknown Source)
      at java.util.ResourceBundle.getBundle(Unknown Source)
      at edu.harvard.i2b2.eclipse.plugins.workplace.util.Messages.<clinit>(Messages.java:20)
      at edu.harvard.i2b2.eclipse.plugins.workplace.ws.WorkplaceRequestData.getMessageHeader(WorkplaceRequestData.java:64)
      at edu.harvard.i2b2.eclipse.plugins.workplace.ws.GetFoldersByProjectRequestMessage.doBuildXML(GetFoldersByProjectRequestMessage.java:91)
      at edu.harvard.i2b2.eclipse.plugins.workplace.ws.WorkplaceServiceDriver.getHomeFoldersByProject(WorkplaceServiceDriver.java:96)
      at edu.harvard.i2b2.eclipse.plugins.workplace.views.TreeNode.updateFolders(TreeNode.java:324)
      at edu.harvard.i2b2.eclipse.plugins.workplace.views.TreeNode.getHomeFolders(TreeNode.java:304)
      at edu.harvard.i2b2.eclipse.plugins.workplace.views.NodeBrowser.populateRootNode(NodeBrowser.java:560)
      at edu.harvard.i2b2.eclipse.plugins.workplace.views.NodeBrowser.createTreeViewer(NodeBrowser.java:247)
      at edu.harvard.i2b2.eclipse.plugins.workplace.views.NodeBrowser.<init>(NodeBrowser.java:87)
      at edu.harvard.i2b2.eclipse.plugins.workplace.views.TreeComposite.populateControl(TreeComposite.java:35)
      at edu.harvard.i2b2.eclipse.plugins.workplace.views.TreeComposite.<init>(TreeComposite.java:27)
      at edu.harvard.i2b2.eclipse.plugins.workplace.views.WorkplaceView.createPartControl(WorkplaceView.java:80)
      at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:367)
      at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:226)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
      at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
      at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:529)
      at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
      at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
      at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
      at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
      at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
      at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
      at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:843)
      at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:829)
      at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:139)
      at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:133)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:270)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:279)
      at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
      at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:87)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
      at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3256)
      at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2045)
      at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:323)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at edu.harvard.i2b2.eclipse.Application.run(Application.java:135)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1311)


      and please maybe add 1.5rc1 to jira and update jira.
      thanks and greetings from germany
      l.r.

      Attachments

        Activity

          There are no comments yet on this issue.

          People

            mem61 Mike Mendis
            lreimann Lars Reimann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: