Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
NicholasN
Contributor II
Contributor II

tGoogleDriveConnection issues - Process is doing absolutely nothing.

I am attempting to integrate the Google drive API components into a job, however I am running into an issue I cannot seem to overcome. When attempting to use any of those components, the job does absolutely nothing.

In this example, I have a job that has a tJava at the start that does nothing but print out "Start" to the console, then a tGoogleDriveConnection, then another tJava which will print out "End" to the console. And neither the start nor the end actually print anything to the console. There are no error messages, no success message, no any messages. What might be happening in this situation to cause this issue?

I have also tried building a job exactly identical to the example provided in the tGoogleDriveConnection properties page, https://help.talend.com/r/en-US/8.0/google-drive/tgoogledriveconnection, and the exact same situation occurred.

Using Talend Open Studio for BigData Version: 8.0.1

Labels (2)
3 Replies
Anonymous
Not applicable

I can not reproduce the issue in my side.

Could you please try to create a very simple job with only tJava component with content System.out.println("test"); then run the job, if it still doesn't output any anything, then there is some issue about the studio

it's suggested to restart studio by changing a new workspace to re-try?

0695b00000Z0nrdAAB.png

NicholasN
Contributor II
Contributor II
Author

I apologize for the late response, with the holidays and everything else going on I have been distracted and missed the response.

 

I build and run jobs from scratch all the time. They all work without issues. It is just with the google components that the issue occurs. As soon as I toss any of them into the job, that happens.

 

0695b00000aDLLKAA4.pngThis is per your request. Built, ran, no problems.

 

Now I just add a tgoogledriveconnection component, and configure it so that it should be able to run.

0695b00000aDLOYAA4.pngNow the tjava console response doesn't even occur. If I try to build the job, I get the following error:

org.talend.commons.exception.PersistenceException: com.cedarsoftware.util.io.JsonIoException: JsonIoException setting field 'status' on target: OK null with value: {name=null}

at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:303)

at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:211)

at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJobs(BuildJobManager.java:126)

at org.talend.repository.ui.wizards.exportjob.JobScriptsExportWizardPage.buildJobWithMaven(JobScriptsExportWizardPage.java:1549)

at org.talend.repository.ui.wizards.exportjob.JobScriptsExportWizardPage$9.run(JobScriptsExportWizardPage.java:1434)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Caused by: com.cedarsoftware.util.io.JsonIoException: JsonIoException setting field 'status' on target: OK null with value: {name=null}

at com.cedarsoftware.util.io.ObjectResolver.assignField(ObjectResolver.java:229)

at com.cedarsoftware.util.io.ObjectResolver.traverseFields(ObjectResolver.java:85)

at com.cedarsoftware.util.io.Resolver.convertMapsToObjects(Resolver.java:184)

at com.cedarsoftware.util.io.JsonReader.convertParsedMapsToJava(JsonReader.java:747)

at com.cedarsoftware.util.io.JsonReader.readObject(JsonReader.java:694)

at com.cedarsoftware.util.io.JsonReader.jsonToJava(JsonReader.java:426)

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:1573)

at org.talend.designer.core.ui.editor.process.Process.loadElementParameters(Process.java:1328)

at org.talend.designer.core.ui.editor.process.Process.loadElementParameters(Process.java:1302)

at org.talend.designer.core.ui.editor.process.Process.loadNode(Process.java:2512)

at org.talend.designer.core.ui.editor.process.Process.loadNode(Process.java:2491)

at org.talend.designer.core.ui.editor.process.Process.loadNodes(Process.java:2416)

at org.talend.designer.core.ui.editor.process.Process.loadXmlFile(Process.java:2178)

at org.talend.designer.core.ProcessConvertServiceImpl.getProcessFromItem(ProcessConvertServiceImpl.java:22)

at org.talend.designer.core.DesignerCoreService.getProcessFromItemByExtendion(DesignerCoreService.java:163)

at org.talend.designer.core.DesignerCoreService.getProcessFromProcessItem(DesignerCoreService.java:146)

at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1085)

at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1006)

at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1877)

at org.talend.repository.ui.wizards.exportjob.handler.BuildJobHandler.generateJobFiles(BuildJobHandler.java:202)

at org.talend.repository.ui.wizards.exportjob.handler.AbstractBuildJobHandler.prepare(AbstractBuildJobHandler.java:379)

at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager$1.run(BuildJobManager.java:263)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2338)

at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:297)

... 5 more

Caused by: com.cedarsoftware.util.io.JsonIoException: Class listed in @type [org.talend.daikon.properties.ValidationResult$Result] is not found

at com.cedarsoftware.util.io.ObjectResolver.readIfMatching(ObjectResolver.java:629)

at com.cedarsoftware.util.io.ObjectResolver.assignField(ObjectResolver.java:151)

... 32 more

Caused by: java.lang.NullPointerException: Name is null

at java.base/java.lang.Enum.valueOf(Enum.java:271)

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:625)

... 33 more

 

This is Talend Bigdata 8.0.1.20211109_1610. This was a fresh workspace, fresh job.

NicholasN
Contributor II
Contributor II
Author

I have also procured an absolutely fresh version of Talend BD 8.0.1. I put in a tjava that has nothing except "System.out.println("Starting");"

 

When I run that, it prints out "Starting" to the console.

 

I add a tGoogleDriveConnection, and the console returns nothing. I remove the tGoggleDriveConnection component, leaving just the tjava, and the console continues to return nothing.