Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

NegativeArraySizeException

Java line numbers are not helping. Is there a way to debug this issue? How can I find what caused this error?

Exception in component tMap_1_TMAP_IN
java.lang.NegativeArraySizeException
at dts_dm.person_dim_master_0_1.person_dim_master$TPERSONStruct.readString(person_dim_master.java:42263)
at dts_dm.person_dim_master_0_1.person_dim_master$TPERSONStruct.readValuesData(person_dim_master.java:42354)
at org.talend.designer.components.lookup.persistent.AbstractOrderedBeanLookup.loadDataValues(AbstractOrderedBeanLookup.java:225)
at org.talend.designer.components.lookup.persistent.OrderedBeanLookupMatchLast.next(OrderedBeanLookupMatchLast.java:254)
at org.talend.designer.components.lookup.persistent.PersistentSortedLookupManager.next(PersistentSortedLookupManager.java:561)
at dts_dm.person_dim_master_0_1.person_dim_master.tOracleInput_1Process(person_dim_master.java:37192)
at dts_dm.person_dim_master_0_1.person_dim_master.tJava_2Process(person_dim_master.java:50267)
at dts_dm.person_dim_master_0_1.person_dim_master.tJava_1Process(person_dim_master.java:50158)
at dts_dm.person_dim_master_0_1.person_dim_master.tOracleConnection_2Process(person_dim_master.java:50049)
at dts_dm.person_dim_master_0_1.person_dim_master.tOracleConnection_1Process(person_dim_master.java:49905)
at dts_dm.person_dim_master_0_1.person_dim_master.runJobInTOS(person_dim_master.java:50559)
at dts_dm.person_dim_master_0_1.person_dim_master.runJob(person_dim_master.java:50330)
at dts_dm.person_domain__0_1.PERSON_DOMAIN_.tRunJob_1Process(PERSON_DOMAIN_.java:1276)
at dts_dm.person_domain__0_1.PERSON_DOMAIN_.tJava_1Process(PERSON_DOMAIN_.java:1122)
at dts_dm.person_domain__0_1.PERSON_DOMAIN_$3.run(PERSON_DOMAIN_.java:5084)
Labels (3)
3 Replies
Anonymous
Not applicable

hi
i think i've seem similar error when using "store on disk for a lookup in certain cases (Object, big decimal as type)
hope it helps
laurent
_AnonymousUser
Specialist III
Specialist III
Author

I have 6 lookups for this job and each lookup has 3 million rows. The lookups have BigDecimal but no Object datatype. Why is bigdecimal causing this error? Any ideas to reslove this issue? The only option I have used is reduced the buffer size in TMAP fro 2 million to 1million
TamilM
Contributor II
Contributor II

Hi Team,

 

We are facing the same issue , "Exception in component tMap_2_TMAP_IN
java.lang.NegativeArraySizeException" in our job my source is 1 million and lookup is 3.5 million data. 

 

how did you fixed this or any root cause for this issue ?