Hi
My app has multiple threads reading data from pipe and storing it in an arraylist. When parsing the arraylist i got an error... seemed like a null value that's crept in. The thread processing continued and i could see data being stored in the arraylist.
Looking into it further threw up a weird problem. An index position in the arraylist was missing!!
Well I thought maybe I could expect null value to be stored at some positions but a missing index position seems strange.
The arraylist is named DataHolder.
What I see is DataHolder[1281]='abc' and then DataHolder[1283]='xyz'. There is no DataHolder[1282].
Any ideas why this happens? Is this a common occurance?
My app has multiple threads reading data from pipe and storing it in an arraylist. When parsing the arraylist i got an error... seemed like a null value that's crept in. The thread processing continued and i could see data being stored in the arraylist.
Looking into it further threw up a weird problem. An index position in the arraylist was missing!!
The arraylist is named DataHolder.
What I see is DataHolder[1281]='abc' and then DataHolder[1283]='xyz'. There is no DataHolder[1282].
Any ideas why this happens? Is this a common occurance?