-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enrich]Error occurred during enrichment #307
[Enrich]Error occurred during enrichment #307
Comments
@Hooghof said: Concerning the enrich-ftp issue: I created this flow to prove that the ftp component gets one text file
We saw that it works if you put a log component between the lower route of the enrich component and the ftp component Using version 18 on development, there are 2 files in the zip file: enrich1.zip and enrich1.txt. Expected was enrich1.txt and enrich3.txt, like we have on acceptance In version 20 on development I tested it with another first message body. It turns out that enricht1.txt has the right content and enrich1.zip has also the right content, but the name of the file had to be enricht3.txt |
Enriching via FTP goes well. I did a test with enriching a body, but that fails now. See version 33 of the test flow |
PR (#317) created for this specific issue:
|
VERSION 37 still has errors, this is the error message:
|
There are 3 test cases (development, Regression Tests):
Number 1 works as expected, 2 and 3 give the error. |
Error occurred during enrichment:
Exchange[66DE602F1F209FA-0000000000024ACC]. Caused by: [java.lang.NullPointerException - Cannot invoke "org.apache.camel.Exchange.getIn()" because "newExchange" is null]
Acceptance gives the expected response. Development gives the error above. Note this error only occurs with the combination of the Enrich component and FTP components. When the FTP component is replaced by another component (setBody, File, HTTP etc) it works normally.
Test cases on Acceptance and Development
Tenant: Regression Tests
Flow: EnrichArchiveWithTextBody
To test this locally a VPN needs to be active to reach the FTP Server.
The text was updated successfully, but these errors were encountered: