# Runtime Error in stream analytics builder

**URL:** <https://community.cumulocity.com/t/runtime-error-in-stream-analytics-builder/7644>\
**Category:** Forum\
**Tags:** Streaming-Analytics-Apama, cumulocity\
**Created:** [October 21, 2022, 12:45pm UTC](https://community.cumulocity.com/t/runtime-error-in-stream-analytics-builder/7644 "2022-10-21T12:45:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prathyusha.kanda](https://avatars.discourse-cdn.com/v4/letter/p/90ced4/32.png) [@prathyusha.kanda](https://community.cumulocity.com/u/prathyusha.kanda)\
**Post date:** [October 21, 2022, 12:45pm UTC](https://community.cumulocity.com/t/runtime-error-in-stream-analytics-builder/7644/1 "2022-10-21T12:45:56Z")

</div>

#### What product/components do you use and which version/fix level are you on?

latest

#### Is your question related to the free trial, or to a production (customer) instance?

production

#### What are you trying to achieve? Please describe it in detail.

I added a new model to the Test model and was trying to deploy it but receving the **Runtime error**.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/8/f/8f6bdf20cfd7ac447279fa3eaa8e9457aef1fbf0.png)

#### Do you get any error messages? Please provide a **full error** message screenshot and log file.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/d/d/dd24c05ece1c4ef45dd59b30bcbdb7d3cf44d9f8.png)

#### Have you installed all the latest fixes for the products and systems you are using?

yes

---

<div class="post-metadata">

**Author:** ![Jack\_Tolfree](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/jack_tolfree/32/31979_2.png) [@Jack\_Tolfree](https://community.cumulocity.com/u/Jack_Tolfree)\
**Post date:** [October 24, 2022, 9:18am UTC](https://community.cumulocity.com/t/runtime-error-in-stream-analytics-builder/7644/2 "2022-10-24T09:18:39Z")

</div>

Hi there,  
I suspect your issue is as noted in the following documentation. ‘Note that only activating …’. The model may need to be split into two models. It appears you have two paths in one model at the moment.  
[Analytics Builder for Cumulocity IoT Documentation (softwareag.com)](https://documentation.softwareag.com/apama/Analytics_Builder/pab10-14-0/apama-pab-webhelp/index.html#page/apamaanalyticsbuilder-webhelp/co-AnaBui_connections_between_models.html)

Please also see some relevant information regarding avoiding cycles:  
[Analytics Builder for Cumulocity IoT Documentation (softwareag.com)](https://documentation.softwareag.com/apama/Analytics_Builder/pab10-14-0/apama-pab-webhelp/index.html#page/apamaanalyticsbuilder-webhelp/co-AnaBui_wire_restrictions.html#wwID0E2ZAO)  
[Analytics Builder for Cumulocity IoT Documentation (softwareag.com)](https://documentation.softwareag.com/apama/Analytics_Builder/pab10-14-0/apama-pab-webhelp/index.html#page/apamaanalyticsbuilder-webhelp%2Fre_AnaBui_block_reference_Output_CreateMeasurement.html%23)

Hope this helps,  
Jack

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [April 22, 2023, 9:19am UTC](https://community.cumulocity.com/t/runtime-error-in-stream-analytics-builder/7644/3 "2023-04-22T09:19:06Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
