# Uncaught Throwable during messageArrived()

**URL:** <https://forum.inductiveautomation.com/t/uncaught-throwable-during-messagearrived/53211>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [November 17, 2021, 9:40pm UTC](https://forum.inductiveautomation.com/t/uncaught-throwable-during-messagearrived/53211 "2021-11-17T21:40:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Morano](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@Daniel\_Morano](https://forum.inductiveautomation.com/u/Daniel_Morano)\
**Post date:** [November 17, 2021, 9:40pm UTC](https://forum.inductiveautomation.com/t/uncaught-throwable-during-messagearrived/53211/1 "2021-11-17T21:40:15Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/c/0c8bedad6faa92df060155fa82d70e8975ac11c1.png)

When trying to pull coil data through Modbus the above errors, are present in the log activity for the specific OPC-UA device connection. These errors are not present when polling data from holding registers only coil data. The target coil data seems to be present when polling using a different software. I am looking for some guidance on what could be causing this issue.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 17, 2021, 9:40pm UTC](https://forum.inductiveautomation.com/t/uncaught-throwable-during-messagearrived/53211/2 "2021-11-17T21:40:59Z")

</div>

Can you get a Wireshark capture to go along with this?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 17, 2021, 9:45pm UTC](https://forum.inductiveautomation.com/t/uncaught-throwable-during-messagearrived/53211/3 "2021-11-17T21:45:59Z")

</div>

I’d still like to see a capture, but assuming this response buffer is accurate:

```auto
02 9c 00 00 00 05 00 01 03 00 31

```

then your device response is short one byte.

---

<div class="post-metadata">

**Author:** ![Daniel\_Morano](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@Daniel\_Morano](https://forum.inductiveautomation.com/u/Daniel_Morano)\
**Post date:** [November 17, 2021, 10:04pm UTC](https://forum.inductiveautomation.com/t/uncaught-throwable-during-messagearrived/53211/4 "2021-11-17T22:04:12Z")

</div>

Yes, this is what we thought, but were not entirely sure. We took another look at our device and found an issue with it that not designating the correct packet length.
