Play2 plugin Scala 4.0-RC1 text right-to-left

59 views
Skip to first unread message

Kaizah Kaiser

unread,
Oct 23, 2014, 10:42:43 AM10/23/14
to scala-...@googlegroups.com
I want to start using the Scala IDE 4.0.0-RC1 to build Play2 apps and I am using the Play2 template editor plugin but for some reason I can only type right-to-left. This is only true for the Play template editor, the Scala, Java and all other editors just type left-to-right, as they should. I cannot seem to modify this anywhere... any clues?

Kaizah Kaiser

unread,
Oct 27, 2014, 7:03:05 AM10/27/14
to scala-...@googlegroups.com
So, many hours of trial&error... I cannot get it to work properly. I have tried so many ways of installing Eclipse, Scala support and Play2 support, but they all result in the same mess. When I open a Play template file with 'Template Editor' (old one), I can only type right-to-left and there is absolutely no way to alter that. When I use the proper 'New Template Editor', I get a blank page without title and sometimes Eclipse throws a NullPointerException error.

Can someone please tell me how I can properly get this to work? It's business crucial for me.
What I want is to have a proper IDE with Scala 2.11 support and Play2 template support, that's all.

Op donderdag 23 oktober 2014 16:42:43 UTC+2 schreef Kaizah Kaiser:

iulian dragos

unread,
Oct 27, 2014, 8:48:33 AM10/27/14
to scala-ide-dev
I'm sorry, but the only pointer I have is this one: http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/bidi.html

Do your OS settings somehow point towards a right-to-left language?

--
You received this message because you are subscribed to the Google Groups "Scala IDE Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-dev/f106c3c6-8b00-4a50-8013-2fdab04a85c8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais

iulian dragos

unread,
Oct 27, 2014, 8:50:26 AM10/27/14
to scala-ide-dev
On Mon, Oct 27, 2014 at 12:03 PM, Kaizah Kaiser <kaise...@gmail.com> wrote:
So, many hours of trial&error... I cannot get it to work properly. I have tried so many ways of installing Eclipse, Scala support and Play2 support, but they all result in the same mess. When I open a Play template file with 'Template Editor' (old one), I can only type right-to-left and there is absolutely no way to alter that. When I use the proper 'New Template Editor', I get a blank page without title and sometimes Eclipse throws a NullPointerException error.

The new template editor should be preferred anyway... Send us your error log, maybe we can a pointer from there.
 

Can someone please tell me how I can properly get this to work? It's business crucial for me.
What I want is to have a proper IDE with Scala 2.11 support and Play2 template support, that's all.

Op donderdag 23 oktober 2014 16:42:43 UTC+2 schreef Kaizah Kaiser:
I want to start using the Scala IDE 4.0.0-RC1 to build Play2 apps and I am using the Play2 template editor plugin but for some reason I can only type right-to-left. This is only true for the Play template editor, the Scala, Java and all other editors just type left-to-right, as they should. I cannot seem to modify this anywhere... any clues?

--
You received this message because you are subscribed to the Google Groups "Scala IDE Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-de...@googlegroups.com.

Kaizah Kaiser

unread,
Oct 28, 2014, 4:30:11 AM10/28/14
to scala-...@googlegroups.com
Hi Iulian,

I don't have any OS-specific right-to-left settings. Moreover, even forcing the Eclipse IDE to overwrite OS-defaults with always left-to-right still results in the old template editor typing right-to-left.

As for the new template editor, when I open a Play template file, I just get a blank page, like I said. Errors pop up every now and then, but when I start Eclipse, I get the following errors in the error log, not sure if they are related:
null
org
.eclipse.e4.ui.workbench
Error
Tue Oct 28 09:22:50 CET 2014
Exception occurred while unrendering: org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl@58dea0a7 (elementId: IDEWindow, tags: [topLevel, shellMaximized], contributorURI: platform:/plugin/org.eclipse.ui.workbench) (widget: null, renderer: null, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: %trimmedwindow.label.eclipseSDK, iconURI: null, tooltip: null, context: null, variables: [], x: 1946, y: 26, width: 1024, height: 768)

