<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Exception in component connectionStatsLogs in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-connectionStatsLogs/m-p/2353270#M119505</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Did you have misconfigured parameter "Db Version" in "Stats &amp;amp; Logs"?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Sun, 08 Apr 2018 07:17:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-08T07:17:11Z</dc:date>
    <item>
      <title>Exception in component connectionStatsLogs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-connectionStatsLogs/m-p/2353269#M119504</link>
      <description>&lt;P&gt;I am trying to run a job which was built by a different&amp;nbsp;developer who I cannot get in touch with. &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The job shows a&amp;nbsp;comiple errror. &amp;nbsp;From the error it looks like there is a string&amp;nbsp;&lt;SPAN&gt;REPLACEWITHYOURPASSWORD somewhere in the code&amp;nbsp;which is not enclosed in quotes thus it is expecting it to be a variable. &amp;nbsp;But am not able to find where exactly it is in the code.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;org.talend.designer.runprocess.ProcessorException: Job compile errors&lt;BR /&gt;At least job "jobname" has a compile errors, please fix and export again.&lt;BR /&gt;Error Line: 15697&lt;BR /&gt;Detail Message: REPLACEWITHYOURPASSWORD cannot be resolved to a variable&lt;BR /&gt;There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.&lt;BR /&gt;at org.talend.designer.runprocess.JobErrorsChecker.checkLastGenerationHasCompilationError(JobErrorsChecker.java:328)&lt;BR /&gt;at org.talend.designer.runprocess.DefaultRunProcessService.checkLastGenerationHasCompilationError(DefaultRunProcessService.java:380)&lt;BR /&gt;at org.talend.designer.runprocess.RunProcessService.checkLastGenerationHasCompilationError(RunProcessService.java:292)&lt;BR /&gt;at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:656)&lt;BR /&gt;at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:545)&lt;BR /&gt;at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1506)&lt;BR /&gt;at org.talend.designer.runprocess.RunProcessContext$1.run(RunProcessContext.java:577)&lt;BR /&gt;at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466)&lt;BR /&gt;at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374)&lt;BR /&gt;at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)&lt;BR /&gt;at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:284)&lt;BR /&gt;at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1190)&lt;BR /&gt;at org.talend.designer.runprocess.RunProcessContext.exec(RunProcessContext.java:532)&lt;BR /&gt;at org.talend.designer.runprocess.ui.ProcessComposite.exec(ProcessComposite.java:1450)&lt;BR /&gt;at org.talend.designer.runprocess.ui.views.ProcessView$RunAction.run(ProcessView.java:691)&lt;BR /&gt;at org.talend.designer.runprocess.ui.actions.RunProcessAction.run(RunProcessAction.java:58)&lt;BR /&gt;at org.talend.designer.core.debug.JobLaunchConfigurationDelegate$1.run(JobLaunchConfigurationDelegate.java:84)&lt;BR /&gt;at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)&lt;BR /&gt;at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)&lt;BR /&gt;at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3983)&lt;BR /&gt;at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)&lt;BR /&gt;at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)&lt;BR /&gt;at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)&lt;BR /&gt;at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)&lt;BR /&gt;at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)&lt;BR /&gt;at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)&lt;BR /&gt;at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)&lt;BR /&gt;at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)&lt;BR /&gt;at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)&lt;BR /&gt;at org.talend.rcp.intro.Application.start(Application.java:255)&lt;BR /&gt;at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)&lt;BR /&gt;at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)&lt;BR /&gt;at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)&lt;BR /&gt;at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)&lt;BR /&gt;at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)&lt;BR /&gt;at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)&lt;BR /&gt;at org.eclipse.equinox.launcher.Main.run(Main.java:1465)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am using Talend Open Studio and in the code view, I see this code at line '15697' as mentioned in the error above.&lt;/P&gt; 
