If the student's code doesn't have a new line character after the package declaration, an exception is thrown. For example, if there is an import on the same line as the package declaration: package delft; import java.util.List;.
Status: Done
Andy v1.0-6a0e9a7 (2023-06-27T09:24:42+0000)
Oh, we are facing a failure that we cannot recover from.
The failure occurred in RunJUnitTestsStep.
Please, send the message below to the teaching team:
---
java.lang.ClassNotFoundException: delft.ArrayUtilsTests
at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:716)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:586)
at nl.tudelft.cse1110.andy.utils.FromBytesClassLoader.loadClass(FromBytesClassLoader.java:32)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:466)
at nl.tudelft.cse1110.andy.execution.step.RunJUnitTestsStep.execute(RunJUnitTestsStep.java:33)
at nl.tudelft.cse1110.andy.execution.ExecutionFlow.run(ExecutionFlow.java:31)
at nl.tudelft.cse1110.andy.Andy.run(Andy.java:12)
at nl.tudelft.cse1110.andy.AndyOnWebLab.runAndy(AndyOnWebLab.java:35)
at nl.tudelft.cse1110.andy.AndyOnWebLab.main(AndyOnWebLab.java:27)---
If the student's code doesn't have a new line character after the package declaration, an exception is thrown. For example, if there is an import on the same line as the package declaration:
package delft; import java.util.List;
.