# My widget is working but still get an error

**URL:** <https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365>\
**Category:** UI\
**Tags:** error-code, unreal-engine, Widget, question, load-error\
**Created:** [May 14, 2021, 9:32am UTC](https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365 "2021-05-14T09:32:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin114987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kevin114987](https://forums.unrealengine.com/u/kevin114987)\
**Post date:** [May 14, 2021, 9:32am UTC](https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365/1 "2021-05-14T09:32:22Z")

</div>

Hello, I have been working on this pop up on screen.

Basicly after an animation plays, it creates the widget on the hud and that’s it.

It’s working as expected but I keep getting errors that something goes wrong and I don’t understand what. It’s working correctly so whats the deal?

Here is the error and the blueprint:

 ![338801-error-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/7/507ad238a534012362e70221081fee7ffc03bcb8.png)

 ![338802-error-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/1/9d17230ad8c48113f3a0356e4b166f368f339492.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 14, 2021, 10:05am UTC](https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365/2 "2021-05-14T10:05:26Z")

</div>

You need to click this

![338798-screenshot-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/f/10f1708aa5dfbfd785043371fc5dea1e2dd2ce76.jpeg)

It will take you to the offending node. No matter what you think your code might be doing, you are passing this node an empty reference.

---

<div class="post-metadata">

**Author:** ![kevin114987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kevin114987](https://forums.unrealengine.com/u/kevin114987)\
**Post date:** [May 14, 2021, 10:13am UTC](https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365/3 "2021-05-14T10:13:13Z")

</div>

Thanks for the reply!

Yes, in the second picture you can see the node that the error is refering too. That’s the problem for me that it’s giving me this error. I have multiple widgets all working in the same way without errors, its just this one giving me an error but still working correctly (widget is created on the hud). So if it’s finding an empty reference, why is it executing?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 14, 2021, 11:24am UTC](https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365/4 "2021-05-14T11:24:02Z")

</div>

It means it’s running more than once… 😉

---

<div class="post-metadata">

**Author:** ![kevin114987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kevin114987](https://forums.unrealengine.com/u/kevin114987)\
**Post date:** [May 14, 2021, 11:50am UTC](https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365/5 "2021-05-14T11:50:36Z")

</div>

![338799-do-once.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/f/04ffb5cdb6359ed2aa5e55ae8b995116eb0b7b15.png)

I have a do once node in the chain. That should stop it from running more than once.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 14, 2021, 11:56am UTC](https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365/6 "2021-05-14T11:56:24Z")

</div>

Then it looks like BulletJournal—instance ( I can’t read it ), is null. Or it can’t get the owning controller.

---

<div class="post-metadata">

**Author:** ![kevin114987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kevin114987](https://forums.unrealengine.com/u/kevin114987)\
**Post date:** [May 14, 2021, 1:41pm UTC](https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365/7 "2021-05-14T13:41:14Z")

</div>

Yeah, I just checked with an “is valid” node, turns out invalid. Don’t know how to make it valid and why is it working for other chains then?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 14, 2021, 1:52pm UTC](https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365/8 "2021-05-14T13:52:25Z")

</div>

Well, where are setting it? Is it set for this chain?

---

<div class="post-metadata">

**Author:** ![kevin114987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kevin114987](https://forums.unrealengine.com/u/kevin114987)\
**Post date:** [May 14, 2021, 2:09pm UTC](https://forums.unrealengine.com/t/my-widget-is-working-but-still-get-an-error/483365/9 "2021-05-14T14:09:03Z")

</div>

I fixed it, had to use a different controller node.

![338814-fix.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/8/d58e936363f2642075d54d2c225e15df52d8a8f0.png)
