You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior - should simply skip the file, or increase timeout so this doesn't happen.
17:45:29.316 [main] ERROR edu.njit.jerse.automation.AsheAutomation - Error processing Java file:
java.util.concurrent.TimeoutException: null
at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095) ~[?:?]
at edu.njit.jerse.ashe.llm.openai.OpenAiRequestHandler.apiResponse(OpenAiRequestHandler.java:120) ~[main/:?]
at edu.njit.jerse.ashe.llm.openai.GptApiClient.getApiResponse(GptApiClient.java:124) ~[main/:?]
at edu.njit.jerse.ashe.llm.openai.GptApiClient.fetchApiResponse(GptApiClient.java:59) ~[main/:?]
at edu.njit.jerse.ashe.utils.JavaCodeCorrector.fetchCorrectionFromModel(JavaCodeCorrector.java:202) ~[main/:?]
at edu.njit.jerse.ashe.utils.JavaCodeCorrector.fixTargetFileErrorsWithModel(JavaCodeCorrector.java:141) ~[main/:?]
at edu.njit.jerse.ashe.Ashe.run(Ashe.java:135) ~[main/:?]
at edu.njit.jerse.automation.AsheAutomation.processSingleJavaFile(AsheAutomation.java:146) ~[main/:?]
at edu.njit.jerse.automation.AsheAutomation.lambda$processAllJavaFiles$2(AsheAutomation.java:67) ~[main/:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) [?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) [?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) [?:?]
at java.util.Iterator.forEachRemaining(Iterator.java:133) [?:?]
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939) [?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) [?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) [?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) [?:?]
at edu.njit.jerse.automation.AsheAutomation.processAllJavaFiles(AsheAutomation.java:64) [main/:?]
at edu.njit.jerse.automation.AsheAutomation.main(AsheAutomation.java:247) [main/:?]
Exception in thread "main" java.lang.RuntimeException: Error processing Java file:
at edu.njit.jerse.automation.AsheAutomation.lambda$processAllJavaFiles$2(AsheAutomation.java:74)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at edu.njit.jerse.automation.AsheAutomation.processAllJavaFiles(AsheAutomation.java:64)
at edu.njit.jerse.automation.AsheAutomation.main(AsheAutomation.java:247)
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095)
at edu.njit.jerse.ashe.llm.openai.OpenAiRequestHandler.apiResponse(OpenAiRequestHandler.java:120)
at edu.njit.jerse.ashe.llm.openai.GptApiClient.getApiResponse(GptApiClient.java:124)
at edu.njit.jerse.ashe.llm.openai.GptApiClient.fetchApiResponse(GptApiClient.java:59)
at edu.njit.jerse.ashe.utils.JavaCodeCorrector.fetchCorrectionFromModel(JavaCodeCorrector.java:202)
at edu.njit.jerse.ashe.utils.JavaCodeCorrector.fixTargetFileErrorsWithModel(JavaCodeCorrector.java:141)
at edu.njit.jerse.ashe.Ashe.run(Ashe.java:135)
at edu.njit.jerse.automation.AsheAutomation.processSingleJavaFile(AsheAutomation.java:146)
at edu.njit.jerse.automation.AsheAutomation.lambda$processAllJavaFiles$2(AsheAutomation.java:67)
... 14 more
Task :runAsheAutomation FAILED
The text was updated successfully, but these errors were encountered:
Expected behavior - should simply skip the file, or increase timeout so this doesn't happen.
17:45:29.316 [main] ERROR edu.njit.jerse.automation.AsheAutomation - Error processing Java file:
java.util.concurrent.TimeoutException: null
at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095) ~[?:?]
at edu.njit.jerse.ashe.llm.openai.OpenAiRequestHandler.apiResponse(OpenAiRequestHandler.java:120) ~[main/:?]
at edu.njit.jerse.ashe.llm.openai.GptApiClient.getApiResponse(GptApiClient.java:124) ~[main/:?]
at edu.njit.jerse.ashe.llm.openai.GptApiClient.fetchApiResponse(GptApiClient.java:59) ~[main/:?]
at edu.njit.jerse.ashe.utils.JavaCodeCorrector.fetchCorrectionFromModel(JavaCodeCorrector.java:202) ~[main/:?]
at edu.njit.jerse.ashe.utils.JavaCodeCorrector.fixTargetFileErrorsWithModel(JavaCodeCorrector.java:141) ~[main/:?]
at edu.njit.jerse.ashe.Ashe.run(Ashe.java:135) ~[main/:?]
at edu.njit.jerse.automation.AsheAutomation.processSingleJavaFile(AsheAutomation.java:146) ~[main/:?]
at edu.njit.jerse.automation.AsheAutomation.lambda$processAllJavaFiles$2(AsheAutomation.java:67) ~[main/:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) [?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) [?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) [?:?]
at java.util.Iterator.forEachRemaining(Iterator.java:133) [?:?]
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939) [?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) [?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) [?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) [?:?]
at edu.njit.jerse.automation.AsheAutomation.processAllJavaFiles(AsheAutomation.java:64) [main/:?]
at edu.njit.jerse.automation.AsheAutomation.main(AsheAutomation.java:247) [main/:?]
Exception in thread "main" java.lang.RuntimeException: Error processing Java file:
at edu.njit.jerse.automation.AsheAutomation.lambda$processAllJavaFiles$2(AsheAutomation.java:74)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at edu.njit.jerse.automation.AsheAutomation.processAllJavaFiles(AsheAutomation.java:64)
at edu.njit.jerse.automation.AsheAutomation.main(AsheAutomation.java:247)
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095)
at edu.njit.jerse.ashe.llm.openai.OpenAiRequestHandler.apiResponse(OpenAiRequestHandler.java:120)
at edu.njit.jerse.ashe.llm.openai.GptApiClient.getApiResponse(GptApiClient.java:124)
at edu.njit.jerse.ashe.llm.openai.GptApiClient.fetchApiResponse(GptApiClient.java:59)
at edu.njit.jerse.ashe.utils.JavaCodeCorrector.fetchCorrectionFromModel(JavaCodeCorrector.java:202)
at edu.njit.jerse.ashe.utils.JavaCodeCorrector.fixTargetFileErrorsWithModel(JavaCodeCorrector.java:141)
at edu.njit.jerse.ashe.Ashe.run(Ashe.java:135)
at edu.njit.jerse.automation.AsheAutomation.processSingleJavaFile(AsheAutomation.java:146)
at edu.njit.jerse.automation.AsheAutomation.lambda$processAllJavaFiles$2(AsheAutomation.java:67)
... 14 more
The text was updated successfully, but these errors were encountered: