Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
DaveL
Contributor III
Contributor III

tAddLocationFromIP exception

I am using tAddLocationFromIP and loading is going along smoothly until I get a record with IP="190.97.116.139".
Then I get following exception:
Exception in component tAddLocationFromIP_1
java.lang.ArrayIndexOutOfBoundsException: 253
at com.maxmind.geoip.LookupService.getCountry(LookupService.java:436)
at com.maxmind.geoip.LookupService.getCountry(LookupService.java:408)
I tried downloading the latest GeoIp database and that doesn't fix the problem. Attached image of the job showing the point where the error occurred.
0683p000009MDai.jpg
Labels (3)
1 Reply
Anonymous
Not applicable

Hi
It seems like a bug of geoip library, see this jira issue:
https://jira.talendforge.org/browse/TDI-25906
The geoip.jar file under <Talend Studio install dir>\plugins\org.talend.designer.components.localprovider_x.x.x.rxxxxxx\components\tAddLocationFromIP directory need to be updated.
Shong