Re: [scala-ide-user] Code completion issues with the Scala-IDE and Eclipse Juno

496 views
Skip to first unread message

Mirco Dotta

unread,
Jul 12, 2012, 12:49:59 PM7/12/12
to scala-i...@googlegroups.com
Looks like you are hitting this issue: http://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/1001132

As a workaround, turn off 'Code Recommenders Proposals'.

-- Mirco

On Jul 12, 2012, at 6:46 PM, timka wrote:

I'm using Eclipse Juno with the Java (Java build 1.7.0_05-b05 64bit) and Scala-IDE plugin (Scala IDE for Eclipse 2.1.0.nightly-2_09-201207100348-f1d9c23 org.scala-ide.sdt.feature.feature.group scala-ide.org).

Below are my custom settings for Eclipse eclipse.ini:

-vmargs
-Dosgi.requiredJavaVersion=1.7
-Dhelp.lucene.tokenizer=standard
-Xss8m
-Xms256m
-Xmx1536m
-XX:PermSize=64m
-server
-Xverify:none
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:MaxGCPauseMillis=50
-XX:+DoEscapeAnalysis
-XX:+UseCompressedOops

Every-time I try to use code completion Eclipse throwing me 2 error windows:

The 'Code Recommenders Calls Proposals' proposal computer from
the
'org.eclipse.recommenders.completion.rcp.calls' plug-in did
not complete normally
.
The extension has thrown a runtime exception.

and

The 'Code Recommenders Overrides Proposals' proposal computer from
the
'org.eclipse.recommenders.completion.rcp.overrides' plug-in did
not complete normally
.
The extension has thrown a runtime exception.

My scala-ide log below shows:

[Xlint:cantFindType]
2012-07-10 15:37:29,404 ERROR [main] - System.err -
[org.eclipse.jdt.launching] error can't determine modifiers of missing type
org
.eclipse.pde.internal.ui.wizards.imports.PluginImportHelper
when weaving
type org.eclipse.jdt.launching.JavaRuntime
when weaving classes
when weaving
[Xlint:cantFindType]

Is there any way to fix this?

Thank you.

UPDATE 1: After disabling code Recommenders I'm getting a different error in my Slaca-Ide log:

2012-07-10 16:10:24,342 ERROR [main] - System.err - [org.eclipse.jdt.debug.ui] 
error can
't determine modifiers of missing type
org
.eclipse.pde.internal.ui.wizards.imports.PluginImportHelper
when weaving
type org.eclipse.jdt.internal.debug.ui.actions.ToggleBreakpointAdapter
when weaving classes
when weaving
[Xlint:cantFindType]

but the scala code completion now works ok


timka

unread,
Jul 12, 2012, 5:34:21 PM7/12/12
to scala-i...@googlegroups.com
Do I need to worry about this part?:
2012-07-10 16:10:24,342 ERROR [main] - System.err - [org.eclipse.jdt.debug.ui] 
error can
't determine modifiers of missing type
org
.eclipse.pde.internal.ui.wizards.imports.PluginImportHelper
when weaving
type org.eclipse.jdt.internal.debug.ui.actions.ToggleBreakpointAdapter
when weaving classes
when weaving
[Xlint:cantFindType]



Reply all
Reply to author
Forward
0 new messages