Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tNetsuiteInput casting exception for v7.1.1.20181026_1147 component

Hello, 

 

When selecting a record type using the tNetsuiteInput component, the below casting exception gets logged and thrown. The connection component and output component appear to work fine. Can anyone duplicate this error?

 

!MESSAGE 2018-12-01 09:22:27,488 ERROR org.talend.commons.exception.CommonExceptionHandler - org.talend.components.netsuite.input.NetSuiteInputProperties cannot be cast to org.talend.components.netsuite.connection.NetSuiteConnectionProperties

!STACK 0
java.lang.ClassCastException: org.talend.components.netsuite.input.NetSuiteInputProperties cannot be cast to org.talend.components.netsuite.connection.NetSuiteConnectionProperties
at org.talend.components.netsuite.connection.NetSuiteConnectionProperties.getReferencedConnectionProperties(NetSuiteConnectionProperties.java:215)
at org.talend.components.netsuite.connection.NetSuiteConnectionProperties.getEffectiveConnectionProperties(NetSuiteConnectionProperties.java:195)
at org.talend.components.netsuite.input.NetSuiteInputProperties.getConnectionProperties(NetSuiteInputProperties.java:78)
at org.talend.components.netsuite.NetSuiteComponentDefinition.getRuntimeInfo(NetSuiteComponentDefinition.java:122)
at org.talend.components.netsuite.input.NetSuiteInputDefinition.getRuntimeInfo(NetSuiteInputDefinition.java:51)
at org.talend.designer.core.generic.model.Component.getModulesNeeded(Component.java:1224)
at org.talend.designer.core.ui.editor.nodes.Node.getModulesNeeded(Node.java:5383)
at org.talend.designer.core.utils.JavaProcessUtil.addNodeRelatedModules(JavaProcessUtil.java:344)
at org.talend.designer.core.utils.JavaProcessUtil.getNeededModules(JavaProcessUtil.java:264)
at org.talend.designer.core.utils.JavaProcessUtil.getNeededModules(JavaProcessUtil.java:256)
at org.talend.designer.core.DesignerCoreService.getNeededModules(DesignerCoreService.java:776)
at org.talend.librariesmanager.prefs.LibrariesManagerUtils.getNotInstalledModules(LibrariesManagerUtils.java:91)
at org.talend.librariesmanager.model.service.AbstractLibrariesService.getProblems(AbstractLibrariesService.java:224)
at org.talend.librariesmanager.model.service.LibrariesService.getProblems(LibrariesService.java:93)
at org.talend.designer.core.ui.editor.nodes.Node.checkModules(Node.java:3292)
at org.talend.designer.core.ui.editor.nodes.Node.checkNode(Node.java:4234)
at org.talend.designer.core.ui.editor.nodes.Node.checkAndRefreshNode(Node.java:4223)
at org.talend.designer.core.ui.editor.properties.controllers.TableController$1.handleEvent(TableController.java:129)
at org.talend.commons.utils.data.list.ListenableList.fireEvent(ListenableList.java:780)
at org.talend.commons.utils.data.list.ListenableList.fireListRegisteredEvent(ListenableList.java:765)
at org.talend.commons.utils.data.list.ListenableList.registerList(ListenableList.java:868)
at org.talend.commons.ui.runtime.swt.tableviewer.TableViewerCreatorNotModifiable.setInputList(TableViewerCreatorNotModifiable.java:397)
at org.talend.commons.ui.runtime.swt.tableviewer.TableViewerCreatorNotModifiable.init(TableViewerCreatorNotModifiable.java:373)
at org.talend.designer.core.ui.editor.properties.controllers.TableController.refresh(TableController.java:293)
at org.talend.designer.core.ui.views.properties.MultipleThreadDynamicComposite.operationInThread(MultipleThreadDynamicComposite.java:718)
at org.talend.repository.generic.ui.DynamicComposite.operationInThread(DynamicComposite.java:505)
at org.talend.designer.core.ui.views.properties.MultipleThreadDynamicComposite$5.run(MultipleThreadDynamicComposite.java:665)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
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)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.talend.rcp.intro.Application.start(Application.java:265)
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:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
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:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

 

0683p000009M1Fe.png

Labels (3)
4 Replies
Anonymous
Not applicable
Author

Hello,

Are you using tNetsuiteConnection component in your workflow? Could you please show us your whole job design screenshots which will be helpful for us to diagnose your  issue?

Best regards

Sabrina

Anonymous
Not applicable
Author

I was not using a tNetsuiteConnection in the flow. It was just the tNetsuiteInput on the canvas that threw the exception.

Anonymous
Not applicable
Author

Hi,

 

I am getting the same error  when using the connection details in the netsuiteinput component. If i add the record type as custom in the record type selection, i am able to get the data.

0683p000009M352.png

But we don't have any option to add custom field in the 'search condition' so there is no way to filter the data according to a field.

@Moe  were you help able to find any solution?

 

Thanks,

Shrikant

 

Anonymous
Not applicable
Author

any movement on this issue? seeing the same.