Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

not able to retreive vehicle from redis store using id

See original GitHub issue

Expected 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)

  1. start missioncontrol as mentioned in
  2. 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:closed
  • Created 6 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

srfrnkcommented, Feb 28, 2018

I think this is a symptom for a larger problem. Can we maybe leave it open and try to trace the steps to reproduce?

TalAtercommented, Feb 17, 2018

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found