Community
Participate
Working Groups
org.eclipse.equinox.bidi.internal.STextTypesCollector.read() method throws unnecessary exception !ENTRY org.eclipse.equinox.bidi 4 1 2012-06-03 11:30:43.186 !MESSAGE BiDi types: unexpected element name typeDescription !STACK 0 java.lang.IllegalArgumentException at org.eclipse.equinox.bidi.internal.STextTypesCollector.read(STextTypesCollector.java:91) at org.eclipse.equinox.bidi.internal.STextTypesCollector.getHandler(STextTypesCollector.java:65) at org.eclipse.equinox.bidi.STextTypeHandlerFactory.getHandler(STextTypeHandlerFactory.java:132) at org.eclipse.equinox.bidi.advanced.STextExpertFactory.getExpert(STextExpertFactory.java:95) at org.eclipse.ui.internal.ide.dialogs.ResourceInfoPage$2.getSegments(ResourceInfoPage.java:324) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) at org.eclipse.swt.widgets.Text.applySegments(Text.java:469) at org.eclipse.swt.widgets.Text.setText(Text.java:2231) at org.eclipse.ui.internal.ide.dialogs.ResourceInfoPage.createBasicInfoGroup(ResourceInfoPage.java:341) at org.eclipse.ui.internal.ide.dialogs.ResourceInfoPage.createContents(ResourceInfoPage.java:471) at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232) at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1502) at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1259) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
Created attachment 216731 [details] Patch for org.eclipse.equinox.bidi plugin Please find attached patch with solution for the problem Ira
Thank you for patch Ira! I'll try to put it into 4.2.1.
Oleg, I am moving this to SR2. Please speak up if you think this is important to push into SR1 at this point.
The patch looks good. I released it into the master branch: http://git.eclipse.org/c/equinox/rt.equinox.bundles.git/commit/?id=3d32621b5ef0bb863049d06f9af4859d3fcbcec1 and R3_8_maintenance branch: http://git.eclipse.org/c/equinox/rt.equinox.bundles.git/commit/?h=R3_8_maintenance&id=a1bb87656f16a6b06bd756db52ec73f4d3173db2 Thanks Ira!