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

NullPointerException when closing an Agent which has an HttpLane #161

Open
ajay-gov opened this issue Aug 9, 2024 · 0 comments
Open

NullPointerException when closing an Agent which has an HttpLane #161

ajay-gov opened this issue Aug 9, 2024 · 0 comments
Assignees
Labels
C-bug Category: bug

Comments

@ajay-gov
Copy link
Member

ajay-gov commented Aug 9, 2024

Describe the bug
NullPointerException when closing an Agent which has an HttpLane

To Reproduce
Steps to reproduce the behavior:

  1. Create an Agent with an HttpLane
  2. Call close() on the Agent to see the stacktrace

Additional context
The agent does not recover after this error, i.e commands send to this agent's uri are never received

Log output

java.lang.NullPointerException: Cannot invoke "swim.system.http.RestLaneModel.closeLaneView(swim.api.Lane)" because "this.laneBinding" is null
	at swim.system.http.RestLaneView.close(RestLaneView.java:52)
	at swim.system.LaneModel.willClose(LaneModel.java:532)
	at swim.system.AbstractTierBinding.close(AbstractTierBinding.java:281)
	at swim.system.agent.AgentNode.willClose(AgentNode.java:595)
	at swim.system.agent.AgentModel.willClose(AgentModel.java:582)
@ajay-gov ajay-gov self-assigned this Aug 9, 2024
@ajay-gov ajay-gov added the C-bug Category: bug label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

1 participant