Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 176305

Summary: DBCS3.3: jface errors caused by ICU
Product: [Eclipse Project] Platform Reporter: Masayuki Fuse <fuse>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: camle, kitlo, steven.wasleski, Tod_Creasey, yoshito_umaoka
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Masayuki Fuse CLA 2007-03-04 05:25:27 EST
I'm getting occasional JFace errors in general operation. It looks like ICU's error. Scenario below is blocking plug-in project creation.
WindowsXP English doesn't have this error.

steps to recreate
1. File > New Project > Plug-in Project, Next
2. enter plug-in project, Next twice
3. click Hello, World

Result
error pop up, here is the details.

eclipse.buildId=I20070222-0951
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP
Framework arguments:  -launcher C:\work\IES33\M5\eclipse\eclipse.exe -name Eclipse -startup C:\work\IES33\M5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
Command-line arguments:  -os win32 -ws win32 -arch x86 -launcher C:\work\IES33\M5\eclipse\eclipse.exe -name Eclipse -startup C:\work\IES33\M5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar

Error
Sun Mar 04 18:53:58 JST 2007
Problems occurred when invoking code from plug-in: "org.eclipse.jface".

java.util.MissingResourceException: java.util.MissingResourceException: Can't find resource for bundle com.ibm.icu.impl.ICUResourceBundleImpl$ResourceTable, key line
	at com.ibm.icu.text.BreakIteratorFactory.createBreakInstance(BreakIteratorFactory.java:129)
	at com.ibm.icu.text.BreakIteratorFactory.createBreakIterator(BreakIteratorFactory.java:68)
	at com.ibm.icu.text.BreakIterator.getBreakInstance(BreakIterator.java:721)
	at com.ibm.icu.text.BreakIterator.getLineInstance(BreakIterator.java:505)
	at com.ibm.icu.text.BreakIterator.getLineInstance(BreakIterator.java:478)
	at org.eclipse.ui.internal.forms.widgets.TextSegment.computeTextFragments(TextSegment.java:703)
	at org.eclipse.ui.internal.forms.widgets.TextSegment.advanceLocator(TextSegment.java:263)
	at org.eclipse.ui.internal.forms.widgets.Paragraph.computeRowHeights(Paragraph.java:128)
	at org.eclipse.ui.internal.forms.widgets.Paragraph.layout(Paragraph.java:147)
	at org.eclipse.ui.forms.widgets.FormText$FormTextLayout.layout(FormText.java:339)
	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:987)
	at org.eclipse.swt.widgets.Composite.layout(Composite.java:531)
	at org.eclipse.swt.widgets.Composite.layout(Composite.java:496)
	at org.eclipse.swt.widgets.Composite.layout(Composite.java:466)
	at org.eclipse.ui.forms.widgets.FormText.setText(FormText.java:670)
	at org.eclipse.ui.forms.widgets.ScrolledFormText.loadText(ScrolledFormText.java:156)
	at org.eclipse.ui.forms.widgets.ScrolledFormText.setText(ScrolledFormText.java:126)
	at org.eclipse.pde.internal.ui.parts.FormBrowser.setText(FormBrowser.java:75)
	at org.eclipse.pde.internal.ui.wizards.BaseWizardSelectionPage.setDescriptionText(BaseWizardSelectionPage.java:50)
	at org.eclipse.pde.internal.ui.wizards.WizardListSelectionPage.selectionChanged(WizardListSelectionPage.java:132)
	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:850)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:52)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:153)
	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2004)
	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1137)
	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1163)
	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:227)
	at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:221)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:388)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3490)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3104)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:116)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3490)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3104)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2264)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2103)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:452)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:101)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:146)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
	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:476)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1124)
Comment 1 Eric Moffatt CLA 2007-03-05 11:14:50 EST
I'm unclear as to how to proceed with this defect. Mr. Yoshito, could you check if this is actually an ICU defect (as opposed to a translation or Dialog coding error) and provide some input? 

Thank You
Comment 2 Yoshito Umaoka CLA 2007-03-05 12:14:52 EST
This is a defect of ICU4J 3.6 plug-in included in eclipse 3.3 M5.  The problem was originally reported by https://bugs.eclipse.org/bugs/show_bug.cgi?id=174248.

I have a fix in hand and now working on the next ICU4J code drop with the platform team.
Comment 3 Cam-Thu Le CLA 2007-03-05 13:14:13 EST
When will ICU4J 3.6.1 available for adoption into eclipse 3.3 ? 
Comment 4 Eric Moffatt CLA 2007-03-07 15:42:22 EST
Thanks to all for the quick response. I'll mark this as a dup of the original defect.


*** This bug has been marked as a duplicate of bug 174248 ***
Comment 5 Masayuki Fuse CLA 2007-04-24 02:14:12 EDT
this error is not reproducible in N20070423-0010 which now bundles icu 3.6.1.
Comment 6 Masayuki Fuse CLA 2007-05-08 03:10:33 EDT
passed regression in M7. closing