This page is no longer maintained — Please continue to the home page at www.scala-lang.org

eclipse 3.4.2 x64

8 replies
Carsten Saager
Joined: 2008-12-19,
User offline. Last seen 42 years 45 weeks ago.
I am running now Vista 64 with Eclipse 3.4.2 64-bit and the plugin is entirely defunct:

java.lang.ClassCastException: scala.tools.eclipse.Editor$$anon$1 cannot be cast to org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.handlePreferenceStoreChanged(CompilationUnitEditor.java:1515)
at scala.tools.eclipse.Editor.handlePreferenceStoreChanged(Editor.scala:363)
at org.eclipse.ui.texteditor.AbstractTextEditor$PropertyChangeListener.propertyChange(AbstractTextEditor.java:679)
at org.eclipse.ui.texteditor.ChainedPreferenceStore.firePropertyChangeEvent(ChainedPreferenceStore.java:164)
at org.eclipse.ui.texteditor.ChainedPreferenceStore.handlePropertyChangeEvent(ChainedPreferenceStore.java:431)
at org.eclipse.ui.texteditor.ChainedPreferenceStore.access$0(ChainedPreferenceStore.java:408)
at org.eclipse.ui.texteditor.ChainedPreferenceStore$PropertyChangeListener.propertyChange(ChainedPreferenceStore.java:69)
at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
...
(this repeats several times)

All Scala files show Java icon... ( as well on 3.4.2 32-bit, but 64bit-VM)

org.eclipse.ui.PartInitException: No editor descriptor for id scala.tools.eclipse.Editor
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:598)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:403)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2766)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:331)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:194)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:207)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:363)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:603)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
...

I someone has an idea what I can try to use as combinations to help diagnosing the problem(s) - please let me know


-Carsten
milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: eclipse 3.4.2 x64

On Fri, Mar 27, 2009 at 8:36 AM, Carsten Saager wrote:
> I am running now Vista 64 with Eclipse 3.4.2 64-bit and the plugin is
> entirely defunct:

Plugin version?

Cheers,

Miles

Carsten Saager
Joined: 2008-12-19,
User offline. Last seen 42 years 45 weeks ago.
Re: eclipse 3.4.2 x64
I tried 2.7.3-final and the nightly - no difference

On Fri, Mar 27, 2009 at 9:50 AM, Miles Sabin <miles@milessabin.com> wrote:
On Fri, Mar 27, 2009 at 8:36 AM, Carsten Saager <csaager@gmail.com> wrote:
> I am running now Vista 64 with Eclipse 3.4.2 64-bit and the plugin is
> entirely defunct:

Plugin version?

Cheers,


Miles

--
Miles Sabin
tel:    +44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: eclipse 3.4.2 x64

On Fri, Mar 27, 2009 at 11:49 AM, Carsten Saager wrote:
> I tried 2.7.3-final and the nightly - no difference

OK, can you give me some context: are you reporting that whereas the
plugin works on Vista 32-bit it fails on Vista 64-bit?

Cheers,

Miles

Carsten Saager
Joined: 2008-12-19,
User offline. Last seen 42 years 45 weeks ago.
Re: eclipse 3.4.2 x64
Don't know about Vista 32-bit - yesterday my workhorse (XPSP3-32bit) died and I had to buy a new computer that came with Vista SP1 64-bit
I installed JDK 1.6 update 13 64-bit and Ganymede 3.4.2 32+64 bit, Galileo M6 64 bit. on each platform I tried 2.7.3-final and the yesterdays nightly. The JDT seems to be fine on all three.
Is it worth trying to run it with the 32-bit JRE? -  In any case I like to run my Scala programs unter 64-bit as I used to hit quite often the memory limits on my old config 
-Carsten

On Fri, Mar 27, 2009 at 12:53 PM, Miles Sabin <miles@milessabin.com> wrote:
On Fri, Mar 27, 2009 at 11:49 AM, Carsten Saager <csaager@gmail.com> wrote:
> I tried 2.7.3-final and the nightly - no difference

OK, can you give me some context: are you reporting that whereas the
plugin works on Vista 32-bit it fails on Vista 64-bit?

Cheers,


Miles

--
Miles Sabin
tel:    +44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

ijuma
Joined: 2008-08-20,
User offline. Last seen 22 weeks 2 days ago.
Re: eclipse 3.4.2 x64

On Fri, 2009-03-27 at 13:46 +0100, Carsten Saager wrote:
> Is it worth trying to run it with the 32-bit JRE? - In any case I
> like to run my Scala programs unter 64-bit as I used to hit quite
> often the memory limits on my old config

For what is worth, I run Eclipse 3.4.2 64-bit on Fedora 10 with the
Scala plugin with no issues. So, 64-bit alone doesn't explain it.

Best,
Ismael

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: eclipse 3.4.2 x64

On Fri, Mar 27, 2009 at 12:46 PM, Carsten Saager wrote:
> Don't know about Vista 32-bit - yesterday my workhorse (XPSP3-32bit) died
> and I had to buy a new computer that came with Vista SP1 64-bit

OK, to help me rule out the obvious ... does anyone have any
experience running the Eclipse plugin under Vista 32 or 64 bit?

Cheers,

Miles

nilskp
Joined: 2009-01-30,
User offline. Last seen 1 year 27 weeks ago.
Re: eclipse 3.4.2 x64
On Fri, Mar 27, 2009 at 8:03 AM, Miles Sabin <miles@milessabin.com> wrote:
OK, to help me rule out the obvious ... does anyone have any
experience running the Eclipse plugin under Vista 32 or 64 bit?

I did for a while and didn't see this issue. That was on 6.0 u12 though.

I switched back to 32-bit though, as Eclipse 64-bit seems to have some issues, which is probably why it's not available on the main download page either.
Carsten Saager
Joined: 2008-12-19,
User offline. Last seen 42 years 45 weeks ago.
Re: eclipse 3.4.2 x64
It seems that the aspectj doesn't get installed with the 64-bit version, I switched back as well and the plugion at least works fine with Vista/Java64.

-Carsten

On Sat, Mar 28, 2009 at 4:40 AM, Nils Kilden-Pedersen <nilskp@gmail.com> wrote:
On Fri, Mar 27, 2009 at 8:03 AM, Miles Sabin <miles@milessabin.com> wrote:
OK, to help me rule out the obvious ... does anyone have any
experience running the Eclipse plugin under Vista 32 or 64 bit?

I did for a while and didn't see this issue. That was on 6.0 u12 though.

I switched back to 32-bit though, as Eclipse 64-bit seems to have some issues, which is probably why it's not available on the main download page either.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland