× 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.



Hi Mike,

This is most definitely a bug in the RPG content assist.  The next time
this problem occurs, please email me the following information (offline) at
batthish@xxxxxxxxxx:
1. Your source member
2. the line of code, and where you pressed Ctrl+Space
3. The XML file used by content assist for that member which can be found
in:
workspace\.metadata\.plugins\com.ibm.etools.iseries.core\information

thanks,

Violaine Batthish
WebSphere Development Studio Client, IBM Toronto Lab


wdsci-l-bounces@xxxxxxxxxxxx wrote on 09/22/2006 09:30:53 AM:

It happened several times then started working again. I don't remember
what
lines of code I was editing, but here are the log entries:

!ENTRY org.eclipse.ui 4 4 Sep 21, 2006 14:43:39.61
!MESSAGE The command for the key you pressed failed

!ENTRY org.eclipse.ui 4 0 Sep 21, 2006 14:43:39.61
!MESSAGE The command for the key you pressed failed
!STACK 0
java.lang.StringIndexOutOfBoundsException
    at java.lang.String.charAt(String.java:373)
    at
com.ibm.etools.iseries.editor.codeassist.base.
ISeriesEditorCodeAssistProcessor.getCharAt(Unknown
Source)
    at
com.ibm.etools.iseries.editor.codeassist.rpgle.
ISeriesEditorRPGILECodeAssistProcessor.findFunctionalForParams(Unknown
Source)
    at
com.ibm.etools.iseries.editor.codeassist.rpgle.
ISeriesEditorRPGILECodeAssistProcessor.getPrototypeMatches(Unknown
Source)
    at
com.ibm.etools.iseries.editor.codeassist.rpgle.
ISeriesEditorRPGILECodeAssistProcessor.processFreeForm(Unknown
Source)
    at
com.ibm.etools.iseries.editor.codeassist.rpgle.
ISeriesEditorRPGILECodeAssistProcessor.getProposalMatches(Unknown
Source)
    at
com.ibm.etools.iseries.editor.codeassist.base.
ISeriesEditorCodeAssistProcessor.computeCompletionProposals(Unknown
Source)
    at
com.ibm.lpex.alef.contentassist.ContentAssistant.
computeCompletionProposals(Unknown
Source)
    at
com.ibm.lpex.alef.contentassist.CompletionProposalPopup.
computeProposals(Unknown
Source)
    at com.ibm.lpex.alef.contentassist.CompletionProposalPopup.
access$400(Unknown
Source)
    at
com.ibm.lpex.alef.contentassist.CompletionProposalPopup$1.run(Unknown
Source)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
    at com.ibm.lpex.alef.contentassist.CompletionProposalPopup.
showProposals(Unknown
Source)
    at
com.ibm.lpex.alef.contentassist.ContentAssistant.showProposals(Unknown
Source)
    at
com.ibm.lpex.alef.contentassist.ContentAssistant.
showPossibleCompletions(Unknown
Source)
    at com.ibm.lpex.alef.LpexSourceViewer.doOperation(Unknown Source)
    at org.eclipse.ui.texteditor.TextOperationAction$1.run(Unknown
Source)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
    at org.eclipse.ui.texteditor.TextOperationAction.run(Unknown Source)
    at org.eclipse.jface.action.Action.runWithEvent(Unknown Source)
    at org.eclipse.ui.commands.ActionHandler.execute(Unknown Source)
    at org.eclipse.ui.internal.commands.Command.execute(Unknown Source)
    at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(Unknown
Source)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(Unknown
Source)
    at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(Unknown
Source)
    at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.
filterKeySequenceBindings(Unknown
Source)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(Unknown
Source)
    at
org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(Unknown
Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.filterEvent(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.sendKeyEvent(Unknown Source)
    at org.eclipse.swt.widgets.Control.sendKeyEvent(Unknown Source)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Unknown Source)
    at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
    at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(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.createAndRunWorkbench(Unknown
Source)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
    at org.eclipse.ui.internal.ide.IDEApplication.run(Unknown Source)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown
Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(
EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(
EclipseStarter.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

On 9/22/06, Violaine Batthish <batthish@xxxxxxxxxx> wrote:

Hi Mike,

This suggests that a content assist error occured.  Where you editing
RPG?
Do you have any errors in your .log file?

thanks,

Violaine Batthish
WebSphere Development Studio Client, IBM Toronto Lab



wdsci-l-bounces@xxxxxxxxxxxx wrote on 09/21/2006 03:50:36 PM:

In WDSC, I all of the sudden started getting the error message "The
command
for the key you pressed failed" when I hit Control+Space to prompt. I
found
no messages in the list and found one in Google (
https://bugs.eclipse.org/bugs/show_bug.cgi?id=91357). Any ideas? I
have
restarted WDSc.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.