Can you paste the implementations of handle_cast/2 and handle_call/3, and the stacktrace of the ArgumentError?
handle_cast/2
handle_call/3
ArgumentError