code-server: Activating extension 'redhat.java' failed. Cannot read property 'join' of null.

Description

I am trying to run a Java project but the extensions don’t get activated. I have JDK installed and java.home set in settings.json.

Steps to Reproduce

  1. Build an image from this Dockerfile
  2. Run a container and open localhost:8080
  3. Open terminal and clone a repository.
  4. Click on any file to get prompted with this notification

Screenshot from 2019-11-10 22-03-23

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

From what I’ve seen (https://github.com/cdr/code-server/issues/1136#issuecomment-549534426) the join error is because the extension is missing files. You can try:

npm install
./node_modules/.bin/gulp download_server

But we need to look into our marketplace and figure out why this is failing to fully build. At least, I think that’s the source of the problem.

@code-asher @sr229 is there an update on this and similar issues with files missing in extensions downloaded from the Code Server marketplace?