org
.eclipse.e4.core.di.InjectionException: org.eclipse.swt.SWTException: Widget is disposed
    at org
.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:62)
    at org
.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:888)
    at org
.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:390)
    at org
.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:143)
    at org
.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:76)
    at org
.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:107)
    at org
.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:70)
    at org
.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:175)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.clearContext(PartRenderingEngine.java:974)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:954)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:862)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:857)
    at org
.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:841)
    at org
.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1937)
    at org
.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1560)
    at org
.eclipse.ui.internal.WorkbenchWindow.access$15(WorkbenchWindow.java:1527)
    at org
.eclipse.ui.internal.WorkbenchWindow$10.run(WorkbenchWindow.java:1592)
    at org
.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org
.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1589)
    at org
.eclipse.ui.internal.Workbench$14.run(Workbench.java:1155)
    at org
.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org
.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1137)
    at org
.eclipse.ui.internal.Workbench.access$21(Workbench.java:1079)
    at org
.eclipse.ui.internal.Workbench$19.run(Workbench.java:1410)
    at org
.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org
.eclipse.ui.internal.Workbench.close(Workbench.java:1407)
    at org
.eclipse.ui.internal.Workbench.close(Workbench.java:1380)
    at org
.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1556)
    at org
.eclipse.ui.internal.WorkbenchWindow.access$15(WorkbenchWindow.java:1527)
    at org
.eclipse.ui.internal.WorkbenchWindow$10.run(WorkbenchWindow.java:1592)
    at org
.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org
.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1589)
    at org
.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1603)
    at org
.eclipse.ui.internal.WorkbenchWindow$6.close(WorkbenchWindow.java:521)
    at org
.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer$11.shellClosed(WBWRenderer.java:564)
    at org
.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
    at org
.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org
.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org
.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org
.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
    at org
.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)
    at org
.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:308)
    at org
.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1696)
    at org
.eclipse.swt.widgets.Control.windowProc(Control.java:4612)
    at org
.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
    at org
.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1626)
    at org
.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
    at org
.eclipse.swt.widgets.Display.windowProc(Display.java:5023)
    at org
.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org
.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2544)
    at org
.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
    at org
.eclipse.swt.widgets.Control.windowProc(Control.java:4705)
    at org
.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
    at org
.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1626)
    at org
.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
    at org
.eclipse.swt.widgets.Display.windowProc(Display.java:5023)
    at org
.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org
.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2544)
    at org
.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
    at org
.eclipse.swt.widgets.Control.windowProc(Control.java:4705)
    at org
.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
    at org
.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1626)
    at org
.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
    at org
.eclipse.swt.widgets.Display.windowProc(Display.java:5023)
    at org
.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org
.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
    at org
.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org
.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org
.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org
.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org
.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org
.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org
.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org
.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org
.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org
.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org
.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    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.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org
.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org
.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: org.eclipse.swt.SWTException: Widget is disposed
    at org
.eclipse.swt.SWT.error(SWT.java:4441)
    at org
.eclipse.swt.SWT.error(SWT.java:4356)
    at org
.eclipse.swt.SWT.error(SWT.java:4327)
    at org
.eclipse.swt.widgets.Widget.error(Widget.java:476)
    at org
.eclipse.swt.widgets.Widget.checkWidget(Widget.java:348)
    at org
.eclipse.swt.widgets.Shell.getSize(Shell.java:1092)
    at org
.eclipse.ui.internal.quickaccess.SearchField.storeDialog(SearchField.java:580)
    at org
.eclipse.ui.internal.quickaccess.SearchField.dispose(SearchField.java:557)
    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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
   
... 88 more


null
org
.eclipse.e4.ui.workbench.swt
Error
Tue Oct 28 09:22:50 CET 2014
Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench.swt".

