apache / apache/netbeans

NetBeans Connector in the Chrome Web Store is outdated

Open
#6,601 17 comments 4 reactions 0 assignees View on GitHub
Contribution welcome JavaScript kind:bug
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans latest daily build

### What happened

The [NetBeans Connector in the Chrome Web Store](https://chrome.google.com/webstore/detail/netbeans-connector/hafdlehgocfcodbgjnpecfajgkeejnaa) needs to be updated to work on recent versions of Chrome, if this is possible, or be removed from the Chrome Web Store.

Sources for the connector seem to be still available at [extbrowser/plugins](https://github.com/apache/netbeans/tree/4086bd3bd687c616694d74f21aeab2ff6addc329/webcommon/extbrowser.chrome/plugins).

The message in the IDE log looks like this:

```
INFO [org.netbeans.ui.metrics.web.clientproject]: USG_PROJECT_HTML5_CONFIGURE
INFO [org.netbeans.modules.extbrowser.plugins.chrome.ChromeManagerAccessor.ChromeExtensionManager]: Could not find chrome extension in installation directory!
INFO [org.netbeans.modules.web.webkit.debugging.api.Debugger]: Enable failed: {"id":0,"error":"{\"message\":\"Cannot attach to this target.\"}"}
INFO [org.netbeans.modules.extbrowser.plugins.chrome.ChromeManagerAccessor.ChromeExtensionManager]: Could not find chrome extension in installation directory!
INFO [org.netbeans.modules.web.webkit.debugging.api.Debugger]: Enable failed: {"id":1,"error":"{\"message\":\"Cannot attach to this target.\"}"}
```

### How to reproduce

1. Install the "NetBeans Connector" from the Chrome Web Store.
2. Create an HTML5 project (I've used a HTML5 template)
3. Try to run the "index.html" file.

### Did this work correctly in an earlier version?

NetBeans 8.2

### Operating System

Any operating system (I'm on Linux). This used to work in NB8.2.

### JDK

JDK11, not important.

### Apache NetBeans packaging

Own source build

### Anything else

Issue https://github.com/apache/netbeans/issues/4987 is probably the same problem. Closing it in favor of this one.

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start with the connector sources under webcommon/extbrowser.chrome/plugins and reproduce the failure using the listed HTML5 project steps with the Chrome Web Store extension. Review the IDE log messages about the missing extension and failed debugger attachment. Done means the connector works with recent Chrome versions, or the outdated store listing is removed if updating is not possible.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
tooling, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.