ClassCastException When Editing "If Condition" Parameters in JDeveloper
(Doc ID 2174532.1)
Last updated on FEBRUARY 03, 2019
Applies to:Oracle Service Bus - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
When working in an OSB project, if you add an 'IF' action and then define that IF action as a condition, you can then define the parameters to evaluate accordingly with your process logic. But if you then try to edit the IF action, in the graphical editor the changes seem to be active, but if you analyze the template's code, nothing has been updated. You can also close and reopen the pipeline to see that no changes occurred in the IF action.
Steps to reproduce the problem:
1. Open an OSB project in JDev that contains a pipeline and an IF action
2. Open the pipeline
3. Open the existing IF action. Edit a value within the action and click OK.
4. Verify that the edit was not reflected in the pipeline's code. close and reopen the pipeline to see that the IF action remains with the original value
The following stack trace occurs when trying to open the pipeline:
Performing action (13) Save All [ from InspectorWindowImpl ] [ for ( IfEditDemo.pipeline, IfEditDemo.jpr, IfEditDemo.jws ) ]
Invoking command: [ from InspectorWindowImpl ] [ for ( IfEditDemo.pipeline, IfEditDemo.jpr, IfEditDemo.jws ) ]
Performing action (18) Copy [ from BugLogPage ] [ for ( <none>, IfEditDemo.jpr, IfEditDemo.jws ) ]
java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document