# Make a Simple GUI and Displaying Serial Arduino data got NullPointerException

**URL:** <https://discourse.processing.org/t/make-a-simple-gui-and-displaying-serial-arduino-data-got-nullpointerexception/33662>\
**Category:** Electronics (Arduino, etc.)\
**Tags:** homework\
**Created:** [November 22, 2021, 4:17am UTC](https://discourse.processing.org/t/make-a-simple-gui-and-displaying-serial-arduino-data-got-nullpointerexception/33662 "2021-11-22T04:17:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![anwar05](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@anwar05](https://discourse.processing.org/u/anwar05)\
**Post date:** [November 22, 2021, 4:55am UTC](https://discourse.processing.org/t/make-a-simple-gui-and-displaying-serial-arduino-data-got-nullpointerexception/33662/2 "2021-11-22T04:55:22Z")

</div>

> [@Error on my Processing GUI code for Arduino , I need some help](https://discourse.processing.org/t/error-on-my-processing-gui-code-for-arduino-i-need-some-help/33341/42):
>
> I solved the problem , I just used the function to print all my data and I changed just a little bit Arduino code to show after label value a full word of parameter like instead of “winddir” is Wind direction: or instead of “windspeedmph” is Wind speed(mph).I wanted to thank you a lot for all your support and time .I will attach you the final Processing code which is in the simplest way I could do it . import processing.serial.\*; String myString = null; Serial myPort; void setup() { size…

I’ve tried with this link but still got Nullpointerexception.

---

_[View the full topic](https://discourse.processing.org/t/make-a-simple-gui-and-displaying-serial-arduino-data-got-nullpointerexception/33662)._
