Project: mulestudio
Issue STUDIO-3002: DataSense: NPE when clicking OK in the object builder without configuring the object 
Steps to reproduce: 1.- Create a SFC connection 2.- Configure a CC in the canvas, and set the operation to Create 3.- Select any sObject Type 4.- Clic the radio button to create the object manually, and clic in the object button 5.- Clic OK without configuring any parameter in the object Issue: the followed NPE is raised: {code} java.lang.NullPointerException org.mule.tooling.ui.modules.core.metadata.BuildMetadataActionHandler.edit(BuildMetadataActionHandler.java:56) org.mule.tooling.ui.modules.core.widgets.meta.ChildControllerFieldEditor.onEdit(ChildControllerFieldEditor.java:73) org.mule.tooling.ui.modules.core.widgets.meta.ChildControllerFieldEditor$1.widgetSelected(ChildControllerFieldEditor.java:60) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4134) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3980) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3619) org.eclipse.jface.window.Window.runEventLoop(Window.java:825) org.eclipse.jface.window.Window.open(Window.java:801) org.mule.tooling.messageflow.editpart.PatternEditPart.editRequested(PatternEditPart.java:132) org.mule.tooling.messageflow.editpart.EntityEditPart.performRequest(EntityEditPart.java:145) org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194) org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137) org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069) org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:527) org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231) org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291) org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:196) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4134) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3980) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3619) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) org.eclipse.equinox.launcher.Main.run(Main.java:1438) {code}
Story points: 1