emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

Misc) Intellij errors. #175

Closed TFloyd1989 closed 4 years ago

TFloyd1989 commented 4 years ago

I am getting the error: Execution failed for task ':test'.

Unexpected result file version 0 found in C:\Users\worke\IdeaProjects\dsa-javaTFII\build\test-results\test\binary\results.bin.

whenever I try to test my HW 2 code. I have also included a screenshot, I was wondering how I get around this error. Screenshot (55)

TFloyd1989 commented 4 years ago

Screenshot (56) More information with stacktrace

lujiaying commented 4 years ago

Never seen this before. Could you try compile to see if there are typos somewhere in the code?

huynhduchuydp36 commented 3 years ago

Delete file results.bin as in report, it work for me.

Duduxs commented 2 years ago

Deleting the file works for me too!