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

Not having a new line after the package declaration causes an exception #256

Open
martinmladenov opened this issue Jul 27, 2023 · 0 comments
Labels
bug Something isn't working Low priority

Comments

@martinmladenov
Copy link
Collaborator

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)---


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Low priority
Projects
None yet
Development

No branches or pull requests

1 participant