# Geospatial nodes - ERROR java.lang.IllegalArgumentException

**URL:** <https://forum.knime.com/t/geospatial-nodes-error-java-lang-illegalargumentexception/61757>\
**Category:** Community Extensions\
**Tags:** geospatial\
**Created:** [February 14, 2023, 8:30pm UTC](https://forum.knime.com/t/geospatial-nodes-error-java-lang-illegalargumentexception/61757 "2023-02-14T20:30:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![labulatif](https://forum-cdn.knime.com/user_avatar/forum.knime.com/labulatif/32/23631_2.png) [@labulatif](https://forum.knime.com/u/labulatif)\
**Post date:** [February 14, 2023, 8:30pm UTC](https://forum.knime.com/t/geospatial-nodes-error-java-lang-illegalargumentexception/61757/1 "2023-02-14T20:30:27Z")

</div>

I have been working with geospatial extension with no problems. However, today for all the geospatial nodes I try to use, the following message appears, when I try to open their configuration window: ERROR java.lang.IllegalArgumentException

 ![Sem título](https://forum-cdn.knime.com/uploads/default/original/3X/c/b/cb0cbfb855032e7e7634b55fb4c83d441239a698.png)  
 ![Sem título2](https://forum-cdn.knime.com/uploads/default/original/3X/c/3/c33c42d35efbaa5fcbe37e5aeb72d1161957500f.png)

Any idea on how to solve it?

---

<div class="post-metadata">

**Author:** ![labulatif](https://forum-cdn.knime.com/user_avatar/forum.knime.com/labulatif/32/23631_2.png) [@labulatif](https://forum.knime.com/u/labulatif)\
**Post date:** [February 15, 2023, 3:52am UTC](https://forum.knime.com/t/geospatial-nodes-error-java-lang-illegalargumentexception/61757/2 "2023-02-15T03:52:39Z")

</div>

Additionally, I tried to reinstall Knime and the Geospatial Extention, and it wasn’t possible, due to the following message:

 ![Sem título](https://forum-cdn.knime.com/uploads/default/original/3X/e/e/ee4bc6e86afd4d28489077a591ab979dc5cb72cd.png)

How can it be fixed?

---

<div class="post-metadata">

**Author:** ![aliasghar\_marvi](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/a/e9a140/32.png) [@aliasghar\_marvi](https://forum.knime.com/u/aliasghar_marvi)\
**Post date:** [February 21, 2023, 7:53pm UTC](https://forum.knime.com/t/geospatial-nodes-error-java-lang-illegalargumentexception/61757/3 "2023-02-21T19:53:21Z")

</div>

Hi @labulatif

I have pinged the team internally to look into it.

Thanks

---

<div class="post-metadata">

**Author:** ![carstenhaubold](https://forum-cdn.knime.com/user_avatar/forum.knime.com/carstenhaubold/32/33947_2.png) [@carstenhaubold](https://forum.knime.com/u/carstenhaubold)\
**Post date:** [February 22, 2023, 10:19am UTC](https://forum.knime.com/t/geospatial-nodes-error-java-lang-illegalargumentexception/61757/4 "2023-02-22T10:19:25Z")

</div>

Hi @labulatif,

The installation error is interesting, I haven’t seen this one before.

To determine whether that is a problem with the way how KNIME calls Python, could you please navigate with a Command line to the `env` folder containing `python.exe` and run `python.exe` and let us know whether that produces the same error or whether that works? That would be very helpful.

I have searched for the error, and people suggest to set `PYTHONHOME` and `PYTHONPATH` but usually that should not be needed ([django - init\_fs\_encoding: failed to get the Python codec of the filesystem encoding - Stack Overflow](https://stackoverflow.com/questions/69550830/init-fs-encoding-failed-to-get-the-python-codec-of-the-filesystem-encoding)). So I suppose this is not the right solution here.

Are you using Windows 11?

Best,  
Carsten

---

<div class="post-metadata">

**Author:** ![labulatif](https://forum-cdn.knime.com/user_avatar/forum.knime.com/labulatif/32/23631_2.png) [@labulatif](https://forum.knime.com/u/labulatif)\
**Post date:** [February 22, 2023, 6:07pm UTC](https://forum.knime.com/t/geospatial-nodes-error-java-lang-illegalargumentexception/61757/5 "2023-02-22T18:07:46Z")

</div>

Hi @carstenhaubold

I did as you said to run python.exe and it worked correctly. I’m running python scripts within Knime for other purposes and they work correctly, the problem (until now) happens only with geospatial nodes.

I’m using Win 10.

Thank you,

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [May 23, 2023, 6:07pm UTC](https://forum.knime.com/t/geospatial-nodes-error-java-lang-illegalargumentexception/61757/6 "2023-05-23T18:07:56Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
