3.4.2: code completion suddenly messed up? [message #269939] |
Fri, 03 April 2009 04:10  |
Eclipse User |
|
|
|
Folks;
after starting my IDE this morning, it seems all of a sudden Java
code-completion in my plugin projects doesn't work anymore. Situation:
- Starting writing a type name and using CTRL+Space just leaves me with a
window showing "No default proposals" whereas, earlier, it used to show
matching types and, subsequently, adjust my imports correctly. Manually
writing the type name and using "organize imports" works however.
- Using a declared local variable, CTRL+Space just ends up with "No default
proposals" as well when trying to see what methods are available here.
Again, manually writing this down works.
Any hints on what possibly could be wrong? The workspaces .metadata/.log
doesn't provide any information on that. The only error I see in the IDE
Error log is as follows but I am not sure it is related to it. Restarting
with -clean didn't help either.
Comments, anyone?
Thanks in advance and best regards,
Kristian
....
org.eclipse.swt.SWTException: Device is disposed
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.widgets.Display.error(Display.java:1142)
at org.eclipse.swt.widgets.Display.asyncExec(Display.java:665)
at
org.eclipse.ui.internal.console.ConsoleDropDownAction.consol esRemoved(ConsoleDropDownAction.java:150)
at
org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifi er.run(ConsoleManager.java:154)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifi er.notify(ConsoleManager.java:174)
at
org.eclipse.ui.internal.console.ConsoleManager.fireUpdate(Co nsoleManager.java:262)
at
org.eclipse.ui.internal.console.ConsoleManager.removeConsole s(ConsoleManager.java:244)
at org.eclipse.team.svn.ui.console.SVNConsole.shutdown(SVNConso le.java:90)
at org.eclipse.team.svn.ui.SVNTeamUIPlugin.stop(SVNTeamUIPlugin .java:110)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleContextImpl.java:1050)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1046)
at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWork er(BundleHost.java:457)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.susp end(AbstractBundle.java:531)
at
org.eclipse.osgi.framework.internal.core.Framework.suspendBu ndle(Framework.java:1104)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:655)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:312)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:257)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.suspen d(SystemBundle.java:236)
at
org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:678)
at org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:576)
at org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.jav a:41)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:424)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Eclipse version:
Eclipse SDK
Version: 3.4.2
Build id: M20090211-1700
|
|
|
Re: 3.4.2: code completion suddenly messed up? [message #269941 is a reply to message #269939] |
Fri, 03 April 2009 05:10  |
Eclipse User |
|
|
|
Kristian Rink wrote:
> Folks;
>
> after starting my IDE this morning, it seems all of a sudden Java
> code-completion in my plugin projects doesn't work anymore. Situation:
>
Go to the Java > Editor > Content Assist > Advanced preference page and
restore it to its defaults. Note that the exception is unrelated to your
problem as it happened on shutfown (see bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257970).
Dani
> - Starting writing a type name and using CTRL+Space just leaves me with a
> window showing "No default proposals" whereas, earlier, it used to show
> matching types and, subsequently, adjust my imports correctly. Manually
> writing the type name and using "organize imports" works however.
>
> - Using a declared local variable, CTRL+Space just ends up with "No default
> proposals" as well when trying to see what methods are available here.
> Again, manually writing this down works.
>
> Any hints on what possibly could be wrong? The workspaces .metadata/.log
> doesn't provide any information on that. The only error I see in the IDE
> Error log is as follows but I am not sure it is related to it. Restarting
> with -clean didn't help either.
>
> Comments, anyone?
> Thanks in advance and best regards,
> Kristian
>
>
> ...
> org.eclipse.swt.SWTException: Device is disposed
> at org.eclipse.swt.SWT.error(SWT.java:3777)
> at org.eclipse.swt.SWT.error(SWT.java:3695)
> at org.eclipse.swt.SWT.error(SWT.java:3666)
> at org.eclipse.swt.widgets.Display.error(Display.java:1142)
> at org.eclipse.swt.widgets.Display.asyncExec(Display.java:665)
> at
> org.eclipse.ui.internal.console.ConsoleDropDownAction.consol esRemoved(ConsoleDropDownAction.java:150)
> at
> org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifi er.run(ConsoleManager.java:154)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifi er.notify(ConsoleManager.java:174)
> at
> org.eclipse.ui.internal.console.ConsoleManager.fireUpdate(Co nsoleManager.java:262)
> at
> org.eclipse.ui.internal.console.ConsoleManager.removeConsole s(ConsoleManager.java:244)
> at org.eclipse.team.svn.ui.console.SVNConsole.shutdown(SVNConso le.java:90)
> at org.eclipse.team.svn.ui.SVNTeamUIPlugin.stop(SVNTeamUIPlugin .java:110)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleContextImpl.java:1050)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1046)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.stopWork er(BundleHost.java:457)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.susp end(AbstractBundle.java:531)
> at
> org.eclipse.osgi.framework.internal.core.Framework.suspendBu ndle(Framework.java:1104)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:655)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:312)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:257)
> at
> org.eclipse.osgi.framework.internal.core.SystemBundle.suspen d(SystemBundle.java:236)
> at
> org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:678)
> at org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:576)
> at org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.jav a:41)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:424)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:200)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>
>
>
> Eclipse version:
>
> Eclipse SDK
> Version: 3.4.2
> Build id: M20090211-1700
>
|
|
|
Powered by
FUDForum. Page generated in 0.09036 seconds