coldbox dictionary not working fully in my new eclipse

6 views
Skip to first unread message

jelka

unread,
Aug 19, 2010, 4:09:55 AM8/19/10
to ColdBox Platform
Hi. I've asked this on the coldbox framework
http://forums.coldboxframework.com/index.cfm?event=ehMessages.dspMessages&threadid=F51B1B29-FF6E-E829-9A1C13B8042EECB3
forum but nobody answered so now I am asking same question here.

I installed new version of eclipse (Version: 3.5.2
Build id: M20100211-1343 ) and installed all my favorite plugins
(cfeclipse etc).
When I try to install coldbox dictionary I'm having problem accessing
intelli sense (the context helper popups). For example all functions
that are defined in the coldbox dictionary in <functions> tag work ok,
but the functions defined in <scopes> tag do not show up (all event.*
functions and controller.* functions).

Can anyone tell me what exact version of eclipse and cfeclipse to
download so that my coldbox dictionary will work properly?

Luis Majano

unread,
Aug 19, 2010, 12:10:23 PM8/19/10
to col...@googlegroups.com
HI,

The dictionaries for cfeclipse are generated now and need testing.  I posted before that I need help on this.  So I would appreciate community support on this one.

You can find the generators in the SVN repo under /testing/tools/IDEDictionaries

Thanks

Luis F. Majano
President
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com



--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To post to this group, send email to col...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org

jelka

unread,
Aug 20, 2010, 3:11:17 AM8/20/10
to ColdBox Platform
Hi Luis

I will be glad to test the new dictionary ... will post update.

Thanks for the hint

Jelka


On 19 avg., 18:10, Luis Majano <lmaj...@gmail.com> wrote:
> HI,
>
> The dictionaries for cfeclipse are generated now and need testing.  I posted
> before that I need help on this.  So I would appreciate community support on
> this one.
>
> You can find the generators in the SVN repo under
> /testing/tools/IDEDictionaries
>
> Thanks
>
> Luis F. Majano
> President
> Ortus Solutions, Corp
>
> ColdBox Platform:http://www.coldbox.org
> Linked In:http://www.linkedin.com/pub/3/731/483
> Blog:http://www.luismajano.com
> IECFUG Manager:http://www.iecfug.comOn Thu, Aug 19, 2010 at 1:09 AM, jelka <jelka.ko...@gmail.com> wrote:
> > Hi. I've asked this on the coldbox framework
>
> >http://forums.coldboxframework.com/index.cfm?event=ehMessages.dspMess...

jelka

unread,
Aug 20, 2010, 5:25:29 AM8/20/10
to ColdBox Platform
Ok I've tried to set the coldbox dictionary from here:
http://coldbox.assembla.com/code/coldbox/subversion/nodes/coldbox/trunk/testing/tools/IDEDictionaries/coldbox.xml?_format=raw&rev=3269
I just copied the new coldbox.xml over the old one that was already
set up (hope this is a way to go)

It is not working for me - I get exceptions ... I am pasting details
below if they are of any help


////////////////////////////////////////////////////////////////////////////////////////////////
eclipse.buildId=M20100211-1343
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sl_SI
Command-line arguments: -os win32 -ws win32 -arch x86
///////////////////////////////////////////////////////////////////////////////////////////////

1.) This error happens when I am in <script> tag and type event.

----------------------------------------------------------------------------------------------
Error
Fri Aug 20 11:08:54 CEST 2010
Unhandled event loop exception

org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
194)
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:
368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
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:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.NullPointerException
at org.cfeclipse.cfml.dictionary.ScopeVar.getName(ScopeVar.java:51)
at
org.cfeclipse.cfml.dictionary.SyntaxDictionary.limitSet(SyntaxDictionary.java:
481)
at
org.cfeclipse.cfml.dictionary.SyntaxDictionary.getFilteredScopeVars(SyntaxDictionary.java:
217)
at
org.cfeclipse.cfml.editors.contentassist.CFMLScopeAssist.getTagProposals(CFMLScopeAssist.java:
127)
at
org.cfeclipse.cfml.editors.contentassist.CFEPrimaryAssist.collectProposals(CFEPrimaryAssist.java:
411)
at
org.cfeclipse.cfml.editors.contentassist.CFEPrimaryAssist.computeCompletionProposals(CFEPrimaryAssist.java:
362)
at
org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:
1832)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:
556)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access
$16(CompletionProposalPopup.java:553)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup
$2.run(CompletionProposalPopup.java:488)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
70)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:
482)
at org.eclipse.jface.text.contentassist.ContentAssistant
$2.run(ContentAssistant.java:376)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
134)
... 22 more

__________________________________________________________________

2.) This 2 errors happen when I hit Ctrl Space (envoking content
assist) positioned after event.


!ENTRY org.eclipse.ui 4 4 2010-08-20 11:14:28.779
!MESSAGE "Content Assist" did not complete normally. Please see the
log for more information.

!ENTRY org.eclipse.ui 4 0 2010-08-20 11:14:28.780
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.cfeclipse.cfml.dictionary.ScopeVar.getName(ScopeVar.java:51)
at
org.cfeclipse.cfml.dictionary.SyntaxDictionary.limitSet(SyntaxDictionary.java:
481)
at
org.cfeclipse.cfml.dictionary.SyntaxDictionary.getFilteredScopeVars(SyntaxDictionary.java:
217)
at
org.cfeclipse.cfml.editors.contentassist.CFMLScopeAssist.getTagProposals(CFMLScopeAssist.java:
127)
at
org.cfeclipse.cfml.editors.contentassist.CFEPrimaryAssist.collectProposals(CFEPrimaryAssist.java:
411)
at
org.cfeclipse.cfml.editors.contentassist.CFEPrimaryAssist.computeCompletionProposals(CFEPrimaryAssist.java:
362)
at
org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:
1832)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:
556)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access
$16(CompletionProposalPopup.java:553)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup
$2.run(CompletionProposalPopup.java:488)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
70)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:
482)
at
org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:
1660)
at
org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:
835)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:
1533)
at org.eclipse.ui.texteditor.ContentAssistAction
$1.run(ContentAssistAction.java:82)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
70)
at
org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:
80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:
185)
at
org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:
109)
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.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:
470)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:
824)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:
880)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:
569)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access
$3(WorkbenchKeyboard.java:510)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard
$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1208)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1368)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4053)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:346)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3946)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
194)
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:
368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
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:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

My next move will be to get latest eclipse with latest cfeclips and
try plugging coldbox dictionary again

Any suggestions greatly appreciated !!

Jelka


On 20 avg., 09:11, jelka <jelka.ko...@gmail.com> wrote:
> Hi Luis
>
> I will be glad to test the new dictionary ... will post update.
>
> Thanks for the hint
>
> Jelka
>
> On 19 avg., 18:10, Luis Majano <lmaj...@gmail.com> wrote:
>
>
>
> > HI,
>
> > The dictionaries for cfeclipse are generated now and need testing.  I posted
> > before that I need help on this.  So I would appreciate community support on
> > this one.
>
> > You can find the generators in the SVN repo under
> > /testing/tools/IDEDictionaries
>
> > Thanks
>
> > Luis F. Majano
> > President
> > Ortus Solutions, Corp
>
> > ColdBox Platform:http://www.coldbox.org
> > Linked In:http://www.linkedin.com/pub/3/731/483
> > Blog:http://www.luismajano.com

Luis Majano

unread,
Aug 20, 2010, 10:41:40 AM8/20/10
to col...@googlegroups.com
Gear jelka. I think those are real bugs on cfeclipse and maybe not the dictionary.

Maybe we should post on the cfeclipse list also

Sent from my iPhone

Reply all
Reply to author
Forward
0 new messages