Skip to content

NullPointerException - "currentUser" is Null #618

Description

@Maillman

I'm not sure if this is a problem for anyone else starting up the autograder, but when I start it, it tries to rerun the submissions in the queue. However, it throws a NullPointerException saying

Cannot invoke "edu.byu.cs.model.User.repoUrl()" because "currentUser" is null
	at edu.byu.cs.service.SubmissionService.reRunSubmissionsInQueue(SubmissionService.java:305)

Solving this would be a small null check on the currentUser before calling currentUser.repoUrl() on it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions