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

TypeError: Cannot read property 'Id' of undefined #21

Open
sic2 opened this issue Oct 26, 2017 · 4 comments
Open

TypeError: Cannot read property 'Id' of undefined #21

sic2 opened this issue Oct 26, 2017 · 4 comments

Comments

@sic2
Copy link

sic2 commented Oct 26, 2017

I got the following error while running jvm-mon. Not sure if there are logs I can inspect or not.

$ jvm-mon
TypeError: Cannot read property 'Id' of undefined
    at renderVmCharts (/usr/local/Cellar/jvm-mon/0.3/libexec/jvm-mon.js:174:25)
    at addData (/usr/local/Cellar/jvm-mon/0.3/libexec/jvm-mon.js:150:9)
    at Timeout._repeat (/usr/local/Cellar/jvm-mon/0.3/libexec/jvm-mon.js:204:5)
    at Timeout.wrapper [as _onTimeout] (timers.js:408:11)
    at tryOnTimeout (timers.js:224:11)
    at Timer.listOnTimeout (timers.js:198:5)
@ajermakovics
Copy link
Owner

ajermakovics commented Oct 29, 2017

Hmm, appears to be this line:

jvm-mon/src/dist/jvm-mon.js

Lines 173 to 174 in 4d9a4fe

function renderVmCharts(vm) {
var vmHist = hist[vm.Id]

where 'vm' ends up undefined.

Does this happen on startup or after some action?

@sic2
Copy link
Author

sic2 commented Oct 30, 2017

This does not happen with all my java programs. Anyway, it happens as soon as I try to inspect a java process.

@makaraset
Copy link

I'm facing with this error too in centos.

@ajermakovics
Copy link
Owner

Unfortunately, I'm not able to reproduce this issue.
Does it prevent you from monitoring all processes or just one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants