The Promotion Manager (PMX) Segments Screen Throws Java Exception and Becomes Unusable

(Doc ID 1352005.1)

Last updated on FEBRUARY 06, 2018

Applies to:

Oracle Communications Network Charging and Control - Version: 3.2.0 to 4.4.0 - Release: 3.2.0 to 4.4
Information in this document applies to any platform.


The Promotion Management  GUI (PMX) has a Segments screen that allows user to drag logical grouping nodes and segment fragment nodes onto a canvas to create a Promotion Expression which defines the constraints for a subscriber to receive a promotion.

It generally works as mentioned in documentation, but there are cases where the Java console spits exceptions, and some of the segment fragment nodes stop working altogether.

Following is an example of Java exception, which can be generated when trying to add a product type to a blank canvas

Exception occurred during event dispatching:
java.lang.ClassCastException: javax.swing.tree.DefaultMutableTreeNode cannot
be cast to com.eservglobal.ccs.pmx.components.ExpressionNode
at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(Unknown
at Source)
at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at Source)

A screen-shot for Java exception is shown below:


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