org
.eclipse.e4.core.di.InjectionException: org.eclipse.swt.SWTException: Widget is disposed
    at org
.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:62)
    at org
.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:888)
    at org
.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:390)
    at org
.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:143)
    at org
.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:76)
    at org
.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:107)
    at org
.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:70)
    at org
.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:175)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.clearContext(PartRenderingEngine.java:974)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:954)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:862)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:857)
    at org
.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:841)
    at org
.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1937)
    at org
.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1560)
    at org
.eclipse.ui.internal.WorkbenchWindow.access$15(WorkbenchWindow.java:1527)
    at org
.eclipse.ui.internal.WorkbenchWindow$10.run(WorkbenchWindow.java:1592)
    at org
.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org
.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1589)
    at org
.eclipse.ui.internal.Workbench$14.run(Workbench.java:1155)
    at org
.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org
.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1137)
    at org
.eclipse.ui.internal.Workbench.access$21(Workbench.java:1079)
    at org
.eclipse.ui.internal.Workbench$19.run(Workbench.java:1410)
    at org
.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org
.eclipse.ui.internal.Workbench.close(Workbench.java:1407)
    at org
.eclipse.ui.internal.Workbench.close(Workbench.java:1380)
    at org
.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1556)
    at org
.eclipse.ui.internal.WorkbenchWindow.access$15(WorkbenchWindow.java:1527)
    at org
.eclipse.ui.internal.WorkbenchWindow$10.run(WorkbenchWindow.java:1592)
    at org
.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org
.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1589)
    at org
.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1603)
    at org
.eclipse.ui.internal.WorkbenchWindow$6.close(WorkbenchWindow.java:521)
    at org
.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer$11.shellClosed(WBWRenderer.java:564)
    at org
.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
    at org
.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org
.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org
.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org
.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
    at org
.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)
    at org
.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:308)
    at org
.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1696)
    at org
.eclipse.swt.widgets.Control.windowProc(Control.java:4612)
    at org
.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
    at org
.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1626)
    at org
.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
    at org
.eclipse.swt.widgets.Display.windowProc(Display.java:5023)
    at org
.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org
.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2544)
    at org
.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
    at org
.eclipse.swt.widgets.Control.windowProc(Control.java:4705)
    at org
.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
    at org
.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1626)
    at org
.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
    at org
.eclipse.swt.widgets.Display.windowProc(Display.java:5023)
    at org
.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org
.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2544)
    at org
.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
    at org
.eclipse.swt.widgets.Control.windowProc(Control.java:4705)
    at org
.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
    at org
.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1626)
    at org
.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
    at org
.eclipse.swt.widgets.Display.windowProc(Display.java:5023)
    at org
.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org
.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
    at org
.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org
.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org
.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org
.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org
.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org
.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org
.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org
.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org
.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org
.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org
.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    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.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org
.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org
.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: org.eclipse.swt.SWTException: Widget is disposed
    at org
.eclipse.swt.SWT.error(SWT.java:4441)
    at org
.eclipse.swt.SWT.error(SWT.java:4356)
    at org
.eclipse.swt.SWT.error(SWT.java:4327)
    at org
.eclipse.swt.widgets.Widget.error(Widget.java:476)
    at org
.eclipse.swt.widgets.Widget.checkWidget(Widget.java:348)
    at org
.eclipse.swt.widgets.Shell.getSize(Shell.java:1092)
    at org
.eclipse.ui.internal.quickaccess.SearchField.storeDialog(SearchField.java:580)
    at org
.eclipse.ui.internal.quickaccess.SearchField.dispose(SearchField.java:557)
    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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
   
... 88 more




Op maandag 27 oktober 2014 13:50:26 UTC+1 schreef Iulian Dragos:

Kaizah Kaiser

unread,
Oct 28, 2014, 4:52:09 AM10/28/14
to scala-...@googlegroups.com
To add to my previous post, any Play2 app that compiles and runs just fine without any errors or even warnings, is completely stuffed with errors in the Scala IDE. Pretty much every arrow (the -> one) is seen as an error and all duration indications are seen as errors too, to name a few (once again: everything compiles and runs just fine, no real errors):

