tWebService throwing Null Pointer Exception

Problem Description

Using the tWebService component to import the wsdl file or create the metadata, throws the following Null Pointer Exception:

 

ENTRY org.eclipse.jface 4 2 2019-03-05 11:21:58.838
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at org.talend.designer.webservice.ui.WebServiceUI.isExpanded(WebServiceUI.java:3629)
at org.talend.designer.webservice.ui.WebServiceUI.access$42(WebServiceUI.java:3619)
at org.talend.designer.webservice.ui.WebServiceUI$16$3.get(WebServiceUI.java:1984)
at org.talend.designer.webservice.ui.WebServiceUI$16$3.get(WebServiceUI.java:1)
at org.talend.commons.ui.runtime.swt.tableviewer.data.AccessorUtils.get(AccessorUtils.java:38)
at org.talend.commons.ui.runtime.swt.tableviewer.behavior.DefaultTableLabelProvider.getColumnText(DefaultTableLabelProvider.java:72)
at org.eclipse.jface.viewers.TableColumnViewerLabelProvider.update(TableColumnViewerLabelProvider.java:66)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:154)
at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:385)
at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:472)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2150)
at org.talend.commons.ui.runtime.swt.tableviewer.TableViewerCreatorNotModifiable$1.access$1(TableViewerCreatorNotModifiable.java:1)
at org.talend.commons.ui.runtime.swt.tableviewer.TableViewerCreatorNotModifiable$1$1.handleEvent(TableViewerCreatorNotModifiable.java:599)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)
at org.eclipse.swt.widgets.Table.checkData(Table.java:1180)
at org.eclipse.swt.widgets.Table.wmNotifyChild(Table.java:6783)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:5618)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1935)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:5169)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4666)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5036)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2443)
at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:578)
at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:444)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4705)
at org.eclipse.swt.widgets.Table.windowProc(Table.java:5939)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5023)
at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:3302)
at org.eclipse.swt.widgets.Table.clearAll(Table.java:1455)
at org.eclipse.jface.viewers.TableViewer.doClearAll(TableViewer.java:263)
at org.eclipse.jface.viewers.AbstractTableViewer.internalVirtualRefreshAll(AbstractTableViewer.java:646)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:617)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:607)
at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1500)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1436)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1397)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1497)
at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:521)
at org.talend.commons.ui.runtime.swt.tableviewer.TableViewerCreatorNotModifiable$1.refresh(TableViewerCreatorNotModifiable.java:554)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1456)
at org.talend.commons.ui.runtime.swt.tableviewer.TableViewerCreatorNotModifiable$1.refresh(TableViewerCreatorNotModifiable.java:500)
at org.talend.designer.webservice.ui.WebServiceUI.refreshTableView(WebServiceUI.java:3902)
at org.talend.designer.webservice.ui.WebServiceUI$2.widgetSelected(WebServiceUI.java:1166)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:782)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3110)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1794)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:283)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at org.talend.designer.webservice.WebServiceComponentMain.createDialog(WebServiceComponentMain.java:73)
at org.talend.designer.webservice.WebServiceComponent.open(WebServiceComponent.java:98)
at org.talend.designer.core.ui.editor.nodes.NodePart.performRequest(NodePart.java:571)
at org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194)
at org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137)
at org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069)
at org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:527)
at org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:196)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

 

Root Cause

This is a known bug.

 

Solution

This issue is fixed in Talend 7.2.1.

 

Workaround

Edit your .ini file, in this case, Talend-Studio-win-x86_64.ini, and add the following parameter:

-Dtalend.table.disableLazyLoading=true
Version history
Revision #:
8 of 8
Last update:
‎05-28-2019 01:21 PM
Updated by: