0 Replies Latest reply on May 20, 2009 2:45 PM by Tungsten Chef

    Flex / Coldfusion wizard null pointer exception

    Tungsten Chef Level 1

      I'm getting an exception when trying to finish the Flex/Coldfusion wizard.  It only happens on detail pages, and only for certain table names.  For example, if the table is named "poolreadings" it will work, but if it's named "poolreadings2" it will fail.  It's the latest version of Flex Builder, ColdFusion, and MySQL 5.1.

       

      This is the log for the exception:

      !ENTRY com.adobe.coldfusion.wizards.appgeneration 4 1 2009-05-19 20:01:25.750
      !MESSAGE Error while building output
      !STACK 1
      org.eclipse.core.runtime.CoreException:
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.writeDetailCFC(Unknown Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.writeCFC(Unknown Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.recursiveCFCCreate(Unkn own Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.recursiveCFCCreate(Unkn own Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.recursiveCFCCreate(Unkn own Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.createGeneratedCFMLFile s(Unknown Source)
          at com.adobe.coldfusion.wizards.superwizard.MXMLSuperWizard.doFileGeneration(Unknown Source)
          at com.adobe.coldfusion.wizards.superwizard.BaseSuperWizard.performFinish(Unknown Source)
          at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
          at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
          at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
          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.actions.NewWizardAction.run(NewWizardAction.java:182)
          at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.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 com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :112)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:106)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a: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)
          at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
      org.eclipse.core.runtime.CoreException[0]: java.lang.NullPointerException
          at com.adobe.coldfusion.common.filetypes.CFCFile.setCfcBeanName(Unknown Source)
          at com.adobe.coldfusion.common.filetypes.CFCBean.<init>(Unknown Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.writeDetailCFC(Unknown Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.writeCFC(Unknown Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.recursiveCFCCreate(Unkn own Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.recursiveCFCCreate(Unkn own Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.recursiveCFCCreate(Unkn own Source)
          at com.adobe.coldfusion.wizards.superwizard.generators.CFMLGenerator.createGeneratedCFMLFile s(Unknown Source)
          at com.adobe.coldfusion.wizards.superwizard.MXMLSuperWizard.doFileGeneration(Unknown Source)
          at com.adobe.coldfusion.wizards.superwizard.BaseSuperWizard.performFinish(Unknown Source)
          at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
          at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
          at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
          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.actions.NewWizardAction.run(NewWizardAction.java:182)
          at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.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 com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :112)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:106)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a: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)
          at org.eclipse.equinox.launcher.Main.main(Main.java:1148)

       

      I've tried all sorts of configurations in the wizard, and uninstalled and reinstalled the ColdFusion Extensions for Eclipse and I still get the same thing.  Help!