# java.lang.IllegalArgumentException: Array of strings are not implemented yet

**URL:** <https://discourse.f2i-consulting.com/t/java-lang-illegalargumentexception-array-of-strings-are-not-implemented-yet/222>\
**Category:** FETPAPI\
**Created:** [February 3, 2023, 4:56pm UTC](https://discourse.f2i-consulting.com/t/java-lang-illegalargumentexception-array-of-strings-are-not-implemented-yet/222 "2023-02-03T16:56:28Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [March 3, 2023, 5:43pm UTC](https://discourse.f2i-consulting.com/t/java-lang-illegalargumentexception-array-of-strings-are-not-implemented-yet/222/15 "2023-03-03T17:43:04Z")

</div>

> [@sidrah855](#):
>
> As you suggested we set
> 
> session.setDataArrayProtocolHandlers(new DataArrayHandlers(session)); in

It is nice and imho a good addition.  
However, notice that you did not need to create a specialized MyOwnDataArrayHandlers (except if you want to make advanced stuff). Just setting the FETPAPI DataArrayHandlers would have been sufficient :  
`session.setDataArrayProtocolHandlers(new DataArrayHandlers(session));`

If you don’t set this handler, your client is not informed that it is going to deal with the DataArray Protocol which may lead to a bug if you actually use it.  
I even don’t understand exactly why I don’t see a bug on my environment even when I don’t set this handler and call GetXYZ. I’ll look at it.

---

_[View the full topic](https://discourse.f2i-consulting.com/t/java-lang-illegalargumentexception-array-of-strings-are-not-implemented-yet/222)._
