tSalesforceBulkExec component exception - salesforce

I'm new to Talend and I have this problem.
This is the error log that I obtain from Talend log:
Exception in component tSalesforceOutputBulkExec_1_tSBE
java.lang.IllegalArgumentException: input stream can not be null
at com.sforce.ws.parser.MXParser.setInput(MXParser.java:554)
at com.sforce.ws.parser.XmlInputStream.setInput(XmlInputStream.java:65)
at com.sforce.async.BulkConnection.parseAndThrowException(BulkConnection.java:129)
at com.sforce.async.BulkConnection.doHttpGet(BulkConnection.java:615)
at com.sforce.async.BulkConnection.getBatchInfoList(BulkConnection.java:439)
at org.talend.salesforceBulk.SforceBulkConnection.getBatchInfoList(SforceBulkConnection.java:82)
at org.talend.salesforceBulk.SalesforceBulkAPI.awaitCompletion(SalesforceBulkAPI.java:256)
at org.talend.salesforceBulk.SalesforceBulkAPI.executeBulk(SalesforceBulkAPI.java:99)
...
java.lang.RuntimeException: Child job running failed
I launch a job that through a tFileList iterate on some files in a folder and for every of those files run a subjob. All runs correctly for some operations and this error happens every time in a different tSalesforceOutputBulkExec component. Can be a problem related to the connection?

Related

flink job submission org.apache.flink.runtime.messages.FlinkJobNotFoundException: Could not find Flink job

