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



I've had that same thing happen while editing JSP pages.  The right hand 
side of the editor fills up with yellow and red error bars and WDSC just 
decides it's done...  then I can go back and open the jsp page again after 
WDSC crashes, and I can end up with half the code changed.  Once I get 
that command for the key you pressed failed (mostly the delete key, but 
not the backspace key) I know that whatever I'm working on is done for so 
I save right away and shut down and reboot.  I've had this happen a lot to 
be honest when working on jsp pages, I'm willing to send logs if someone 
wishes me too and tell me what they want.

Ron Power
Programmer
Information Services
City Of St. John's, NL
P.O. Box 908
St. John's, NL
A1C 5M2
709-576-8132
rpower@xxxxxxxxxx
http://www.stjohns.ca/
___________________________________________________________________________
Success is going from failure to failure without a loss of enthusiasm. - 
Sir Winston Churchill




Mike <koldark@xxxxxxxxx> 
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
2006/09/22 11:00 AM
Please respond to
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>


To
"Websphere Development Studio Client for iSeries" <wdsci-l@xxxxxxxxxxxx>
cc

Subject
Re: [WDSCI-L] "The command for the key you pressed failed"






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.

--
Mike Wills
http://mikewills.name - Blog
http://theriverbendpodcast.com - Podcast
--
This is the Websphere Development Studio Client for iSeries  (WDSCI-
L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

--
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.





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.