ccw 0.4.0 partially broken on eclipse 3.7.1

23 views
Skip to first unread message

warfall

unread,
Oct 6, 2011, 12:12:21 PM10/6/11
to counterclockwise-users
Hello,

the menu "preference / clojure / syntax coloring" is broken (crash
when trying to click on it) under indigo SR1, while 0.3.0.stable002
works fine with the same release of eclipse.

Sorry to receive the nice work of getting rid of antlr dependency with
such a cold news.

Laurent PETIT

unread,
Oct 7, 2011, 6:05:23 PM10/7/11
to clojured...@googlegroups.com
2011/10/6 warfall <warfa...@gmail.com>:

Fixed : https://github.com/laurentpetit/ccw/commit/e778163ca629b041db652f59c945c63cb637d3f0

Will be released with 0.4.1. Hopefully next week.

>
> --
> You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
> To post to this group, send email to clojured...@googlegroups.com.
> To unsubscribe from this group, send email to clojuredev-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/clojuredev-users?hl=en.
>
>

warfall

unread,
Oct 8, 2011, 10:30:14 AM10/8/11
to counterclockwise-users
Hello,

i had never compiled an eclipse plugin, so i will cowardly wait for
0.4.1.

That's said, thank you for reacting so fast.



On 8 oct, 00:05, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> 2011/10/6 warfall <warfall...@gmail.com>:
>
> > Hello,
>
> > the menu "preference / clojure / syntax coloring" is broken (crash
> > when trying to click on it) under indigo SR1, while 0.3.0.stable002
> > works fine with the same release of eclipse.
>
> > Sorry to receive the nice work of getting rid of antlr dependency with
> > such a cold news.
>
> Fixed :https://github.com/laurentpetit/ccw/commit/e778163ca629b041db652f59c9...

g. christensen

unread,
Nov 1, 2011, 2:54:57 PM11/1/11
to counterclockwise-users
I have compiled this file separately, so you can replace it in your
<eclipse installation folder>/plugins/ccw.core_0.4.0.STABLE002/ccw/
preferences/

http://dl.dropbox.com/u/47797347/SyntaxColoringPreferencePage.class

warfall

unread,
Nov 4, 2011, 9:20:33 PM11/4/11
to counterclockwise-users
Hello and thanks for the stable002.

The problem is half solved (indigo 3.7.1 / jdk1.7.0_01 64bits on Linux
64bits):

going on menu preference / clojure / syntax coloring push a map with
the following message:
"The currently displayed page contains invalid values."

and generate the following error log:

Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
java.lang.IllegalArgumentException: clojureEditor cannot be null
at
ccw.editors.clojure.ClojureTokenScanner.<init>(ClojureTokenScanner.java:
66)
at ccw.editors.clojure.ClojureTokenScannerFactory
$1.<init>(ClojureTokenScannerFactory.java:24)
at
ccw.editors.clojure.ClojureTokenScannerFactory.create(ClojureTokenScannerFactory.java:
24)
at
ccw.editors.clojure.ClojureSourceViewerConfiguration.initTokenScanner(ClojureSourceViewerConfiguration.java:
137)
at
ccw.editors.clojure.ClojureSourceViewerConfiguration.<init>(ClojureSourceViewerConfiguration.java:
54)
at
ccw.preferences.SyntaxColoringPreferencePage.createPreviewer(SyntaxColoringPreferencePage.java:
695)
at
ccw.preferences.SyntaxColoringPreferencePage.createSyntaxPage(SyntaxColoringPreferencePage.java:
579)
at
ccw.preferences.SyntaxColoringPreferencePage.createContents(SyntaxColoringPreferencePage.java:
327)
at
org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:
232)
at
org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:
1501)
at org.eclipse.jface.preference.PreferenceDialog
$14.run(PreferenceDialog.java:1258)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at
org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:
1252)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:
674)
at org.eclipse.jface.preference.PreferenceDialog
$10.run(PreferenceDialog.java:708)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
70)
at org.eclipse.jface.preference.PreferenceDialog
$9.selectionChanged(PreferenceDialog.java:704)
at org.eclipse.jface.viewers.StructuredViewer
$3.run(StructuredViewer.java:888)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:
886)
at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:
1226)
at org.eclipse.jface.viewers.StructuredViewer
$5.widgetSelected(StructuredViewer.java:1251)
at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:
262)
at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:
256)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:433)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:
3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:
215)
at
org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:
54)
at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:
293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:
476)
at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:
508)
at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:
169)
at
org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:
241)
at
org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:
157)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:
584)
at org.eclipse.jface.action.ActionContributionItem.access
$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem
$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
123)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
344)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Which is fine according to my taste: i don't really care with the
syntax cloring menu, as long as it doesn't crash it is ok.

What is more important is that 0.4.0-stable002 is working under jdk
1.7, a very good result, i had never be able to install 0.3.0 under
jdk 1.7.

Laurent PETIT

unread,
Nov 5, 2011, 6:29:42 AM11/5/11
to clojured...@googlegroups.com
2011/11/5 warfall <warfa...@gmail.com>:

> Hello and thanks for the stable002.
>
> The problem is half solved (indigo 3.7.1 / jdk1.7.0_01 64bits on Linux
> 64bits):
>
> going on menu preference / clojure / syntax coloring  push a map with
> the following message:
> "The currently displayed page contains invalid values."

This one is addressed in my master branch, will be released with the
train of other changes, soon.

That's good news. I was not aware that 0.3.0 was not working under jdk1.7


>
>
>
>
> On 1 nov, 19:54, "g. christensen" <gchrist...@gmail.com> wrote:
>> I have compiled this file separately, so you can replace it in your
>> <eclipse installation folder>/plugins/ccw.core_0.4.0.STABLE002/ccw/
>> preferences/
>>
>> http://dl.dropbox.com/u/47797347/SyntaxColoringPreferencePage.class
>

Reply all
Reply to author
Forward
0 new messages