# Vision Barcode Component behavior when no barcode?

**URL:** <https://forum.inductiveautomation.com/t/vision-barcode-component-behavior-when-no-barcode/102919>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [February 26, 2025, 5:35pm UTC](https://forum.inductiveautomation.com/t/vision-barcode-component-behavior-when-no-barcode/102919 "2025-02-26T17:35:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [February 26, 2025, 5:40pm UTC](https://forum.inductiveautomation.com/t/vision-barcode-component-behavior-when-no-barcode/102919/2 "2025-02-26T17:40:40Z")

</div>

Typically a null pointer exception (NPE) is a bug. Consider contacting [support](https://support.inductiveautomation.com) with a replication example. This forum is not official support.

Also, please properly format your code, it makes it easier for others to read and it maintains proper whitespace, which is important for jython. You can edit your post by clicking the pencil icon on the bottom right. [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831).

---

_[View the full topic](https://forum.inductiveautomation.com/t/vision-barcode-component-behavior-when-no-barcode/102919)._