Getting the following flink job submission error,
#centos1 flink-1.10.0]$ ./bin/flink run -m 10.0.2.4:8081 ./examples/batch/WordCount.jar --input file:///storage/flink-1.10.0/test.txt --output file:///storage/flink-1.10.0/wordcount_out
Job has been submitted with JobID 33d489aee848401e08c425b053c854f9
------------------------------------------------------------
The program finished with the following exception:
org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: org.apache.flink.runtime.rest.util.RestClientException: [org.apache.flink.runtime.rest.handler.RestHandlerException: org.apache.flink.runtime.messages.FlinkJobNotFoundException: Could not find Flink job (33d489aee848401e08c425b053c854f9)
....
Caused by: java.util.concurrent.CompletionException: org.apache.flink.runtime.messages.FlinkJobNotFoundException: Could not find Flink job (33d489aee848401e08c425b053c854f9)
Caused by: org.apache.flink.runtime.messages.FlinkJobNotFoundException: Could not find Flink job (33d489aee848401e08c425b053c854f9)
at org.apache.flink.runtime.dispatcher.Dispatcher.getJobMasterGatewayFuture(Dispatcher.java:776)
at org.apache.flink.runtime.dispatcher.Dispatcher.requestJobStatus(Dispatcher.java:505)
... 27 more
]
logs from the taskmanger nodes: saying the file not found.. Is the correct way of pointing files in a flink cluster setup.
2020-03-19 13:15:29,843 ERROR org.apache.flink.runtime.operators.BatchTask - Error in task code: CHAIN DataSource (at main(WordCount.java:69) (org.apache.flink.api.java.io.TextInputFormat)) -> FlatMap (FlatMap at main(WordCount.java:84)) -> Combine (SUM(1), at main(WordCount.java:87) (1/2)
java.io.IOException: Error opening the Input Split file:/storage/flink-1.10.0/test.txt [0,19]: /storage/flink-1.10.0/test.txt (No such file or directory)
at org.apache.flink.api.common.io.FileInputFormat.open(FileInputFormat.java:824)
at org.apache.flink.api.common.io.DelimitedInputFormat.open(DelimitedInputFormat.java:470)
how to troubleshoot the above error, what to check , very less clues in the flink logs
The reason why is happening is because you are submitting a job across a distributed cluster and the location you have specified is perhaps only accessible by Job manager or machine from where you have submitted your job. However, actual program and Job execution takes place in Task Manager. Better approach for this would be by specifying a location which is accessible by all the nodes, may be HDFS or NFS.

In SQL Server syspolicy_purge_history job step 3 failed

SQL server syspolicy_purge_history job step 3 failed due to below error. Is any one faced same kind of issue while run this step#3?
Error Log:
Executed as user: NT Service\SQLSERVERAGENT. Unhandled
Exception:System.IO.FileLoadException: Could not load file or assembly
'System.Management.Automation.dll' or one of its dependencies. Access
is denied. at
Microsoft.SqlServer.Management.PowerShell.SqlPowerShell.Main(String[]
args). Process Exit Code 255. The step failed.
Issue with the server. Server manager dashboard not opening and displaying "Could not load file or assembly 'System.Management.Automation.dll' or one of its dependencies. Access is denied" error message in the window.
Issue with the loading System.Management.Automation.dll.

IdentityServer4 QuickStart2_ResourceOwnerPasswords System.Net.Http.HttpRequestException

I am trying to run the QuickStart2_ResourceOwnerPasswords sample. I could view the http://localhost:5000/.well-known/openid-configuration without issues. However when I run the Client.dll from the console it gives me following error:
Unhandled Exception: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A connection with the server could not be established
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.Tasks.RendezvousAwaitable`1.GetResult()
at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
Any help is appreciated!
Note: I am running the QuickStartIdentityServer as start up project (this runs the Identity Server implementation in the background with command window showing logs). I am currently running the Client.dll from a separate window using the command:
dotnet Client.dll
Not sure if this is the correct way of testing it...

Neo4j Desktop DB failed to start with with status 'KILLED'

Running Neo4j Desktop version 1.0.15. Trying to start DB causes the start fail:
Database failed to start:
DB [database-f8950fdd-6b5f-4fea-8c9f-e8457ee1da9a] 'v3.3.1' exited
with status 'KILLED'. Check the logs
Major Log parts are below
2018-02-26 23:03:38.004+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#6411d3c8' was successfully initialized, but failed to start. Please see the attached cause exception "Connection timed out: connect". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#6411d3c8' was successfully initialized, but failed to start. Please see the attached cause exception "Connection timed out: connect".
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, C:\Users\kiril\AppData\Roaming\Neo4j Desktop\Application\neo4jDatabases\database-f8950fdd-6b5f-4fea-8c9f-e8457ee1da9a\installation-3.3.1\data\databases\graph.db
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.backup.OnlineBackupKernelExtension#c6e0f32' was successfully initialized, but failed to start. Please see the attached cause exception "Connection timed out: connect".
Suppressed: org.neo4j.kernel.lifecycle.LifecycleException: Exception during graceful attempt to stop partially started component. Please use non suppressed exception to see original component failure.
Caused by: java.io.IOException: Unable to establish loopback connection
It might be your neo4j was still running.
I solved this problem by shutting down the database and restarting it.
Platform: Windows 10;
Neo4j Desktop version: 1.1.13
Open a commend-line window and go to the directory of your neo4j database.
run
bin\neo4j status
to check the status of your database.
If it is running, run
bin\neo4j stop
to shut down your database.
Then go back to the Neo4j Desktop, click the start button, and it could be symptom-free.
I had the same problem and the issue was resolved when I cloned the graph I was connecting. Thereafter, I could connect to the new graph without any problem.

SSIS: Error when executing a Execute Package Task

I have a project where I have 1 master package and several child packages which I call in the master.
However when I launch the master package it goes into error on one "Execute Package Task"
See below for the ouput from the Output-Window:
Information: 0x40016042 at build_NAV_sources: The package is attempting to configure from the parent variable "var_actual_timestamp".
.
.--more variables configuration
.
Information: 0x40016042 at build_NAV_sources: The package is attempting to configure from the parent variable "var_table_prefix".
Error: 0xC00220E0 at Execute Package Read Dim norriq data to sources: The connection is not specified.
Error: 0xC0024107 at Execute Package Read Dim norriq data to sources: There were errors during task validation.
Error: 0xC00220E4 at Execute Package build nav sources: Error 0xC0012050 while preparing to load the package. Package failed validation from the ExecutePackage task. The package cannot run.
.
Task failed: Execute Package build nav sources
SSIS package "F:\Workspaces\KPA\TFS\Norriq\BI\SQL 2012\NAV 2015\SSIS\NAV Datamart\build_NAV_datamart_master.dtsx" finished: Success.
When I check the package where it indicates that the connection is not specified I clearly see that there is an connection specified. In my connection manager I see the connection and when I edit this one and check for connectivity everything works fine.
To make it weirder: When I launch the package (build_NAV_sources) seperatly, it executes without any errors or warnings
Anyone has a clue on whats happening?
Thx
Without changing anything important, I've checked-in my solution in TFS, closed VS, opened the solution again and did a build/rebuild and it worked magically.

Resources