Bug: Javadoc fails with 4 @param/@throws errors during build-cs108 #29
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Running
.gradlew.bat build-cs108fails because thejavadoctask errors out (4 errors), blocking creation of the executable JAR and the Javadoc JAR.Steps to reproduce:
gradlew build-cs108Expected behavior:
javadoccompletes (at most warnings) andbuild-cs108produces the executable JAR and the Javadoc JAR.Actual behavior:
javadocfails with 4 errors (plus many warnings) and the build aborts.Errors (from javadoc output):
@paramnameFile: ProtocolParser.java
Problem: Javadoc documents
@param packetbut method parameter is payload.@throwsdeclared but exception not thrownFile: Session.java
Problem: @throws IOException declared in Javadoc but constructor does not throw it.
@paramuses type name instead of parameter nameFile: SessionId.java
Problem:
@paramtag uses UUID as the name instead of the parameter name value.@paramname mismatchFile: SessionManager.java
Problem: Javadoc documents @param id but method parameter is named event.
Affected files:
assigned to @lars.winzer
created branch
chore/29-javadoc-server-errorsto address this issuementioned in merge request !60
added 5m of time spent at 2026-03-31 12:00:00 +0200
mentioned in commit
9a81c6f1af