Did this article resolve your question/issue?


Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025



Unable to add any trigger to widgets.

« Go Back


Article Number000067859
EnvironmentProduct: OpenEdge
Version: 11.6
OS: Windows
Other: Progress Developer Studio for OpenEdge (PDS for OE)
Question/Problem Description
Clicking on Add Trigger in the pull-down menu for an ABL widget fails to open the Add Trigger dialog.

Developer Studio switches from UI to source editor but the Add Trigger dialog is not shown.

Using the AppBuilder perspective in Progress Developer Studio for OpenEdge.
Steps to Reproduce
Clarifying Information
Example where clicking on Add Trigger in the pull-down menu for an ABL browse widget, jumps directly to the source editor, instead of displaying the Add Trigger pop-up window.

1)  Open Progress Developer Studio for OpenEdge (PDS for OE).
2)  Create an OpenEdge project.
3)  Click File->New->Other->Progress OpenEdge->AppBuilder->ABL UI Design.
4)  Select Window from the UI Design options.
5)  Click Finish.
6)  Connect a database to the project.
7)  From the palette (right side of PDS for OE, select Browse from the list of Widgets.

ABL UI Design with Browse widget selected

8)  Select a table from the database connected to the project.
9)  Add one or more fields from the table.
10) Right click on the browse widget.
11) Select Add Trigger from the pull-down menu.

Select Add Trigger from the pull-down menu for the browse widget

If successful, the Add Trigger pop-up menu appears.

On success the Add Trigger pop-up menu appears

If this problem occurs, the Add Trigger pop-up menu does not appear. The source editor appears instead.

on error source editor menu appears

When the problem occurs, a NullPointerException is seen in the .log file in the .metadata directory of the PDS for OE project.
Error Message!ENTRY com.openedge.pdt.oestudio 4 20001 2016-03-17 14:00:57.791
!MESSAGE An internal error occurred
at com.openedge.pdt.text.wizards.WidgetDataProvider.updateViewOption(
at com.openedge.pdt.text.wizards.WidgetDataProvider.updateViewOptions(
at com.openedge.pdt.text.wizards.WidgetDataProvider.addFrameWidgets(
at com.openedge.pdt.text.wizards.WidgetDataProvider.getWidgets(
at com.openedge.pdt.text.actions.editor.AddTrigger.doActualWork(
at com.openedge.pdt.oestudio.input.handler.AddTriggerInputHandler.doProcessRequest(
at com.openedge.pdt.oestudio.input.handler.AbstractABLInputCommand$
at org.eclipse.ui.internal.UILockListener.doPendingWork(
at org.eclipse.ui.internal.UISynchronizer$
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
at org.eclipse.swt.widgets.Display.runAsyncMessages(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(
Defect/Enhancement NumberDefect PSC00346128
The problem occurs if a Text widget is present in the window. Removing the Text widget(s) avoids the problem. Why the Text widget causes this behaviour is currently unknown.
Upgrade to 11.7.
If the project needs to be built with OpenEdge 11.6.x, upgrade to 11.6.4.

After upgrading, a new project should be created and sources should be moved from the original project to the new project. The Add Trigger pop-up will appear when selected.
Option #1
Remove any Text widgets from the affected window.
Replace them with FILL-IN widgets configured with:
- No-Label,
- and an Initial Value set to the desired text.

Option #2
Create a new dummy window, use the wizard to generate the required code and copy that to the failing window, including the preprocessor directives (&...).

Option #3
Use the classic Appbuilder to create the trigger and re-open the file in the PDSOE.
Last Modified Date11/21/2017 2:33 PM