value seconds is not a member of Int

value on is not a member of anorm.SqlQuery possible cause: maybe a semicolon is missing before `value on'?

value is not a member of String

I am using Scala 2.11 and Play 2.3.4, Eclipse IDE 4.0 RC-1

Op dinsdag 28 oktober 2014 09:30:11 UTC+1 schreef Kaizah Kaiser:

    at org
.eclipse.<span style="color: #000;" class="styled-b
...

Richard Bowker

unread,
Oct 28, 2014, 5:12:52 AM10/28/14
to scala-...@googlegroups.com
interesting. This sounds very similar to the issue I am also seeing here.. https://groups.google.com/d/msg/scala-ide-dev/-xmEKJdMqnI/pe8_R7NENCUJ

Simon Schäfer

unread,
Oct 28, 2014, 6:18:13 AM10/28/14
to scala-...@googlegroups.com

On 10/28/2014 09:52 AM, Kaizah Kaiser wrote:
To add to my previous post, any Play2 app that compiles and runs just fine without any errors or even warnings, is completely stuffed with errors in the Scala IDE. Pretty much every arrow (the -> one) is seen as an error and all duration indications are seen as errors too, to name a few (once again: everything compiles and runs just fine, no real errors):

value seconds is not a member of Int

value on is not a member of anorm.SqlQuery possible cause: maybe a semicolon is missing before `value on'?

value is not a member of String

I am using Scala 2.11 and Play 2.3.4, Eclipse IDE 4.0 RC-1
It could be that this error is a result of the initialization errors you have seen before. Can you please enable full debug logging (Preferences > Scala > Logging > Log Level: Debug) + enable the "redirect out/err log to file" option and then show us what is logged in the log file after a startup and after the opening of an editor?

The both stack traces you have shown before don't show how the errors are related to Scala IDE, therefore I assume that there must be more errors.

Richard Bowker

unread,
Oct 28, 2014, 7:16:59 AM10/28/14
to scala-...@googlegroups.com
try this suggestion from Iulian:  https://groups.google.com/d/msg/scala-ide-dev/-xmEKJdMqnI/CBcDn0hDTpAJ

 Untick "Window > Preferences > general > Workspace > Refresh using native hooks or polling"

do a clean rebuild and see if the errors go away.

Kaizah Kaiser

unread,
Oct 28, 2014, 8:34:04 AM10/28/14
to scala-...@googlegroups.com
I have done a lot of clean installs but not no avail. The native hooks or polling is unticked by default. When I turn it on though, I finally got an error message when opening the play template editor rather than just a blank sheet, see below.
What I also noticed, is that if I want to go to Play plugin settings (Window -> Preferences -> Play) it throws an error too and doesn't continue. The second stack trace belongs to this one.

org.eclipse.core.runtime.CoreException: Plug-in org.scala-ide.play2 was unable to load class org.scalaide.play2.templateeditor.sse.TemplateStructuredEditor.
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:294)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:289)
    at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:349)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPart(CompatibilityPart.java:265)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPart(CompatibilityEditor.java:63)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:303)

    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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:888)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:869)
    at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:120)
    at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:337)
    at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:258)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
    at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:127)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:983)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:766)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:737)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:731)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:715)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:94)
    at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
    at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:218)
    at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
    at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
    at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
    at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
    at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
    at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
    at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81)
    at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
    at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
    at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
    at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:488)
    at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:454)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:694)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:387)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1134)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3210)
    at org.eclipse.ui.internal.WorkbenchPage.access$23(WorkbenchPage.java:3125)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:3107)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3102)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3066)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:338)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:180)

    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)

    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    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.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.scala-ide.play2 (848).
    at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:116)
    at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:320)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:294)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:289)
    at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPreferenceNode.java:48)
    at org.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.java:1372)
    at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.java:385)
    at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1259)
    at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:699)
    at org.eclipse.jface.preference.PreferenceDialog$9$1.run(PreferenceDialog.java:730)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:725)
    at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:876)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
    at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:873)
    at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1217)
    at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1243)
    at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:265)
    at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:259)
    at org.eclipse.jface.util.OpenStrategy$1$2.run(OpenStrategy.java:440)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
    at org.eclipse.jface.window.Window.open(Window.java:808)
    at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:221)
    at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:66)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    ... 26 more
