Problem using Arabic script in "Quick Find"

Hello, When I enter right-to-left text (in my case Arabic) in the "quick find" entry field, it works fine the first time, but afterwards it is no longer possible to use the quick find function and an error console with the following message is displayed: [ AWT-EventQueue-0 ] - java.lang.IllegalArgumentException: offset out of bounds java.lang.IllegalArgumentException: offset out of bounds at java.text.RuleBasedBreakIterator.checkOffset(RuleBasedBreakIterator.java:724) at java.text.RuleBasedBreakIterator.preceding(RuleBasedBreakIterator.java:772) at javax.swing.text.GlyphView.getBreakSpotUseBreakIterator(GlyphView.java:805) at javax.swing.text.GlyphView.getBreakSpot(GlyphView.java:734) at javax.swing.text.GlyphView.getBreakWeight(GlyphView.java:669) at javax.swing.text.FlowView$LogicalView.getPreferredSpan(FlowView.java:708) at javax.swing.text.FlowView.calculateMinorAxisRequirements(FlowView.java:216) at javax.swing.text.BoxView.checkRequests(BoxView.java:918) at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:551) at javax.swing.plaf.basic.BasicTextUI$RootView.getMinimumSpan(BasicTextUI.java:1356) at javax.swing.plaf.basic.BasicTextUI.getMinimumSize(BasicTextUI.java:932) at javax.swing.JComponent.getMinimumSize(JComponent.java:1712) at java.awt.FlowLayout.minimumLayoutSize(FlowLayout.java:448) at java.awt.Container.minimumSize(Container.java:1668) at java.awt.Container.getMinimumSize(Container.java:1653) at javax.swing.JComponent.getMinimumSize(JComponent.java:1714) at com.jidesoft.action.E.D(Unknown Source) at com.jidesoft.action.E.minimumLayoutSize(Unknown Source) at com.jidesoft.action.CommandBar$_A.minimumLayoutSize(Unknown Source) at java.awt.Container.minimumSize(Container.java:1668) at java.awt.Container.getMinimumSize(Container.java:1653) at javax.swing.JComponent.getMinimumSize(JComponent.java:1714) at com.jidesoft.action.F.E(Unknown Source) at com.jidesoft.action.F.invalidateLayout(Unknown Source) at java.awt.Container.invalidate(Container.java:1455) at javax.swing.JComponent.revalidate(JComponent.java:4787) at com.jidesoft.action.D.B(Unknown Source) at com.jidesoft.action.D.A(Unknown Source) at com.jidesoft.action.K.A(Unknown Source) at com.jidesoft.action.DefaultDockableBarManager.A(Unknown Source) at com.jidesoft.action.DefaultDockableBarManager.dockDockableBar(Unknown Source) at com.jidesoft.action.DefaultDockableBarManager.A(Unknown Source) at com.jidesoft.action.DefaultDockableBarManager.A(Unknown Source) at com.jidesoft.action.DefaultDockableBarManager.J(Unknown Source) at com.jidesoft.action.DefaultDockableBarManager.showDockableBar(Unknown Source) at ro.sync.exml.MainFrame$10$1.run(Unknown Source) at ro.sync.ui.a$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) --- This does not occur using normal find (Ctrl-F), so there is an easy workaround ;) Thanks, François Charette

Thank you for reporting the error. It is strange that the error starts with the second use of the Quick Find toolbar. We will look into this problem of the Oxygen support for right-to-left text. Regards, Sorin Firmicus wrote:
Hello,
When I enter right-to-left text (in my case Arabic) in the "quick find" entry field, it works fine the first time, but afterwards it is no longer possible to use the quick find function and an error console with the following message is displayed:
[ AWT-EventQueue-0 ] - java.lang.IllegalArgumentException: offset out of bounds java.lang.IllegalArgumentException: offset out of bounds at java.text.RuleBasedBreakIterator.checkOffset(RuleBasedBreakIterator.java:724) at java.text.RuleBasedBreakIterator.preceding(RuleBasedBreakIterator.java:772) at javax.swing.text.GlyphView.getBreakSpotUseBreakIterator(GlyphView.java:805) at javax.swing.text.GlyphView.getBreakSpot(GlyphView.java:734) at javax.swing.text.GlyphView.getBreakWeight(GlyphView.java:669) at javax.swing.text.FlowView$LogicalView.getPreferredSpan(FlowView.java:708) at javax.swing.text.FlowView.calculateMinorAxisRequirements(FlowView.java:216) at javax.swing.text.BoxView.checkRequests(BoxView.java:918) at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:551) at javax.swing.plaf.basic.BasicTextUI$RootView.getMinimumSpan(BasicTextUI.java:1356) at javax.swing.plaf.basic.BasicTextUI.getMinimumSize(BasicTextUI.java:932) at javax.swing.JComponent.getMinimumSize(JComponent.java:1712)
participants (2)
-
Firmicus
-
Sorin Ristache