Frm-92100 Error When Trying To Save A Discrepancy (Doc ID 1335780.1)

Last updated on AUGUST 22, 2011

Applies to:

Oracle Clinical - Version: 4.6.0 and later   [Release: 4.6 and later ]
Information in this document applies to any platform.

Symptoms

ISSUE:
--------
FRM-92100 updating <any> Comment field in a discrepancy. In the java console the following stack is reported:

java.lang.StringIndexOutOfBoundsException: String index out of range: 24
at java.lang.String.substring(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextField.scrollSelectionIntoView(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.select(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.select(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.setCaretPosition(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.setCaretPosition(Unknown Source)
at oracle.forms.ui.delegates.VCommonTextDelegate.setProperty(Unknown Source)
at oracle.forms.ui.delegates.VTextFieldDelegate.setProperty(Unknown Source)
at oracle.forms.ui.VTextField.setProperty(Unknown Source)
at oracle.forms.handler.TextComponentItem.onUpdate(Unknown Source)
at oracle.forms.handler.TextFieldItem.onUpdate(Unknown Source)
at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)



STEPS TO REPRODUCE:
------------------------------
* Connect to OC
* Go to Conduct > Data Validation > Discrepancy Database.
* Execute query.
* Focus on the first record retrieved
* Go to Comment, then Control+E.
* Update the comment, make sure in the text entered has multiple lines (Line Feed CHR(10)))
* Save.
* Go to the same Comment field, , then Control+E.
* Remove all the text, and add a new one. Click OK -----> FRM-92100

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms