facebook

[Closed] Strange Function Key Behaviour

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #243151 Reply

    Barry McLeer
    Member

    Hi,

    This is probably something completely stupid that I just cannot see, but my function keys are not working correctly in myeclipse any more. I can hit ctrl-F11 to run the last launched project, but if I hit F11 to debug the last launched application myeclipse shuts down. Also, in debug, I cannot use any of the function keys (f5, f6, etc) to step though/out of/over code. This has only started happening in the last few days so I figure I must have changed some setting, but I can’t seem to find what it is. Anybody got any ideas?

    What operating system and version are you running?
    XP Pro

    What Eclipse version and build id are you using? (Help > About Eclipse Platform)
    Version: 3.1.0
    Build id: I20050627-1435

    – Was Eclipse freshly installed for MyEclipse?
    Yep

    – If not, was it upgraded to its current version using the update manager?
    No

    – Are any other external plugins installed?
    No

    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
    4

    What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
    Version: 4.0.1
    Build id: 20050930-4.0.1-GA

    What JDK version are you using to run Eclipse? (java -version)
    1.5.0_01

    What JDK version are you using to launch your application server?
    1.4.2_05

    What steps did you take that resulted in the issue?
    Hit function key.

    What application server are you using?
    Weblogic 8.1

    Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
    Yep, here it is:

    
    !ENTRY org.eclipse.core.resources 2 10035 2005-12-15 13:58:30.716
    !MESSAGE A workspace crash was detected. The previous session did not exit normally.
    
    !ENTRY org.eclipse.jface 4 2 2005-12-15 14:06:27.195
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    !STACK 0
    java.lang.ArrayIndexOutOfBoundsException: 0
        at org.eclipse.jst.j2ee.internal.common.ClasspathModel.initializeComponent(ClasspathModel.java:100)
        at org.eclipse.jst.j2ee.internal.common.ClasspathModel.setProject(ClasspathModel.java:94)
        at org.eclipse.jst.j2ee.internal.JARDependencyPropertiesPage.initialize(JARDependencyPropertiesPage.java:102)
        at org.eclipse.jst.j2ee.internal.JARDependencyPropertiesPage.createContents(JARDependencyPropertiesPage.java:174)
        at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)
        at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1371)
        at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:1138)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
        at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1132)
        at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:351)
        at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:638)
        at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
        at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)
        at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1042)
        at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1062)
        at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:231)
        at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:226)
        at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:392)
        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:3057)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
        at org.eclipse.jface.window.Window.open(Window.java:787)
        at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
        at org.eclipse.ui.internal.ide.actions.ProjectPropertyDialogAction.run(ProjectPropertyDialogAction.java:76)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        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.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)
    

    thanks,

    barry

    #243155

    Scott Anderson
    Participant

    Barry,

    While the log entry looks a little disconcerting, I don’t think it’s related to the issue you’re seeing. Were the function keys working properly and then just “went bad”? Did something change (JVM, install new stuff, update, etc) prior to this happening? The issue might be that the Eclipse plugin cache got stale as it sometimes does not cleanly rebuild after updates. To rectify the problem you’ll need to restart Eclipse with the -clean flag one time: eclipse.exe -clean

    That might resolve the problem. Other than that, we need to determine what changed and if the issue is isolated to one file, one project, one workspace, or occurs in other workspaces / projects / files.

    #243160

    Barry McLeer
    Member

    Scott,

    I didn’t think the error had anything to do with it, but it was the only error in there so I figured I would post it.

    Yes, the function keys were working, and then ‘went bad’. I’m not sure what changed. I haven’t updated the jvm, or installed any new stuff.

    I tried restarting with the -clean flag yesterday with no luck. I just tried again with no luck.

    The issue is not isolated to one file, one project, or even one workspace.

    barry

    #243212

    Barry McLeer
    Member

    Just did a reinstall and everything is back to normal. Not sure what the issue was, but I am just happy that it has been resolved.

    thanks,

    barry

    #243214

    Scott Anderson
    Participant

    Barry,

    Very odd. Truthfully, I’ve had an install of Eclipse “go bad” as well. And it was my dev instance of Eclipse without MyEclipse installed. I did the same as you to fix it. Big hammer, but it works. 🙂

    Glad you’re back up and running.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: [Closed] Strange Function Key Behaviour

You must be logged in to post in the forum log in