IBM Support

Error: 'Please define a Resolution Form for the Exception Type'

Troubleshooting


Problem

Error: 'Please define a Resolution Form for the Exception Type'

Symptom

Within the Configurator/Application Manager, under Platform --> Alert --> Exception Type --> Exception Type Details, we can configure the configuration form, resolution form and list form. These forms are supposed to be used by COM/SOM  to show custom forms for the Create Alert Page, Alert List Page, and Alert Resolution Page.

COM/SOM PCA is not able to find the resolution form mentioned in exception details and throws 'Please define a Resolution Form for the Exception Type' error.

Error Message

In COM/SOM PCA, error with following message comes up.

'Please define a Resolution Form for the Exception Type'

Stack Trace:

java.lang.ClassNotFoundException: Custom.ResolutionForm
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.yantra.pca.ycd.rcp.tasks.alertDetail.wizardpages.YCDAlertDetailPage1Behavior.createAlertTypePanel(YCDAlertDetailPage1Behavior.java:286)
at com.yantra.pca.ycd.rcp.tasks.alertDetail.wizardpages.YCDAlertDetailPage1Behavior.handleApiCompletion(YCDAlertDetailPage1Behavior.java:143)
at com.yantra.yfc.rcp.internal.YRCApiCaller.callHandleAPICompletion(YRCApiCaller.java:261)
at com.yantra.yfc.rcp.internal.YRCApiCaller.invokeCallbackHandler(YRCApiCaller.java:426)
at com.yantra.yfc.rcp.internal.YRCApiCaller$CallBackHandler$1.run(YRCApiCaller.java:78)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.yantra.yfc.rcp.YRCApplication.run(YRCApplication.java:149)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

Resolving The Problem

Resolution form mentioned in resolution form field in exception detail needs to registered; Then only it will be picked up.

Steps to register resolution form:

1. Open eclipse extensibility project.
2. Open plugin.xml in plugin manifest editor and go to dependencies tab.
3. In required plugin ins tab add com.yantra.pca.ycd.rcp plugin.
4. In NewPlugin.java (file where yuix file, theme file and commands file are registered)
         a.  import com.yantra.pca.ycd.rcp.exposed.YCDExtensionUtils;
         b.  Inside try block where yuix file is registered, register alert resolution form which is mentioned in exception detail page
YCDExtensionUtils.registerAlertResolutionForm("Custom.ResolutionForm", Custom.ResolutionForm.class);
5. Build project and launch COM client.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX8634

Product Synonym

[<p><b>]Function Area[</b><p>];Exception Type Resolution;[<p><b>]Severity[</b><p>];Normal

Document Information

Modified date:
16 June 2018

UID

swg21552529