Project: mulestudio
Issue STUDIO-3539: AssertionFailedError when using Zuora with QueryBuidler
# Install Zuora connector; # create a connector config-ref with credentials # Select find operation # go to query builder # select Account object You receive the following exception: org.eclipse.core.runtime.AssertionFailedException: null argument: org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85) org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73) org.eclipse.jface.viewers.StructuredViewer.assertElementsNotNull(StructuredViewer.java:597) org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:1011) org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703) org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1351) org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:391) org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:917) org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:620) org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:820) org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:797) org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:644) org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:768) org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1548) org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:833) org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1532) org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1443) org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403) org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404) org.eclipse.jface.viewers.CheckboxTreeViewer.preservingSelection(CheckboxTreeViewer.java:416) org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1525) org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:280) org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1690) org.mule.tooling.ui.modules.core.metadata.query.SelectAllFilteredTree.setInput(SelectAllFilteredTree.java:260) org.mule.tooling.ui.modules.core.metadata.query.QueryBuilderInnerEditor$6.selectionChanged(QueryBuilderInnerEditor.java:407) org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162) org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188) org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211) org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241) org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239) org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233) org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136) 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:3982) org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4871) org.eclipse.swt.widgets.Display.applicationProc(Display.java:5241) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221) org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1093) org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2052) org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1085) org.eclipse.swt.widgets.Control.mouseDown(Control.java:2538) org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2007) org.eclipse.swt.widgets.Display.windowProc(Display.java:5495) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221) org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2102) org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2299) org.eclipse.swt.widgets.Display.windowProc(Display.java:5559) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5004) org.eclipse.swt.widgets.Display.applicationProc(Display.java:5153) org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3618) org.eclipse.jface.window.Window.runEventLoop(Window.java:825) org.eclipse.jface.window.Window.open(Window.java:801) org.mule.tooling.ui.modules.core.metadata.query.QueryCustomEditor$3.widgetSelected(QueryCustomEditor.java:298) 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:4136) 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:3982) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3621) 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) Zuora connector code is under the query branch: https://github.com/mulesoft/zuora-connector/tree/query
Story points: 3