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

Rest::isFilled() argument 1 must be of the type int, NULL given #237

Open
dfelton opened this issue Dec 9, 2021 · 0 comments
Open

Rest::isFilled() argument 1 must be of the type int, NULL given #237

dfelton opened this issue Dec 9, 2021 · 0 comments
Labels
bug Something isn't working Priority - Low

Comments

@dfelton
Copy link
Owner

dfelton commented Dec 9, 2021

Never seen this happen before but guessing it had something to do with the Rest Fill Monitor processing a record by chance right at the same moment the ./bin/gemini repeater:add-to command was also manipulating it.

Shutdown Enabled at: 2021-12-09 04:02:19
Exception: TypeError
Code: 0
Message: Argument 1 passed to Kobens\Gemini\Command\Command\TradeRepeater\FillMonitor\Rest::isFilled() must be of the type int, null given, called in /home/dfelton/gemini/src/Command/Command/TradeRepeater/FillMonitor/Rest.php on line 184
Strace:
#0 src/Command/Command/TradeRepeater/FillMonitor/Rest.php(184): Kobens\Gemini\Command\Command\TradeRepeater\FillMonitor\Rest->isFilled(NULL)
#1 src/Command/Command/TradeRepeater/FillMonitor/Rest.php(155): Kobens\Gemini\Command\Command\TradeRepeater\FillMonitor\Rest->iterateBuyOrders(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, NULL)
#2 src/Command/Command/TradeRepeater/FillMonitor/Rest.php(110): Kobens\Gemini\Command\Command\TradeRepeater\FillMonitor\Rest->mainLoop(Object(Symfony\Component\Console\Output\ConsoleOutput), true, true, NULL)
#3 vendor/symfony/console/Command/Command.php(255): Kobens\Gemini\Command\Command\TradeRepeater\FillMonitor\Rest->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Kobens\Gemini\Command\Command\TradeRepeater\FillMonitor\Rest), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /home/dfelton/gemini/bin/gemini(445): Symfony\Component\Console\Application->run()
#8 {main}

@dfelton dfelton added bug Something isn't working Priority - Low labels Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority - Low
Projects
None yet
Development

No branches or pull requests

1 participant