OL Learn

Workflow error only affecting one case

Hi All

I’ve seen a similar error on a couple of other posts but this seems unusual as it’s only one case that seems to be a problem. The same template is otherwise working just fine and there are no problems with any others.

Has anyone got any pointers or experienced this, it doesn’t appear to be a data issue but I’m struggling to narrow down where to look as it feels like it must be case specific in some way.

Steps I’ve taken

Tried data in the template locally - all fine
Run the data through the workflow dubugger - all fine

WPROC: Originations_010B5YJNM423U9D (thread id: 15004) - 9:40:08 AM

INFO : 09:40:08.361 [0002] File processed : job010B5YJNM4X5OA4FAB98E53.dat, size: 366560 bytes
INFO : 09:40:08.361 [0002] Plugin Change Emulation completed successfully - 9:40:08 AM (elapsed time: 00:00:00.001)

INFO : 09:40:08.407 [0003] JobInfo/Variable %{JobType} is set to “Submitted”
INFO : 09:40:08.407 [0003] JobInfo/Variable %{Document} is set to “TEMPLATE”
INFO : 09:40:08.407 [0003] Plugin Set Job Infos and Variables completed successfully - 9:40:08 AM (elapsed time: 00:00:00.046)

INFO : 09:40:08.408 [0004] ConnectJson is equal to Connect: false
INFO : 09:40:08.408 [0004] Condition result is false
INFO : 09:40:08.408 [0004] Plugin Text Condition completed successfully - 9:40:08 AM (elapsed time: 00:00:00.001)

INFO : 09:40:08.409 [0016] ConnectJson contains ConnectJson: true
INFO : 09:40:08.409 [0016] Condition result is true
INFO : 09:40:08.409 [0016] Plugin Text Condition completed successfully - 9:40:08 AM (elapsed time: 00:00:00.001)

INFO : 09:40:08.545 [0017] File processed : job010B5YJNM4X5OA4FAB98E53.dat, size: 366664 bytes
INFO : 09:40:08.545 [0017] Plugin Search and Replace completed successfully - 9:40:08 AM (elapsed time: 00:00:00.136)

INFO : 09:40:08.591 [0018] JobInfo/Variable %9 is set to “TEMPLATE”
INFO : 09:40:08.591 [0018] Plugin Set Job Infos and Variables completed successfully - 9:40:08 AM (elapsed time: 00:00:00.046)

INFO : 09:40:08.626 [0019] Plugin Translator completed successfully - 9:40:08 AM (elapsed time: 00:00:00.035)

INFO : 09:40:08.627 [0020] Starting conversion of XML to JSON
INFO : 09:40:08.867 [0020] Plugin XML/JSON Conversion completed successfully - 9:40:08 AM (elapsed time: 00:00:00.241)

INFO : 09:40:08.867 [0021] Source data is a JSON string
WARN : 09:40:08.913 [0021] Cached version not available, attempting to upload file.
ERROR: 09:40:09.120 [0021] W3001 : Error while executing plugin: HTTP/1.1 500 LoggedApplicationException: There was an error running the content creation process caused by NullPointerException: (SRV000022)
ERROR: 09:40:09.120 [0021] Create Print Content: W1603 : Plugin failed - 9:40:09 AM (elapsed time: 00:00:00.253)

ERROR: 09:40:09.120 [0022] W3001 : Error while executing plugin: W3886 : Metadata file to append: “C:\ProgramData\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\Spool\010B5YJNM4X5OA3.tmp\job010B5YJNM4X5OA4FAB98E53.dat.meta”, was not found
ERROR: 09:40:09.121 [0022] Create Job: W1603 : Plugin failed - 9:40:09 AM (elapsed time: 00:00:00.000)

ERROR: 09:40:09.122 [0023] W3001 : Error while executing plugin: W3886 : Metadata file to append: “%s”, was not found
ERROR: 09:40:09.122 [0023] Create Output: W1603 : Plugin failed - 9:40:09 AM (elapsed time: 00:00:00.001)

INFO : 09:40:09.122 [0024] Deleting file : job010B5YJNM4X5OA4FAB98E53.json, size: 208164 bytes
INFO : 09:40:09.122 [0024] Plugin Delete completed successfully - 9:40:09 AM (elapsed time: 00:00:00.000)

INFO : 09:40:09.122 [0024] Second execution.
INFO : 09:40:09.133 [0024] File sent to HTTP Server : C:\ProgramData\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\soap\Print\STemp010B5YJNQQDSE9DFAB99160.txt, size: 208164 bytes
INFO : 09:40:09.133 [0024] Plugin response Input SOAP completed successfully - 9:40:09 AM (elapsed time: 09:40:09.133)

WPROC: Originations_010B5YJNM423U9D (thread id: 15004) complete - 9:40:09 AM (elapsed time: 00:00:00.773)

Hi @khughes, welcome to our OL Learn forum!

Are you using Conditional Scripts in your Print Template? I’m asking you this because my first thought is that the Create Print Content plugin failed because the Print Context Sections of each record are hidden by a Conditional Script for example.

Hi Marten!

That’s what I thought! I forgot to include this above but as there are conditional scripts in the template, I also tried to troubleshoot by dropping the data into the template to check it. Usually if a template has failed for the client it will show that one of the scripts have failed. It didn’t in this case and let me view it in preview and do a proof print.

Cheers

Karen

Just a quick update for this thread:

@khughes is a customer of ours.

I have taken a look and recommended that a copy of the JSON file is taken using a Send to Folder step just before it goes into the Create Print Content step as when I looked at the Connect logs, I can see that it is reporting the JSON file format is not as expected.

Once we have the definitive data that is being used in the template it will be easier to diagnose as using the sample file which is believed to be the same yields no error(s).

Final update on this one.

I suspect something in the Connect filestore cache was affecting this particular case as a Connect Server restart solved the issue.