not able to retreive vehicle from redis store using id
See original GitHub issueExpected Behavior
Mission control should return vehicles
Current Behavior
Docker instance started with out errors and on loading missions I got this error
missioncontrol_1 | Thrift server started. Listening on port 9090
missioncontrol_1 | Web server started. Listening on port 8443
missioncontrol_1 | (node:53) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'long' of null
missioncontrol_1 | at getVehicle (/app/server/store/vehicles.js:42:35)
missioncontrol_1 | at <anonymous>
missioncontrol_1 | at process._tickCallback (internal/process/next_tick.js:160:7)
missioncontrol_1 | (node:53) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
missioncontrol_1 | (node:53) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Steps to Reproduce (for bugs)
- start missioncontrol as mentioned in contributing.md
- Start missions
Your Environment
- Version used:
- Environment name and version (e.g. Node 7.3.12): node 9.5.0
- Server type and version:
- Operating System and version:
- Link to your project:
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Redis: how to store a list of user hashes and retrieve it?
Goal: Save several users data into redis and read all of the users at once. I start a redis client and I start...
Read more >Storing and Querying Objects in Redis
Finding Objects matching multiple criteria. Now that there are index keys for the queryable properties, we can filter using multiple criteria ...
Read more >Create a Real-time Vehicle Tracking System with Redis
Learn how to create a Real Time Vehicle tracking system using Go, Javascript & Redis.
Read more >Query syntax - Redis
A special "wildcard query" that returns all results in the index - * (cannot be combined with anything else). Selection of specific fields...
Read more >EMQX Rule Engine Series (12) Store Messages to Redis
Redis not only supports simple key-value type data, ... Reported subject: cmd/state/:id , where id represents the vehicle client ID.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this is a symptom for a larger problem. Can we maybe leave it open and try to trace the steps to reproduce?
I’m guessing this isn’t enough to reproduce it, as it has been working for us lately.
@cg-cnu Can you make sure you have the latest version, and that the error still happens, and if so try and fix it maybe? Or help us reproduce it?