Solved

Disabling Feature caching causes transformer to fail.

  • 7 December 2022
  • 4 replies
  • 11 views

Badge +1

Has anyone experienced a workbench erroring when feature caching is disabled?

 

For context I have had this workbench running through task scheduler for around two years (keeping it updated) and recently discovered an issue where it crashed at a specific transformer (feature joiner).

In testing I have run the workbench with feature caching on (it worked fine) so I tested all the normal points - replace transformers, replace readers/writers, change user credentials.

 

When I turned off feature caching is where the error occurs (in the same spot as when running it through task scheduler).

The attached logs show where it crashed on the feature joiner, has anyone experienced this?

 

My last step is to recreate the workbench from scratch and test that as well.

icon

Best answer by ebygomm 7 December 2022, 11:41

View original

4 replies

Userlevel 1
Badge +21

I've seen something vaguely similar previously, which was down to an issue with bulk mode and a certain transformer. You could test if this is the issue by putting a declerator before the feature joiner set to 0s and see if your workspace runs then with feature caching turned off.

Badge +2

@michaelbreen​ @ebygomm​ is probably correct - it looks like a bulk mode issue in the FeatureJoiner. If adding the Decelerator does resolve the issue, then first try updating to the latest version of FME, if you can (remember that you can have multiple versions of FME Desktop installed - just use a different install folder). If the issue persists then perhaps file a support case with your local FME provider so we can try and address the problem.

Badge +1

Gentlemen @ebygomm​ @Mark Stoakes​, thank you very much for steering me in the right direction.

Adding the Decelerator has resolved the issue and the workbench is now running as normal in either caching or non-caching modes.

I have a suspicion that an updated version would also work a treat as we are still running on 2022.0.0.1 but it would take a bit longer for IT to approve and deploy the update. (I'll try it when I can).

Have a good one and happy FMEing.

Badge +2

looks like this is addressed in newer builds of FME 2022

Reply