Caused by: org.osgi.framework.BundleException: Exception in org.scalaide.play2.PlayPlugin.start() of bundle org.scala-ide.play2.
    at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)
    at org.eclipse.osgi.container.Module.doStart(Module.java:571)
    at org.eclipse.osgi.container.Module.start(Module.java:439)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)
    at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
    ... 72 more
Caused by: java.lang.NoClassDefFoundError: org/scalaide/core/IScalaPlugin$
    at org.scalaide.play2.PlayPlugin.asPlayProject(PlayPlugin.scala:51)
    at org.scalaide.play2.PlayPlugin$$anonfun$initializeProjects$2.apply(PlayPlugin.scala:59)
    at org.scalaide.play2.PlayPlugin$$anonfun$initializeProjects$2.apply(PlayPlugin.scala:57)
    at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:778)
    at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
    at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
    at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:777)
    at org.scalaide.play2.PlayPlugin.initializeProjects(PlayPlugin.scala:57)
    at org.scalaide.play2.PlayPlugin.start(PlayPlugin.scala:42)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
    ... 79 more
Caused by: java.lang.ClassNotFoundException: org.scalaide.core.IScalaPlugin$ cannot be found by org.scala-ide.play2_0.4.5.v-2_11-201410211329-719d42a
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 92 more


eclipse.buildId=4.4.1.M20140925-0400
java
.version=1.8.0_25
java
.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=nl_NL
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

org
.eclipse.equinox.registry
Error
Tue Oct 28 13:24:08 CET 2014
Unable to create the selected preference page.

java
.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.scala-ide.play2 (848).
    at org
.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:116)
    at org
.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531)
    at org
.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)
    at org
.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:320)
    at org
.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)
    at org
.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
    at org
.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
    at org
.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
    at java
.lang.ClassLoader.loadClass(Unknown Source)
    at org
.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568)
    at org
.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    at org
.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    at org
.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org
.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org
.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:294)
    at org
.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org
.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:289)
    at org
.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPreferenceNode.java:48)
    at org
.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.java:1372)
    at org
.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.java:385)
    at org
.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1259)
    at org
.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:699)
    at org
.eclipse.jface.preference.PreferenceDialog$9$1.run(PreferenceDialog.java:730)
    at org
.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org
.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:725)
    at org
.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:876)
    at org
.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org
.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
    at org
.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
    at org
.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:873)
    at org
.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1217)
    at org
.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1243)
    at org
.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:265)
    at org
.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:259)
    at org
.eclipse.jface.util.OpenStrategy$1$2.run(OpenStrategy.java:440)
    at org
.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org
.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
    at org
.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
    at org
.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
    at org
.eclipse.jface.window.Window.runEventLoop(Window.java:832)
    at org
.eclipse.jface.window.Window.open(Window.java:808)
    at org
.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:221)
    at org
.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:66)
    at org
.eclipse.jface.action.Action.runWithEvent(Action.java:519)
    at org
.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org
.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org
.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)

    at org
.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org
.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org
.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)

    at org
.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
    at org
.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)

    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org
.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org
.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org
.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org
.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org
.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org
.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org
.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org
.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org
.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org
.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org
.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    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.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org
.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org
.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: org.osgi.framework.BundleException: Exception in org.scalaide.play2.PlayPlugin.start() of bundle org.scala-ide.play2.
    at org
.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)
    at org
.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
    at org
.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
    at org
.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)
    at org
.eclipse.osgi.container.Module.doStart(Module.java:571)
    at org
