Skip to main content
Solved

LengthToPoint transformer - multiple rejected ports

  • March 24, 2025
  • 3 replies
  • 57 views

tris_w
Contributor
Forum|alt.badge.img+6

Upgrading 2023 workspace to 2024.2.  When upgrading or adding a new LenghtToPointCalculator transformer and referencing existing attributes for the X/Y coordinates, FME adds 2 rejected ports to the transformer.  If you then run the workspace you get the error:

Cannot have multiple factories with the same name.  Multiple factories were assigned the name 'LengthToPointCalculator_<Rejected>'
 

 

Any suggestions on how to get only 1 rejected port?

Thanks.

Best answer by DanAtSafe

Unfortunately with version 1 of the LengthToPointCalculator, one <Rejected> port will be added for every parameter filled by an attribute value.  This has been fixed for FME 2025.1 via FMEENGINE-85820.  Until that’s available to install, you can avoid the error by connecting just a Junction to one of the <Rejected> ports.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

DanAtSafe
Safer
Forum|alt.badge.img+20
  • Safer
  • Best Answer
  • March 24, 2025

Unfortunately with version 1 of the LengthToPointCalculator, one <Rejected> port will be added for every parameter filled by an attribute value.  This has been fixed for FME 2025.1 via FMEENGINE-85820.  Until that’s available to install, you can avoid the error by connecting just a Junction to one of the <Rejected> ports.


j.botterill
Influencer
Forum|alt.badge.img+53
  • Influencer
  • March 25, 2025

If you still have Form 2023 installed somewhere, place the LengthToPointCalculator transformer down in the canvas. Highlight it, Copy to clipboard. Open Form 2024 and paste (the older version). 


tris_w
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • March 25, 2025

A simple workaround provided by safe support… connect a junction (or logger) to one of the 2 rejected ports.  Seems to fix the issue.