Please Help -> Saving CFEclipse Preferences -> java.lang.NullPointerException

46 views
Skip to first unread message

Thomas D.

unread,
Apr 7, 2008, 8:19:39 PM4/7/08
to CFEclipse Users
I have tried completely removing Eclipse and my Java JRE, downloading
and reinstalling everything fresh. No matter what I try, when I change
ANY CFEclipse preferences, and then click the "OK" button, I get the
error message below. If CFEclipse is not installed, everything works
fine. It's the strangest thing. Does anyone have any ideas?

Vista 32bit Ultimate, Eclipse 3.3.2, CFEclipse 1.3.1.6, Java JRE
1.6.0_05-b13

!ENTRY org.eclipse.jface 4 0 2008-04-07 08:00:08.754
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.cfeclipse.cfml.preferences.CFMLPreferencePage.performOk(CFMLPreferencePage.java:
325)
at org.eclipse.jface.preference.PreferenceDialog
$12.run(PreferenceDialog.java:926)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
at
org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:
906)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:
374)
at
org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.okPressed(WorkbenchPreferenceDialog.java:
164)
at
org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:
233)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:
65)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:
546)
at org.eclipse.jface.action.ActionContributionItem.access
$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem
$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
176)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Muchas gracias!

Sonny Savage

unread,
Apr 7, 2008, 10:43:54 PM4/7/08
to cfeclip...@googlegroups.com
Eclipse 3.3.x specifies Java 1.5, have you tried that?  I'm on XP and not Vista, so I can't comment on that combination.
--
Edward A Savage Jr - "Sonny"
Senior Software Engineer
Creditdiscovery, LLC
"I was gratified to be able to answer promptly. I said I don't know." ~ Mark Twain

Thomas D.

unread,
Apr 8, 2008, 11:39:16 AM4/8/08
to CFEclipse Users
Just tried installing JRE 1.5.0_15-b04. Exact same problem.

Can anyone point me to trying to debug this myself?

Thanks,
Thomas

Marc Esher

unread,
Apr 8, 2008, 12:06:33 PM4/8/08
to cfeclip...@googlegroups.com
i think this is a gen-yoo-ine bug. i've gotten it ever since upgrading
to 1.3.1.5 and eclipse 3.3. i'm not certain, though, that it actually
prevents the preferences from saving. Does it stop your preferences
saving?

Kurt Wiersma

unread,
Apr 8, 2008, 9:25:16 PM4/8/08
to cfeclip...@googlegroups.com
I get this error all the time as well.

--Kurt

Stephen Davison

unread,
Apr 9, 2008, 9:34:14 AM4/9/08
to CFEclipse Users
You might want to open an issue for this on the CFEclipse Trac site.

On Apr 8, 7:25 pm, "Kurt Wiersma" <kwier...@gmail.com> wrote:
> I get this error all the time as well.
> --Kurt
>

jhgoodwin

unread,
Apr 10, 2008, 2:01:48 PM4/10/08
to CFEclipse Users
I've always gotten this error that I can remember.

It annoys me since I need 4.5/5 syntax only.

I checked the site, and it shows a re-opened bug that's been there 9
months.

John
> > > org.cfeclipse.cfml.preferences.CFMLPreferencePage.performOk(CFMLPreferenceP­age.java:
> > > >  > > 325)
> > > >  > >        at org.eclipse.jface.preference.PreferenceDialog
> > > >  > > $12.run(PreferenceDialog.java:926)
> > > >  > >        at
> > > org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> > > >  > >        at org.eclipse.core.runtime.Platform.run(Platform.java:857)
> > > >  > >        at
> > > org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
> > > >  > >        at
> > > org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
> > > >  > >        at
>
> > > org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.ja­va:
> > > >  > > 906)
> > > >  > >        at
>
> > > org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(Filtered­PreferenceDialog.java:
> > > >  > > 374)
> > > >  > >        at
>
> > > org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.okPressed(Workben­chPreferenceDialog.java:
> > > >  > > 164)
> > > >  > >        at
>
> > > org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialo­g.java:
> > > >  > > 233)
> > > >  > >        at
> > > >  > > org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
> > > >  > >        at
>
> > > org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
> > > >  > > 227)
> > > >  > >        at
> > > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> > > >  > >        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> > > >  > >        at
> > > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
> > > >  > > 3682)
> > > >  > >        at
> > > >  > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
> > > >  > >        at
> > > org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
> > > >  > >        at org.eclipse.jface.window.Window.open(Window.java:796)
> > > >  > >        at
>
> > > org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.jav­a:
> > > >  > > 65)
> > > >  > >        at
> > > org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> > > >  > >        at
>
> > > org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Actio­nContributionItem.java:
> > > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication­.java:
> > > >  > > 106)
> > > >  > >        at
>
> > > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java­:
> > > >  > > 169)
> > > >  > >        at
>
> > > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication­(EclipseAppLauncher.java:
> > > >  > > 106)
> > > >  > >        at
>
> > > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseA­ppLauncher.java:
> > > >  > Twain- Hide quoted text -
>
> - Show quoted text -

Stephen Davison

unread,
Apr 10, 2008, 2:32:49 PM4/10/08
to CFEclipse Users
What's the bug ID?

Thomas D.

unread,
Apr 11, 2008, 5:33:50 PM4/11/08
to CFEclipse Users
I see a java.lang.NullPointerException error for changing the
ColdFusion version that was closed (and a duplicate ticket), bug 327
and bug 355. But I don't see anything that relates to
java.lang.NullPointerException for changing settings within the
CFEclipse node.

If a few more people relay that they also experience the problem, I'll
put in a ticket.

T

Christopher Bradford

unread,
Apr 11, 2008, 6:35:14 PM4/11/08
to cfeclip...@googlegroups.com
I do see this problem and when it happens, it doesn't save the
preference change I made.

--
Christopher Bradford

Jason Brookins

unread,
Apr 12, 2008, 11:01:59 AM4/12/08
to CFEclipse Users
Last I read about this one was Mark suggesting that this would be
corrected in the next release. I don't know when the next release is
planned, but I've also been waiting for this one for a while since I
do about half my work in CF5.

-jb

denstar

unread,
Apr 12, 2008, 1:51:56 PM4/12/08
to cfeclip...@googlegroups.com
The version I put up in the files section doesn't seem to exhibit this problem.

I was messing with the preferences tho, testing out a more
consolidated tree for the options.

http://tinyurl.com/6myjks (picture of layout)

The version in the files section is just 1.3.5 a little patched up,
with a couple of attempts at added features (mark occurrences and
configurable double-click selection behavior), even tho it says 1.3.6
(I'd added that to make it easy to install, back when 1.3.5 was the
current version).

FWIW, HIH,
:Den

Reply all
Reply to author
Forward
0 new messages