nmsa / tma-framework-a

Component A - Trustworthiness Monitoring & Assessment Framework
Apache License 2.0
1 stars 3 forks source link

Bug on PRIVAaaS refactoring #49

Closed tbasso closed 6 years ago

tbasso commented 6 years ago

The error described below occurred while testing the refactory of PRIVAaaS. This was due to the missing hierarchy file (the file was included in a copy to perform the tests and it worked well). We only ask for including the file in the project before releasing it.

C:\arx-poc (MA)\arx-poc>java -jar dist\arxAllInOneJar.jar -k 2 -policy test_files\param_adulto1.csv -datadb test_files\adulto1.csv -output test_files\out_adulto1.csv Exception in thread "Character reading thread" java.lang.IllegalStateException: Error processing input at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:92) at java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: arx-poc\hierarchy\age.csv (O sistema não pode encontrar o caminho especificado) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(Unknown Source) at java.io.FileInputStream.(Unknown Source) at org.deidentifier.arx.io.CSVDataInput$LazyFileReader.read(Unknown Source) at com.univocity.parsers.common.input.concurrent.CharBucket.fill(CharBucket.java:70) at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:81) ... 1 more java.lang.RuntimeException: Empty generalization hierarchy for attribute 'age' at org.deidentifier.arx.framework.data.GeneralizationHierarchy.(Unknown Source) at org.deidentifier.arx.framework.data.DataManager.(Unknown Source) at org.deidentifier.arx.ARXAnonymizer.getDataManager(Unknown Source) at org.deidentifier.arx.ARXAnonymizer.anonymize(Unknown Source) at br.unicamp.ft.arx.service.Anonymizer.run(Anonymizer.java:160) at br.unicamp.ft.arx.service.Anonymizer.main(Anonymizer.java:71)

alexmbraga commented 6 years ago

We are closing this issue here to open it at the right repository (PRIVAaaS)