× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Buck,
I found the file, and all the information appears to be correct, however, when I attempt to select a user action, nothing displays.
In the .log file, I have the following:
!ENTRY org.eclipse.ui 4 0 2010-03-18 11:46:28.093
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.rse.internal.useractions.ui.uda.SystemUDAResolvedTypes.addTypesToVector(Unknown Source)
at org.eclipse.rse.internal.useractions.ui.uda.SystemUDAResolvedTypes.getFileTypesForTypeName(Unknown Source)
at org.eclipse.rse.internal.useractions.ui.uda.SystemUDActionSubsystem.getFileTypesForTypeName(Unknown Source)
at org.eclipse.rse.internal.useractions.ui.uda.SystemUDActionSubsystem.resolveTypes(Unknown Source)
at org.eclipse.rse.internal.useractions.ui.uda.SystemUDActionSubsystem.meetsSelection(Unknown Source)
at org.eclipse.rse.internal.useractions.ui.uda.SystemUDActionSubsystem.addUserActions(Unknown Source)
at org.eclipse.rse.internal.useractions.api.ui.uda.SystemDynamicUserActionMenu.getContributionItems(Unknown Source)
at org.eclipse.ui.actions.CompoundContributionItem.getContributionItemsToFill(Unknown Source)
at org.eclipse.ui.actions.CompoundContributionItem.fill(Unknown Source)
at org.eclipse.jface.action.MenuManager.doItemFill(Unknown Source)
at org.eclipse.jface.action.MenuManager.update(Unknown Source)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(Unknown Source)
at org.eclipse.jface.action.MenuManager.access$1(Unknown Source)
at org.eclipse.jface.action.MenuManager$2.menuShown(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Unknown Source)
at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Decorations.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Unknown Source)
at org.eclipse.swt.widgets.Display.runPopups(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)

Any idea as to how to correct this?
The source type that I am attempting to use is .rpgle

The user actions file contains the following entries:
<?xml
version="1.0" encoding="UTF-8" ?>
- <Actionsrelease="7.1.1">
- <DomainName="Member"Type="Member">
- <ActionCollect="False"Enable="True"Name="Create RPGLE Program"Prompt="False"Refresh="False"RunEnv="normal"SingleSelection="False">
<FileTypes>RPGLE</FileTypes>
<Comment />
<Command>CRTBNDRPG PGM(&O/&N) SRCFILE(&L/&F) SRCMBR(&N)
OPTION(*EVENTF) DBGVIEW(*ALL) REPLACE(&R)</Command>
</Action>
- <ActionCollect="False"Enable="True"Name="Create RPGLE SQL Program"Prompt="False"Refresh="False"RunEnv="normal"SingleSelection="False">
<FileTypes>SQLRPGLE</FileTypes>
<Comment />
<Command>CRTSQLRPGI OBJ(&O/&N) SRCFILE(&L/&F) SRCMBR(&N)
OPTION(*EVENTF) REPLACE(&R) DBGVIEW(*SOURCE)</Command>
</Action>
- <ActionCollect="False"Enable="True"Name="Create CL Program"Prompt="False"Refresh="False"RunEnv="normal"SingleSelection="False">
<FileTypes>CLP</FileTypes>
<Comment>Create CL Program with OPTION(*SRCDBG)</Comment>
<Command>CRTCLPGM PGM(&O/&N) SRCFILE(&L/&F) SRCMBR(&N)
OPTION(*LSTDBG) REPLACE(&R)</Command>
</Action>
- <ActionCollect="False"Enable="True"Name="Create RPGLE SQL Module"Prompt="False"Refresh="False"RunEnv="normal"SingleSelection="False">
<FileTypes>SQLRPGLE</FileTypes>
<Comment />
<Command>CRTSQLRPGI OBJ(&O/&N) SRCFILE(&L/&F) SRCMBR(&N)
OBJTYPE(*MODULE) OPTION(*EVENTF) REPLACE(&R) DBGVIEW(*SOURCE)
COMPILEOPT('DBGVIEW(*ALL)')</Command>
</Action>
- <ActionCollect="False"Enable="True"Name="Create Bound CL Program"Prompt="False"Refresh="False"RunEnv="normal"SingleSelection="False">
<FileTypes>CLLE</FileTypes>
<Comment />
<Command>CRTBNDCL PGM(&O/&N) SRCFILE(&L/&F) SRCMBR(&N)
OPTION(*EVENTF) REPLACE(&R) DBGVIEW(*SOURCE)</Command>
</Action>
- <ActionCollect="False"Enable="True"Name="Create RPGLE Module"Prompt="False"Refresh="False"RunEnv="normal"SingleSelection="False">
<FileTypes>RPG</FileTypes>
<Comment />
<Command>CRTRPGMOD MODULE(&O/&N) SRCFILE(&L/&F) SRCMBR(&N)
OPTION(*EVENTF) DBGVIEW(*ALL) REPLACE(&R)</Command>
</Action>
- <ActionCollect="False"Enable="True"Name="Create Print File - 132"Prompt="False"Refresh="False"RunEnv="normal"SingleSelection="False">
<FileTypes>PRTF</FileTypes>
<Comment>Create 132 Col Print File</Comment>
<Command>CRTPRTF FILE(&O/&N) SRCFILE(&L/&F) SRCMBR(&N)
OPTION(*EVENTF) REPLACE(&R)</Command>
</Action>
- <ActionCollect="False"Enable="True"Name="Create Print File 198"Prompt="False"Refresh="False"RunEnv="normal"SingleSelection="False">
<FileTypes>PRTF</FileTypes>
<Comment>Create 198 Col Print File</Comment>
<Command>CRTPRTF FILE(&O/&N) SRCFILE(&L/&F) SRCMBR(&N)
OPTION(*EVENTF) PAGESIZE(66 198) CPI(15) REPLACE(&R)</Command>
</Action>
- <ActionCollect="False"Enable="True"Name="Create Print File - 80"Prompt="False"Refresh="False"RunEnv="normal"SingleSelection="False">
<FileTypes>PRTF</FileTypes>
<Comment />
<Command>CRTPRTF FILE(&O/&N) SRCFILE(&L/&F) SRCMBR(&N)
OPTION(*EVENTF) PAGESIZE(66 80) REPLACE(&R)</Command>
</Action>
- <ActionCollect="False"Enable="True"Name="Create Service Program
(R37FDQA)"Prompt="False"Refresh="False"RunEnv="normal"SingleSelection="False">
<FileTypes>CLLE RPGLE SQLRPGLE</FileTypes>
<Comment>Create Service Program</Comment>
<Command>CRTSRVPGM SRVPGM(R37FDQA/&N) MODULE(&N) EXPORT(*ALL) TEXT('S2K
Food System Inventory Service Program')</Command>
</Action>
</Domain>
</Actions>

Thanks,

Jeff Young
Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2
IBM Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3








________________________________
From: Buck <kc2hiz@xxxxxxxxx>
To: wdsci-l@xxxxxxxxxxxx
Sent: Wed, March 17, 2010 3:29:17 PM
Subject: Re: [WDSCI-L] HELP - Problem with User Actions in RDi 7.5

On 3/16/2010 4:42 PM, Jeff Young wrote:
When I attempt to select user actions, RDi either does not list anything (including the Work With User Actions) or just the Work With User Actions.
When I can get into the user actions, I see all of my actions defined correctly.
The .log file does indicate an error when I have this problem.
Is there a file or something that I can edit or even export from WDSc 7.0 that contains the User Actions?


<your workspace
folder>\RemoteSystemsConnections\<your-ID>\UserActions\ibm.files400\uda.xml
contains the XML that form your user actions on iSeries files. An
example looks like this:

<Action Collect="False" Enable="True" Name="cvtrpgsrcbuck"
Prompt="False" Refresh="True" RunEnv="normal" SingleSelection="False">
<FileTypes> RPG400</FileTypes>
<Comment/>
<Command>CVTRPGSRC FROMFILE(&amp;L/&amp;F) FROMMBR(&amp;N)
TOFILE(&amp;L/QRPGLESRC) TOMBR(&amp;N) LOGFILE(*NONE)</Command>
</Action>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.