TruX-DTF / debug-method-name

Learning to Spot and Refactor Inconsistent Method Names
16 stars 17 forks source link

flush() failed: stream is closed when save model #22

Open y3zha opened 3 years ago

y3zha commented 3 years ago

I run MethodBodyCodeLearner.java but when save model it crashed and say

Exception in thread "main" java.io.IOException: flush() failed: stream is closed the method ModelSerializer.writeModel(model, locationToSave, saveUpdater);

This method is provided by derplearning4j, I don’t know what went wrong and how to handle

Kui-Liu commented 3 years ago

I am sorry, I don't know what is the problem. I never met this exception. If you do not need to store this model, you can remove the code.