# runtime error itk::ProcessObject::SetInput was part of the deprecated API

**URL:** <https://discourse.itk.org/t/runtime-error-itk-processobject-setinput-was-part-of-the-deprecated-api/792>\
**Category:** Uncategorized\
**Created:** [March 22, 2018, 3:17pm UTC](https://discourse.itk.org/t/runtime-error-itk-processobject-setinput-was-part-of-the-deprecated-api/792 "2018-03-22T15:17:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibr](https://discourse.itk.org/user_avatar/discourse.itk.org/ibr/32/468_2.png) [@ibr](https://discourse.itk.org/u/ibr)\
**Post date:** [March 22, 2018, 3:17pm UTC](https://discourse.itk.org/t/runtime-error-itk-processobject-setinput-was-part-of-the-deprecated-api/792/1 "2018-03-22T15:17:37Z")

</div>

Hi  
I got a runtime error related to this:

```
`the method itk::ProcessObject::SetInput was part of the deprecated API.`

```

Where can change to make it works? nothing related is mentioned [here] ([https://itk.org/Wiki/ITK/Release\_4/Removed\_or\_renamed\_classes](https://itk.org/Wiki/ITK/Release_4/Removed_or_renamed_classes))

Thanks!

---

<div class="post-metadata">

**Author:** ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Post date:** [March 23, 2018, 2:35pm UTC](https://discourse.itk.org/t/runtime-error-itk-processobject-setinput-was-part-of-the-deprecated-api/792/2 "2018-03-23T14:35:19Z")

</div>

Hi Ibraheem,

I good place to look for migration guidance is the [ITK v4 Migration](https://itk.org/migrationv4/) website.

However, it is unclear what is being migrated. Is there a full stack trace for the error?

Thanks,  
Matt

---

<div class="post-metadata">

**Author:** ![ibr](https://discourse.itk.org/user_avatar/discourse.itk.org/ibr/32/468_2.png) [@ibr](https://discourse.itk.org/u/ibr)\
**Post date:** [March 30, 2018, 4:26pm UTC](https://discourse.itk.org/t/runtime-error-itk-processobject-setinput-was-part-of-the-deprecated-api/792/3 "2018-03-30T16:26:43Z")

</div>

Thanks Matt,  
I think I found the answer here:  
[https://itk.org/migrationv4/index.php?action=artikel&cat=3&id=121&artlang=en&highlight=ProcessObject+](https://itk.org/migrationv4/index.php?action=artikel&cat=3&id=121&artlang=en&highlight=ProcessObject+)
