Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have Talend Open Studio for Data Integration 7.0.1 installed. When I create connection with tGoogleDriveConnection all works seamlessly.
When I parametrize it and try to test it, connection is still working, but when I pull it from metadata into Development canvas I get UNEXPECTED_EXCEPTION error (UNEXPECTED_EXCEPTION.png
).
Following entry is present in the log file :
!ENTRY org.eclipse.jface 4 2
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
org.talend.daikon.exception.TalendRuntimeException: UNEXPECTED_EXCEPTION
at org.talend.daikon.exception.TalendRuntimeException.unexpectedException(TalendRuntimeException.java:111)
at org.talend.daikon.properties.property.EnumProperty.getValue(EnumProperty.java:55)
at org.talend.daikon.properties.property.EnumProperty.getValue(EnumProperty.java:22)
at org.talend.components.google.drive.connection.GoogleDriveConnectionProperties.refreshLayout(GoogleDriveConnectionProperties.java:224)
at org.talend.daikon.properties.PropertiesImpl.refreshAllFormsLayout(PropertiesImpl.java:231)
at org.talend.daikon.properties.PropertiesImpl.initLayout(PropertiesImpl.java:224)
at org.talend.daikon.properties.PropertiesImpl.init(PropertiesImpl.java:119)
at org.talend.daikon.properties.Properties$Helper.fromSerializedPersistent(Properties.java:281)
at org.talend.designer.core.generic.utils.ComponentsUtils.getComponentPropertiesFromSerialized(ComponentsUtils.java:783)
at org.talend.repository.generic.service.GenericWizardService.getAllComponentProperties(GenericWizardService.java:238)
at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.talend.sdk.component.studio.Lookups$EnrichedGlobalServiceRegister.lambda$0(Lookups.java:159)
at com.sun.proxy.$Proxy112.getAllComponentProperties(Unknown Source)
at org.talend.designer.core.ui.editor.cmd.ChangeValuesFromRepository.execute(ChangeValuesFromRepository.java:307)
at org.eclipse.gef.commands.CompoundCommand.execute(CompoundCommand.java:111)
at org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:199)
at org.talend.designer.core.ui.editor.process.TalendEditorDropTargetListener.execCommandStack(TalendEditorDropTargetListener.java:2035)
at org.talend.designer.core.ui.editor.process.TalendEditorDropTargetListener.createNewComponent(TalendEditorDropTargetListener.java:1145)
at org.talend.designer.core.ui.editor.process.TalendEditorDropTargetListener.handleDrop(TalendEditorDropTargetListener.java:564)
at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(AbstractTransferDropTargetListener.java:183)
at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:219)
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.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:216)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:91)
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.dnd.DropTarget.Drop(DropTarget.java:456)
at org.eclipse.swt.dnd.DropTarget.Drop_64(DropTarget.java:392)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:260)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
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)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Caused by: java.lang.ClassNotFoundException: org.talend.components.google.drive.connection.GoogleDriveConnectionProperties.OAuthMethod
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.ContextFinder.loadClass(ContextFinder.java:131)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:909)
at org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:975)
at org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:958)
at org.talend.daikon.properties.property.EnumProperty.getValue(EnumProperty.java:52)
... 66 more
Moreover when the connection is pulled from metadata all the fields are empty (googleDriveConnection_componentProperties.png
), I tried to put the context by hand, and when I try to run the job nothing happens except run button gets greyed out.
However if I try to build a job and run it from cmd through the .bat file, it works fine.
Did anybody experienced the same issue?
Thanks
Hello,
Did you follow up this online documentation to set up your google drive connection in metadata?
TalendHelpCenter: Centralizing Google Drive metadata
Could you please try to use talend open studio for data integration V 7.3.1 to see if this issue repro?
Best regards
Sabrina
Hello,
yes, I followed that documentation.
Regarding the installation for talend open studio for data integration V 7.3.1 I can't do it at the moment, but will try soon. Will let you know if the issue still exists in that version as soon as I install it.
Thanks,
Marijan