.eclipse.osgi.container.Module.start(Module.java:439)
    at org
.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)
    at org
.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
   
... 72 more
Caused by: java.lang.NoClassDefFoundError: org/scalaide/core/IScalaPlugin$
    at org
.scalaide.play2.PlayPlugin.asPlayProject(PlayPlugin.scala:51)
    at org
.scalaide.play2.PlayPlugin$$anonfun$initializeProjects$2.apply(PlayPlugin.scala:59)
    at org
.scalaide.play2.PlayPlugin$$anonfun$initializeProjects$2.apply(PlayPlugin.scala:57)
    at scala
.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:778)
    at scala
.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
    at scala
.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
    at scala
.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:777)
    at org
.scalaide.play2.PlayPlugin.initializeProjects(PlayPlugin.scala:57)
    at org
.scalaide.play2.PlayPlugin.start(PlayPlugin.scala:42)
    at org
.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)
    at org
.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
    at java
.security.AccessController.doPrivileged(Native Method)
    at org
.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
   
... 79 more
Caused by: java.lang.ClassNotFoundException: org.scalaide.core.IScalaPlugin$ cannot be found by org.scala-ide.play2_0.4.5.v-2_11-201410211329-719d42a
    at org
.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
    at org
.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
    at org
.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
    at org
.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
    at java
.lang.ClassLoader.loadClass(Unknown Source)
   
... 92 more





iulian dragos

unread,
Oct 28, 2014, 8:40:34 AM10/28/14
to scala-ide-dev
It looks like it can't find a Scala IDE plugin class. Could you post your detailed configuration? If you go to the "About Eclipse" box, click on "Installation Details" and go to the "Configuration" tab. There's a list of all installed plugins and their versions.

iulian

--
You received this message because you are subscribed to the Google Groups "Scala IDE Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-de...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Kaizah Kaiser

unread,
Oct 28, 2014, 8:58:37 AM10/28/14
to scala-...@googlegroups.com
Turns out the errors occurred because it was using old versions of Scala IDE/Play2 support. Now I upgraded them and I do not get those errors anymore but I am back with the blank sheet and no errors.
I added a screenshot for clarity's sake.

The versions I am now on (Eclipse Luna) are in the other attached screenshot.

Op dinsdag 28 oktober 2014 13:40:34 UTC+1 schreef Iulian Dragos:
...
ide.png
ide2.png

iulian dragos

unread,
Oct 28, 2014, 9:12:40 AM10/28/14
to scala-ide-dev
I'm lost. The configuration looks ok, even though it's not the complete configuration.

Let's try something else:

1. Error Log window: anything suspicious? (Window/Show View...)
2. Plain Scala projects work well?
3. Right click on a Play template -> Open With .. choose one or the other of the template editors. Anything?

Could you try using the full IDE download (prepackaged with Play2 support) from http://scala-ide.org/download/milestone.html? I'm wondering if an older version is not interfering somehow.

iulian


--
You received this message because you are subscribed to the Google Groups "Scala IDE Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-de...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Mirko Stocker

unread,
Oct 28, 2014, 10:16:23 AM10/28/14
to scala-...@googlegroups.com
On Tuesday 28 October 2014 14:12:18 iulian dragos wrote:
> Could you try using the full IDE download (prepackaged with Play2 support)
> from http://scala-ide.org/download/milestone.html? I'm wondering if an
> older version is not interfering somehow.

And when you do that, try using a new workspace. The workspace contains all
kinds of cached stuff that might be outdated and interfere with Eclipse.

Cheers

Mirko

--
Mirko Stocker | m...@misto.ch
Work: http://ifs.hsr.ch | http://infoq.com
Personal: http://misto.ch | http://twitter.com/m_st

Kaizah Kaiser

unread,
Oct 28, 2014, 10:49:50 AM10/28/14
to scala-...@googlegroups.com
Well I keep on completely removing all of my Eclipse files as well as the workspace on every new attempt. I have tried the pre-packaged version a couple of times before too, and am now trying it again to tell you the exact behavior I am experiencing

When I start the IDE, I do not see any (Eclipse) errors in the logs. Play template files can be opened with any editor except for the 'New Template Editor' (blank page) and the 'Template Editor' gives me right-to-left behavior. Any non-Play project works just fine (like just SBT) and perhaps it is notable to mention that so far I have been using the Scala 2.10 IDE with Play2 support, that worked just fine (Kepler all the time). From what I have tried and experienced, I am pretty sure it is a Play2-Plugin for Scala 2.11 issue (only those combinations have been giving me problems).

Kaizah Kaiser

unread,
Oct 28, 2014, 10:51:47 AM10/28/14
to scala-...@googlegroups.com
I just reinstalled Scala, Java, SBT, Eclipse and Play. I now am able to open Play2 template files using the pre-packaged Scala IDE 4.0-RC1, but my Play projects are full of errors (like the ones I mentioned earlier, -> is never recognized) in the IDE even though they compile, eclipsify and run without any problems...

Op dinsdag 28 oktober 2014 15:49:50 UTC+1 schreef Kaizah Kaiser:

Kaizah Kaiser

unread,
Oct 28, 2014, 11:01:40 AM10/28/14
to scala-...@googlegroups.com
Ok guys, seems like I have something that works... for now at least.
I move my Eclipse to a different folder that contains no spaces and I made all files writable to anyone (on Windows here).
After restarting the Scala IDE it seems to not whine about my Play2 projects anymore and it seems like I can open template files properly...

To be honest: I have no clue why this helped or if it really was this or mere coincidence, hopefully it might help others and stays stable for me...

Op dinsdag 28 oktober 2014 15:51:47 UTC+1 schreef Kaizah Kaiser:

Mirko Stocker

unread,
Oct 28, 2014, 11:16:32 AM10/28/14
to scala-...@googlegroups.com, Kaizah Kaiser
On Tuesday 28 October 2014 08:01:40 Kaizah Kaiser wrote:
> I move my Eclipse to a different folder that contains no spaces and I made
> all files writable to anyone (on Windows here).

That rings a bell.. was your Eclipse installation in a location that is
protected by Windows UAC, like %ProgramFiles%? In that case, running Eclipse
as Administrator should also help.

Kaizah Kaiser

unread,
Oct 28, 2014, 11:24:50 AM10/28/14
to scala-...@googlegroups.com, kaise...@gmail.com
Indeed it was, though my workspace was some place else and I also made sure the folder and all subfolders were writable by anyone... either way, seems to be good so far.

Op dinsdag 28 oktober 2014 16:16:32 UTC+1 schreef Mirko Stocker:

iulian dragos

unread,
Oct 28, 2014, 11:57:36 AM10/28/14
to scala-ide-dev, kaise...@gmail.com
On Tue, Oct 28, 2014 at 4:24 PM, Kaizah Kaiser <kaise...@gmail.com> wrote:
Indeed it was, though my workspace was some place else and I also made sure the folder and all subfolders were writable by anyone... either way, seems to be good so far.

I'm very glad we got this sorted out. I'm still amazed at how ridiculously hard it is to debug such failures. 

iulian
 

Op dinsdag 28 oktober 2014 16:16:32 UTC+1 schreef Mirko Stocker:
On Tuesday 28 October 2014 08:01:40 Kaizah Kaiser wrote:
> I move my Eclipse to a different folder that contains no spaces and I made
> all files writable to anyone (on Windows here).

That rings a bell.. was your Eclipse installation in a location that is
protected by Windows UAC, like %ProgramFiles%? In that case, running Eclipse
as Administrator should also help.

Cheers

Mirko

--
Mirko Stocker | m...@misto.ch
Work: http://ifs.hsr.ch | http://infoq.com
Personal: http://misto.ch | http://twitter.com/m_st

--
You received this message because you are subscribed to the Google Groups "Scala IDE Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-de...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages