Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent.AdfRichInputNumberSpinbox In Tuhra2 - Chapter 19 Part VI

(Doc ID 1116573.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle JDeveloper - Version: 11.1.1.3.0 and later   [Release: No Release Description and later ]
Information in this document applies to any platform.

Symptoms

In JDeveloper 11.1.1.3.0, you get the following error when running the Tuhra2 application
(Chapter 19, part IV):
Assertion failed: Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent.AdfRichInputNumberSpinbox [oracle.adf.RichInputNumberSpinbox] id=pt1:r1:0:it2
StackTrace:
anonymous(x217)
[AdfRichInputNumberSpinbox [oracle.adf.RichInputNumberSpinbox] id=pt1:r1:0:it2]
anonymous(x246)
[AdfRichInputNumberSpinbox [oracle.adf.RichInputNumberSpinbox] id=pt1:r1:0:it2]
anonymous()
anonymous(x59)
[AdfRichSelectOneChoice [oracle.adf.RichSelectOneChoice] id=pt1:r1:0:soc1,AdfRichInputNumberSpinbox [oracle.adf.RichInputNumberSpinbox] id=pt1:r1:0:it2]
anonymous(ownerWindow,scriptText)
[[object Window],AdfPage.PAGE.addComponents(new AdfRichSelectOneChoice('pt1:r1:0:soc1',{'label':'Department','autoSubmit':true}),new AdfRichInputNumberSpinbox('pt1:r1:0:it2',{'stepSize':0.01,'minimum':0,'maximum':0.5,'converter':new TrNumberConverter(null,'percent',null,null,false,false,null,null,null,null,null,null)}));AdfPage.PAGE.clearMessages();AdfPage.PAGE.clearSubtreeMessages('pt1:r1:0:it2');AdfPage.PAGE.clearSubtreeMessages('pt1:r1:0:soc1');]
anonymous(x843)
[[object Element]]
anonymous(x730,x731,x732,x733,x734)
[[object Element],true,(empty),(empty),[object Object]]
anonymous(x712,x713)
[[object XMLDocument],[object Object]]
anonymous(x617)
[AdfDataTransferRequestEvent Object, status=4, context=[object Object], request=AdfXMLRequest Object completionState:4]
anonymous(x7,x8)
[AdfDhtmlPage Object,AdfDataTransferRequestEvent Object, status=4, context=[object Object], request=AdfXMLRequest Object completionState:4]
anonymous(x83)
[AdfXMLRequest Object completionState:4]
anonymous(x87)
[AdfXMLRequest Object completionState:4]
anonymous()
anonymous()
[[object Event]]

NB: "anonymous" is output with Firefox; the same error appears in IE, with "function" instead.


The issue can be reproduced with the following steps:
  1. Download the Tuhra2 sample application for Chapter 19 - Part IV
    URL: https://tuhra2.samplecode.oracle.com/zips/C19-V.zip
  2. Run "templateTest.jspx"
  3. The page opens, showing Employee 174 (Ellen Abel), from Department "Sales"
  4. Change her department to any non sales department, f.ex. "Operations"
  5. Change her department back to "Sales";  you get the error

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