Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Talend Community,
When I import the code it shows on the repository but I am unable to open the code it gives below error message in popup, please advice and appreciate your help...
Error message: An error has occurred. See error log for more details.
Class listed in @type [org.talend.components.snowflake.tsnowflakeconnection.AuthenticationType] is not found
Thanks,
Kishore.
Hello @Kishore Babu ,
Could you please confirm if you are importing code from the lower version to the higher version or vice versa? Please provide us the version of the talend you are using.
Regards,
Vaishnavi
Hello Vaishnavi,
Thanks for your response, i am just copying the code from the co-worker Talend studio (Talend Real-time Dig Data Platform - 7.3.1-R2020-06 ) where his able to open the code, however iam unable to open below is my version what i use in my machine.
(Talend Real-time Big Data Platform
Version: 7.3.1
Build id: 20200219_1130 )
Java vesrion :
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) Client VM (build 25.202-b08, mixed mode)
Thanks
Kishore.
Hello,
Could you please give us some detailed step to reproduce your issue?
In addition, if you don't mind, could you please open the error log generated automatically by the Studio to see whether you have error stack trace there; if you do, we will appreciate it a lot if you can paste it here.
About how to open this error log: in your Studio, click Window to open the menu, then select Show View->General->Error Log. Once you see an error, double click it.
Best regards
Sabrina
Hello Sabrina,
Thank you for your response, please find below is the screenshot and error logs, and also wanted to add this when I import other jobs without Snowflakes components it works fine I am able to open the code not those jobs which has snowflakes components.
Error Log:
eclipse.buildId=unknown
java.version=1.8.0_202
java.vendor=Azul Systems, Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
org.eclipse.jface
Error
Tue Mar 16 09:44:30 EDT 2021
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
com.cedarsoftware.util.io.JsonIoException: Class listed in @type [org.talend.components.snowflake.tsnowflakeconnection.AuthenticationType] is not found
at com.cedarsoftware.util.io.ObjectResolver.readIfMatching(ObjectResolver.java:639)
at com.cedarsoftware.util.io.ObjectResolver.traverseCollection(ObjectResolver.java:389)
at com.cedarsoftware.util.io.Resolver.convertMapsToObjects(Resolver.java:169)
at com.cedarsoftware.util.io.JsonReader.convertParsedMapsToJava(JsonReader.java:752)
at com.cedarsoftware.util.io.JsonReader.readObject(JsonReader.java:699)
at com.cedarsoftware.util.io.JsonReader.jsonToJava(JsonReader.java:423)
at org.talend.daikon.serialize.SerializerDeserializer.fromSerialized(SerializerDeserializer.java:171)
at org.talend.daikon.serialize.SerializerDeserializer.fromSerialized(SerializerDeserializer.java:135)
at org.talend.daikon.properties.Properties$Helper.fromSerializedPersistent(Properties.java:277)
at org.talend.designer.core.generic.model.Component.initNodePropertiesFromSerialized(Component.java:1565)
at org.talend.designer.core.ui.editor.process.Process.loadElementParameters(Process.java:1316)
at org.talend.designer.core.ui.editor.process.Process.loadElementParameters(Process.java:1290)
at org.talend.designer.core.ui.editor.process.Process.loadNode(Process.java:2482)
at org.talend.designer.core.ui.editor.process.Process.loadNode(Process.java:2461)
at org.talend.designer.core.ui.editor.process.Process.loadNodes(Process.java:2386)
at org.talend.designer.core.ui.editor.process.Process.loadXmlFile(Process.java:2149)
at org.talend.core.ui.editor.JobEditorInput.loadProcess(JobEditorInput.java:119)
at org.talend.core.ui.editor.JobEditorInput.checkInit(JobEditorInput.java:76)
at org.talend.core.ui.editor.JobEditorInput.<init>(JobEditorInput.java:68)
at org.talend.designer.core.ui.editor.ProcessEditorInput.<init>(ProcessEditorInput.java:39)
at org.talend.designer.core.ui.editor.ProcessEditorInput.<init>(ProcessEditorInput.java:34)
at org.talend.designer.core.ui.action.EditProcess.getEditorInput(EditProcess.java:166)
at org.talend.designer.core.ui.action.EditProcess.doRun(EditProcess.java:145)
at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:673)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:99)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:258)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3553)
at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:2412)
at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:686)
at org.talend.repository.viewer.action.RepoDoubleClickAction.executeAction(RepoDoubleClickAction.java:251)
at org.talend.repository.viewer.action.RepoDoubleClickAction.run(RepoDoubleClickAction.java:138)
at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:219)
at org.eclipse.ui.navigator.CommonNavigatorManager$1.open(CommonNavigatorManager.java:183)
at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:49)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:853)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:47)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:176)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:850)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1165)
at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:454)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:276)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:271)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
at org.talend.rcp.intro.Application.start(Application.java:280)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
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:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
Caused by: java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Enum.java:236)
at com.cedarsoftware.util.io.Resolver.getEnum(Resolver.java:515)
at com.cedarsoftware.util.io.Resolver.createJavaObjectInstance(Resolver.java:380)
at com.cedarsoftware.util.io.ObjectResolver.readIfMatching(ObjectResolver.java:635)
... 69 more
Thanks,
Kishore.
Hello,
Can Snowflake components be displayed from your palette?
I'm supposing that your installation of Talend Real-time big Data Platform is not complete as snowflake components are available in Talend Real-time big Data platform solution.
Best regards
Sabrina