Skip to main content
Question

The object at location ___ was previously deleted and cannot be retrieved from the Object Stash

  • December 10, 2024
  • 4 replies
  • 135 views

doug_herrick
Contributor
Forum|alt.badge.img+2

When running an old script in FME 2024.1.1.0 we get 58 errors “The object at location ___ was previously deleted and cannot be retrieved from the Object Stash” (see attached log file).  It doesn’t appear to affect the output, the log file says “Translation was SUCCESSFUL” and CPU and Memory usage don’t get close to 100%.  Can we ignore these errors?

This is part of a much larger script but only this part is producing the errors. We updated the transformers and saved the script to FME 2024 but still get the errors at the transformer FeatureJoiner_13.  The only way to not get the errors is to run the script up to the 2 preceding transformers (“Run to this”) and then run FeatureJoiner_13.  The output appears to be the same as when we were getting the errors.  We tried adding in FeatureHolders before FeatureJoiner_13 but still got the errors.

 

Bye

Doug

4 replies

hkingsbury
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • December 11, 2024

Do you still get the same error with feature caching turned off?


doug_herrick
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • December 11, 2024

Curiously, with the caching turned off the number of errors increases to 80.  The same type of error too.


donalmateer
Safer
Forum|alt.badge.img+6
  • Safer
  • December 12, 2024

Hi ​@doug_herrick 

Thanks for the question! I’m still investigating and trying to get a solution but here are some thoughts:

Inspect FeatureJoiner Inputs:

  • Ensure both input datasets to the FeatureJoiner have all required features.
  • Confirm the join keys are consistent and there’s no filtering or splitting upstream that could lead to feature loss.
  • Test with smaller data - verify that the issue isn’t data-related.

Use FeatureHolders:

  • Place FeatureHolders directly before the FeatureJoiner inputs and not earlier in the flow.
  • Use them only on the datasets being joined, ensuring that features are cached before being consumed by the FeatureJoiner.

If the Problem insists - Replace FeatureJoiner with an Alternative:

  • Sorter: Sort input datasets by the join key.
  • Joiner: Use the Joiner transformer for controlled feature merging.

 

I’ll continue to look into this and try to get to the bottom of it. If possible would you be able to share your workspace - this may help with the investigation (though no problem if you can’t).

Let me know if some of these solutions work.
Thank you!
Donal. 


doug_herrick
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • December 22, 2024

Hi ​@donalmateer,

I didn’t understand all your suggestions (listed above) but I was able to simplify the FME script to the minimum that would still produce the “Object Stash” errors.  It appears to be the data coming out of FeatureJoiner_12 that is causing the errors but I can’t see why.

 

I’m not able to share the script but I’ve attached the FFS files and here is the setup for the 2 FeatureJoiners.  Hopefully you can reproduce the errors.

 

 

Thanks for your time and Happy Christmas.

Doug


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings