I’m returning to webMethods after a few years on another project.
I’m trying to develop a new inbox landing page using the business console but the first, and very basic, problem I encountered is the following exception on trying to deploy the HelloWorld example from the documentation.
I am working with webMethods 10.3 & the business console default tabs all work ok, but I can’t see what the problem with the deployment is.
I deployed using Designer to a remote MWS & have tried both a Portlet project & a Gadget project with the same result.
looks like one of the XML files in the project has additional content before the “<?xml ... ?>” tag.
Or one of these files does not match its encoding with the encoding specified in th xml-tag.
On checking the xml files I can see that the gadgetDefinition.xml is empty & complaining about it!
On adding information in the editor it doesn’t allow me to save & the xml never updates.
Am I missing something in Designer do you think - I was just following the documentation
Designer logs show this error
!ENTRY org.eclipse.ui 4 0 2021-01-06 15:49:17.074
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.webmethods.caf.bc.gadgets.editors.pages.GadgetDefinitionPage.initialize(GadgetDefinitionPage.java:727)
at com.webmethods.caf.bc.gadgets.editors.pages.GadgetDefinitionPage.setActive(GadgetDefinitionPage.java:720)
at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:495)
at org.eclipse.ui.part.MultiPageEditorPart.lambda$1(MultiPageEditorPart.java:285)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:802)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3175)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1858)
at org.eclipse.swt.custom.CTabFolder.lambda$0(CTabFolder.java:328)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)