tAddLocationFromIP exception

Five Stars

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.
Community Manager

Re: tAddLocationFromIP exception

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
----------------------------------------------------------
Talend | Data Agility for Modern Business

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads