# ArrayIndexoutofboundsexception: 9

**URL:** <https://discourse.processing.org/t/arrayindexoutofboundsexception-9/22702>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [July 18, 2020, 6:43am UTC](https://discourse.processing.org/t/arrayindexoutofboundsexception-9/22702 "2020-07-18T06:43:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KGS](https://avatars.discourse-cdn.com/v4/letter/k/90ced4/32.png) [@KGS](https://discourse.processing.org/u/KGS)\
**Post date:** [July 18, 2020, 6:43am UTC](https://discourse.processing.org/t/arrayindexoutofboundsexception-9/22702/1 "2020-07-18T06:43:44Z")

</div>

> please format code with \</\> button \* [homework policy](https://discourse.processing.org/faq/#homework) \* [asking questions](https://discourse.processing.org/t/2147)

Im getting ArrayIndexoutofboundsexception: 9 error as I read data from serial port.

---

<div class="post-metadata">

**Author:** ![RichardDL](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Post date:** [July 18, 2020, 7:52am UTC](https://discourse.processing.org/t/arrayindexoutofboundsexception-9/22702/2 "2020-07-18T07:52:00Z")

</div>

@KGS Is this a genuine question? You post the link to the guide to asking questions and ignore everything in it. If you do all that it says, you may find the answer yourself, and you’ll post the question in a way that people can help you.

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [July 21, 2020, 10:33am UTC](https://discourse.processing.org/t/arrayindexoutofboundsexception-9/22702/3 "2020-07-21T10:33:31Z")

</div>

> [@RichardDL](#):
>
> You post the link to the guide to asking questions and ignore everything in it.

Hello @RichardDL,

This is what comes up if you generate a new topic:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/dfe182f2f0ebc1d4bcce2331f29ce06f31aac9fc.png)

I do not think all of our visitors know what do with this or visit the links which show up in the preview.

That point aside… @KGS did not post a question and could have provided more context and code.

> [@KGS](#):
>
> Im getting ArrayIndexoutofboundsexception: 9 error as I read data from serial port.

This is not a question; it is a statement.

> [@RichardDL](#):
>
> If you do all that it says, you may find the answer yourself, and you’ll post the question in a way that people can help you.

Agreed!

@KGS,  
Now that you have those links (see your first post) you can read them.  
Now that you are aware of them you are responsible for them.

A simple search for “ArrayIndexoutofboundsexception” in this forum or Google would have provided some insight.

`:)`
