skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

Uncaught (in promise) TypeError: Cannot read property 'services' of undefined

Open ludayuan opened this issue 5 years ago • 7 comments

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [x] Question or discussion

Question

Why did it report an error?

Uncaught (in promise) TypeError: Cannot read property 'services' of undefined

image


Requirement or improvement

version :skywalking 8.3 jdk: 1.8

ludayuan avatar Dec 22 '20 01:12 ludayuan

Could you recheck this on the demo env?

wu-sheng avatar Dec 22 '20 01:12 wu-sheng

Could you recheck this on the demo env?

Such as?

ludayuan avatar Dec 22 '20 01:12 ludayuan

It is on the website, https://skywalking.apache.org/#demo.

wu-sheng avatar Dec 22 '20 02:12 wu-sheng

It is on the website, https://skywalking.apache.org/#demo.

I'm not sure what I need to configure for this UI. Could you please make it clear? Thank you

ludayuan avatar Dec 22 '20 02:12 ludayuan

What do you mean configure? I mean, if this is a code level issue, you should be able to see the error when you visit the demo SkyWalking, which is the same codes you are using.

wu-sheng avatar Dec 22 '20 02:12 wu-sheng

I can't see what is error. How could I guess this?

wu-sheng avatar Dec 22 '20 03:12 wu-sheng

@qianglu1989 its a bug when u use elasticsearch as storage.

how to solve: 1、step to org.apache.skywalking.oap.server.storage.plugin.elasticsearch.query.MetadataQueryEsDAO 2、code line 239 replaces to: service.setGroup(serviceTraffic.getGroup() == null ? "-" : serviceTraffic.getGroup()); 3、repackage storage-elasticsearch-plugin-8.3.0.jar and restart OAPserver

Lovnx avatar Jan 06 '21 07:01 Lovnx