Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "main" java.util.NoSuchElementException: next on empty iterator #9

Open
manouchk38 opened this issue Apr 8, 2021 · 0 comments

Comments

@manouchk38
Copy link

Hi,

I installed duometer as informed in readme (https://github.com/pmandera/duometer) and runned the following command:

./duometer -i /home/manu/Joplin/MD -o /home/manu/Joplin/texts-duplicates.txt

I got the following exception:

Exception in thread "main" java.util.NoSuchElementException: next on empty iterator at scala.collection.Iterator$$anon$2.next(Iterator.scala:39) at scala.collection.Iterator$$anon$2.next(Iterator.scala:37) at scala.collection.IterableLike$class.head(IterableLike.scala:107) at scala.collection.AbstractIterable.head(Iterable.scala:54) at com.pawelmandera.duplicates.SharedMemberCandidates$class.candidates(SharedMemberCandidates.scala:17) at com.pawelmandera.main.MinHashMain$$anon$2.candidates(MinHashMain.scala:116) at com.pawelmandera.duplicates.MinHashDetection$class.detect(MinHashDetection.scala:29) at com.pawelmandera.main.MinHashMain$$anon$2.detect(MinHashMain.scala:116) at com.pawelmandera.main.MinHashMain$.main(MinHashMain.scala:121) at com.pawelmandera.main.MinHashMain.main(MinHashMain.scala)

I run duometer on archlinux and java version is:

$ java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

I also installed scala which did not change anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant