Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 381483 - Unnecessary exception thrown from org.eclipse.equinox.bidi.internal.STextTypesCollector.read()
Summary: Unnecessary exception thrown from org.eclipse.equinox.bidi.internal.STextType...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Components (show other bugs)
Version: 3.8.0 Juno   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: Juno SR2   Edit
Assignee: Oleg Besedin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-03 03:35 EDT by Ira Fishbein CLA
Modified: 2012-10-24 14:36 EDT (History)
6 users (show)

See Also:


Attachments
Patch for org.eclipse.equinox.bidi plugin (970 bytes, patch)
2012-06-03 05:11 EDT, Ira Fishbein CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ira Fishbein CLA 2012-06-03 03:35:23 EDT
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)
Comment 1 Ira Fishbein CLA 2012-06-03 05:11:46 EDT
Created attachment 216731 [details]
Patch for org.eclipse.equinox.bidi plugin

Please find attached patch with solution for the problem
Ira
Comment 2 Oleg Besedin CLA 2012-06-05 11:08:48 EDT
Thank you for patch Ira! I'll try to put it into 4.2.1.
Comment 3 Thomas Watson CLA 2012-09-05 10:38:33 EDT
Oleg, I am moving this to SR2.  Please speak up if you think this is important to push into SR1 at this point.