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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

connecting to socket on port 3938 - Error while running a job

Hello guys, I am trying to run the demo routines that comes with the java project. I get the following error. I also get the same error when attempting to run any job - complex or simple. I am not sure why. i searched google and also the talendforge but could not find a similar problem. Any help is much appreciated.
connecting to socket on port 3938
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at routines.system.RunStat.startThreadStat(RunStat.java:195)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.runJobInTOS(tAggregateRow.java:1557)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.main(tAggregateRow.java:1445)
Exception in component tAggregateRow_1_AGGOUT
java.lang.NullPointerException
at routines.system.RunStat.sendMessages(RunStat.java:286)
at routines.system.RunStat.updateStatOnConnection(RunStat.java:343)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.tRowGenerator_1Process(tAggregateRow.java:770)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.runJobInTOS(tAggregateRow.java:1577)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.main(tAggregateRow.java:1445)
Exception in thread "main" java.lang.NullPointerException
at routines.system.RunStat.sendMessages(RunStat.java:286)
at routines.system.RunStat.updateStatOnJob(RunStat.java:412)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.runJobInTOS(tAggregateRow.java:1605)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.main(tAggregateRow.java:1445)

\|/
Labels (3)
14 Replies
Anonymous
Not applicable
Author

How does talend work? What is listening on port 3938? It appears that something is refusing connection. Is there some setting that I need to do? Any help is appreciated. Thank you
Anonymous
Not applicable
Author

sorry i was thinking that you are running DEMOJAVA ...
what 's in your aggregate !?
test a "debug run" to see data through the flow and check if one of them is null !
Anonymous
Not applicable
Author

Kzone, I get the error for ANY job that i create. I tried uninstalling Talend and reinstalling. Nothing helps.
PLease see the job below. I am just reading from a text file and outputing to the tlogrow component. Even for this simplest of jobs I get the error. I have other machines here for which Talend works fine. Please advise. Thanks
Anonymous
Not applicable
Author

When you are on the Run tab to execute your job, check under the Advanced Settings tab and ensure Statistics is unchecked.
Anonymous
Not applicable
Author

+1
because it's not an error on your job (logRow have result).
Also check in "project settings" ...
laurent