&lt;P&gt;final String decryptedPassword_connectionStatsLogs = REPLACEWITHYOURPASSWORD;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ideally I would like to update this with a context variable but am not able to edit this in the code view in TOS. &amp;nbsp;Is there a search feature in talend that would point me to the&amp;nbsp;component in which a particular variable is used?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If it is of any help, this error is happening in the&amp;nbsp;connectionStatsLogsProcess class.&lt;/P&gt; 
&lt;P&gt;public void connectionStatsLogsProcess(&lt;BR /&gt;final java.util.Map&amp;lt;String, Object&amp;gt; globalMap)&lt;BR /&gt;throws TalendException {&lt;BR /&gt;globalMap.put("connectionStatsLogs_SUBPROCESS_STATE", 0);&lt;/P&gt; 
&lt;P&gt;final boolean execStat = this.execStat;&lt;/P&gt; 
&lt;P&gt;String iterateId = "";&lt;/P&gt; 
&lt;P&gt;String currentComponent = "";&lt;BR /&gt;java.util.Map&amp;lt;String, Object&amp;gt; resourceMap = new java.util.HashMap&amp;lt;String, Object&amp;gt;();&lt;/P&gt; 
&lt;P&gt;try {&lt;/P&gt; 
&lt;P&gt;String currentMethodName = new java.lang.Exception()&lt;BR /&gt;.getStackTrace()[0].getMethodName();&lt;BR /&gt;boolean resumeIt = currentMethodName.equals(resumeEntryMethodName);&lt;BR /&gt;if (resumeEntryMethodName == null || resumeIt || globalResumeTicket) {// start&lt;BR /&gt;// the&lt;BR /&gt;// resume&lt;BR /&gt;globalResumeTicket = true;&lt;/P&gt; 
&lt;P&gt;/**&lt;BR /&gt;* [connectionStatsLogs begin ] start&lt;BR /&gt;*/&lt;/P&gt; 
&lt;P&gt;ok_Hash.put("connectionStatsLogs", false);&lt;BR /&gt;start_Hash.put("connectionStatsLogs",&lt;BR /&gt;System.currentTimeMillis());&lt;/P&gt; 
&lt;P&gt;currentComponent = "connectionStatsLogs";&lt;/P&gt; 
&lt;P&gt;int tos_count_connectionStatsLogs = 0;&lt;/P&gt; 
&lt;P&gt;class BytesLimit65535_connectionStatsLogs {&lt;BR /&gt;public void limitLog4jByte() throws Exception {&lt;/P&gt; 
&lt;P&gt;}&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;new BytesLimit65535_connectionStatsLogs().limitLog4jByte();&lt;/P&gt; 
&lt;P&gt;String url_connectionStatsLogs = "jdbc:mysql://"&lt;BR /&gt;+ context.mySqlHost + ":" + context.mySqlPort + "/"&lt;BR /&gt;+ context.mySqlDatabase + "?"&lt;BR /&gt;+ "rewriteBatchedStatements=true";&lt;/P&gt; 
&lt;P&gt;String dbUser_connectionStatsLogs = context.mySqlUsername;&lt;/P&gt; 
&lt;P&gt;final String decryptedPassword_connectionStatsLogs = REPLACEWITHYOURPASSWORD;&lt;BR /&gt;String dbPwd_connectionStatsLogs = decryptedPassword_connectionStatsLogs;&lt;/P&gt; 
&lt;P&gt;java.sql.Connection conn_connectionStatsLogs = null;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-connectionStatsLogs/m-p/2353269#M119504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component connectionStatsLogs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-connectionStatsLogs/m-p/2353270#M119505</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Did you have misconfigured parameter "Db Version" in "Stats &amp;amp; Logs"?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 07:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-connectionStatsLogs/m-p/2353270#M119505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-08T07:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component connectionStatsLogs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-connectionStatsLogs/m-p/2353271#M119506</link>
      <description>&lt;P&gt;Hi Sabrina,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for getting back. &amp;nbsp;Am not sure how to check the "stats and logs" configuration. &amp;nbsp;Is it a project level setting? &amp;nbsp;If yes then how can I get there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the job design I don't see "stats &amp;amp; logs" or "tstatcatcher" anywhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Harish&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 07:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-connectionStatsLogs/m-p/2353271#M119506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-08T07:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component connectionStatsLogs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-connectionStatsLogs/m-p/2353272#M119507</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Talend provides user with Stat&amp;amp;log in project setting and Stat&amp;amp;log in job view.&lt;BR /&gt; Stat&amp;amp;log in project setting is working on the whole project (Parent job and child jobs, and output them on file/DB but no context setting). You can go to project setting--&amp;gt;Job settings--&amp;gt;Stats&amp;amp;Logs&lt;BR /&gt; Stat&amp;amp;log in job view is working on the current job (you should set Stat&amp;amp;log of job view in both parent job and child jobs and output them on file/DB with context setting.&lt;/P&gt; 
&lt;P&gt;For more information, please have a look at my screenshots.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtNI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149767i18255BFB79312B71/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtNI.png" alt="0683p000009LtNI.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 904px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltat.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155278i34865E7250682472/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltat.png" alt="0683p000009Ltat.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 07:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-connectionStatsLogs/m-p/2353272#M119507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-08T07:28:54Z</dc:date>
    </item>
  </channel>
</rss>

