Alright, below is my message. In the next mail I will attach my files. Dear Dan, all,
I do not have skills to get the stack trace. The code hangs one, Eclipse does not print me its stack trace because it does not terminate the program. So I decided to make a small test.java file that you can easily run. This code has the main function that simply runs getItemList() method which successfully executes getDataset() method (here please download mushroom.dat dataset and set the full path into filePath string variable) and the hangs on (the problem happens on a fourth columnValues.add() call). After the dataset was taken into X array, the code simply goes through X column by column and searches for different items in it. If you uncomment IntSet columnValues = new IntOpenHashSet(); and corresponding import headers then everything will work just fine (you will also need to include hppc jar file (can not attach because mail manager prevents)). Please feel free to ask if anything unclear. On 21 May 2013 15:08, Robin Anil <robin.a...@gmail.com> wrote: > I think you forgot to attach the test file > On May 21, 2013 7:30 AM, "Sophie Sperner" <sophie.sper...@gmail.com> > wrote: > > > Link to hhpc jar file - > > http://labs.carrotsearch.com/hppc-download.htmlthen press Download > > button on the right. > > > > > > On 21 May 2013 13:23, Sophie Sperner <sophie.sper...@gmail.com> wrote: > > > > > Dear Dan, all, > > > > > > I do not have skills to get the stack trace. The code hangs one, > Eclipse > > > does not print me its stack trace because it does not terminate the > > > program. So I decided to make a small test.java file that you can > easily > > > run. > > > > > > This code has the main function that simply runs getItemList() method > > > which successfully executes getDataset() method (here please download > > > mushroom.dat dataset and set the full path into filePath string > variable) > > > and the hangs on (the problem happens on a fourth columnValues.add() > > call). > > > After the dataset was taken into X array, the code simply goes through > X > > > column by column and searches for different items in it. > > > > > > If you uncomment IntSet columnValues = new IntOpenHashSet(); and > > > corresponding import headers then everything will work just fine (you > > will > > > also need to include hppc jar file (can not attach because mail manager > > > prevents)). > > > > > > Please feel free to ask if anything unclear. > > > > > > Sophie > > > > > > > > > > > -- > > Yours, > > Sophie > > > -- Yours, Sophie