refactoring-ai / Data-Collection

Collect refactorings with metrics from java source code.
MIT License
6 stars 1 forks source link

Arbitrary files are missing during project initialization #6

Open jan-gerling opened 4 years ago

jan-gerling commented 4 years ago

During data-collection I noticed that sometimes files are missing during project initialization:

worker_19 | /data-collection_worker_19 2020-05-22 13:48:21 INFO App:201 For project: https://github.com/phonegap-build/FacebookConnect the project size could not be determined. worker_19 | java.lang.IllegalArgumentException: /tmp/1590155289563-0/repo/platforms/android/cordova/node_modules/.bin/shjs does not exist worker_19 | at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2413) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2479) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2417) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2479) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2417) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2479) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2417) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2479) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2417) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2479) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2417) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2479) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at refactoringml.App.initProject(App.java:199) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at refactoringml.App.run(App.java:126) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at refactoringml.RunQueue.processRepository(RunQueue.java:128) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at refactoringml.RunQueue.processResponse(RunQueue.java:82) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at refactoringml.RunQueue.run(RunQueue.java:73) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_19 | at refactoringml.RunQueue.main(RunQueue.java:60) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_6 | /data-collection_worker_6 2020-05-22 13:48:21 INFO App:140 Start mining project https://github.com/mohak1712/Insta-Chat(clone at /tmp/1590155297569-0/repo) worker_19 | /data-collection_worker_19 2020-05-22 13:48:21 INFO App:140 Start mining project https://github.com/phonegap-build/FacebookConnect(clone at /tmp/1590155289563-0/repo) worker_15 | /data-collection_worker_15 2020-05-22 13:49:43 INFO App:201 For project: https://github.com/titanpad/titanpad the project size could not be determined. worker_15 | java.lang.IllegalArgumentException: /tmp/1590155378230-0/repo/etherpad/src/etherpad/globals.js does not exist worker_15 | at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2413) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2479) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2417) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2479) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2417) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2479) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2417) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2479) ~[data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at refactoringml.App.initProject(App.java:199) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at refactoringml.App.run(App.java:126) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at refactoringml.RunQueue.processRepository(RunQueue.java:128) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at refactoringml.RunQueue.processResponse(RunQueue.java:82) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at refactoringml.RunQueue.run(RunQueue.java:73) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | at refactoringml.RunQueue.main(RunQueue.java:60) [data-collection-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?] worker_15 | /data-collection_worker_15 2020-05-22 13:49:43 INFO App:140 Start mining project https://github.com/titanpad/titanpad(clone at /tmp/1590155378230-0/repo)