# Unable to turn null pointger to wall pointer

**URL:** <https://forum.itascainternational.com/t/unable-to-turn-null-pointger-to-wall-pointer/1496>\
**Category:** PFC\
**Created:** [June 5, 2024, 8:20am UTC](https://forum.itascainternational.com/t/unable-to-turn-null-pointger-to-wall-pointer/1496 "2024-06-05T08:20:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShivamPandey](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@ShivamPandey](https://forum.itascainternational.com/u/ShivamPandey)\
**Post date:** [June 5, 2024, 8:20am UTC](https://forum.itascainternational.com/t/unable-to-turn-null-pointger-to-wall-pointer/1496/1 "2024-06-05T08:20:20Z")

</div>

In PFC, when I am running code, I am getting the error as shown in figure.  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/2X/f/ff7bb2dab81f0707d9f1ebdcf5f3918348da4408.png)

 ![p-fc triaxial error](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/2X/2/22221cbaba6abde6b705daa1023b1d0486d5bcdd.png)  
Please help If anyone can.  
Thank you,

---

<div class="post-metadata">

**Author:** ![markus](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.itascainternational.com/markus/32/288_2.png) [@markus](https://forum.itascainternational.com/u/markus)\
**Post date:** [June 6, 2024, 8:44am UTC](https://forum.itascainternational.com/t/unable-to-turn-null-pointger-to-wall-pointer/1496/2 "2024-06-06T08:44:33Z")

</div>

Probably your **wall.find** command did not find an object, therefore returning a null pointer (nothing). That’s why the error occurs when trying to access some info of that non-existing wall object.  
I can’t say why **wall.find** does not return the correct pointer. Maybe you have misspelled something or the range for the wall assignment is wrong etc.
