| Summary: | [Forms] Help > Software Updates > Manage Configuration will fail. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Atsuhiko Yamanaka <ymnk> | ||||
| Component: | User Assistance | Assignee: | platform-ua-inbox <platform-ua-inbox> | ||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P3 | CC: | jeffmcaffer, Karice_McIntyre, kim.moir | ||||
| Version: | 3.3 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Atsuhiko Yamanaka
Jeff, Kim, this seems like an ICU issue. Any ideas? I have no idea. Karice is familiar with icu4j. I have found that this problem does not occur on 3.3M4, but 3.3M5 and 3.3M6 have it.
And also, I have found that I can not open 'plugin.xml' file on 3.3M6 due to similar icu4j error.
I guess that the problem has come from org.eclipse.ui.forms and almost of all plug-ins which depend
on org.eclipse.ui.forms will not work on 3.3M6. It is nightmare.
I have checked the source code of org.eclipse.ui.forms and, from my understanding,
this problem must depend on the locale.
In the method 'org.eclipse.ui.internal.forms.widgets.TextSegment.computeTextFragments' has
defined
as follows,
private void computeTextFragments(GC gc) {
if (textFragments != null)
return;
ArrayList list = new ArrayList();
BreakIterator wb = BreakIterator.getLineInstance();
wb.setText(getText());
According to the stack-trace, the exception has been thrown from 'BreakIterator.getLineInstance()' and it has defined as follows,
public static BreakIterator getLineInstance(){
return getLineInstance(ULocale.getDefault());
}
I'm living in Japan and the value 'ULocale.getDefault()' must be different from US environment.
Created attachment 62995 [details]
a really ad-hoc patch to work around this problem.
By applying attached patch, the problem has disappeared, but it is too ad-hoc. We should wait for
the response from ui.forms or icu4j team.
Still, this sounds like an ICU issue, just happens to be caused by Forms invocation. Karice? There is a problem with ICU4J 3.6.0 running in Japanese - see bug 174248. This appears to be a dup of that bug. I will also mention we are waiting for IP clearance for ICU4J 3.6.1, which will fix the problem. See bug 174991 *** This bug has been marked as a duplicate of bug 174248 *** |