Macos – Cannot install netbeans plugin – netbeans instalation corrupt

macosnetbeans

While trying to install the Node.js Projects plugin, it says that:

Some plugins require plugin Progress API to be installed.

The plugin Progress API is requested in version >= 1.40 but only
1.38.1 was found. The following plugin is affected: Node.js Projects

Some plugins require plugin Ant-Based Project Support to be installed.

The plugin Ant-Based Project Support is requested in version >= 1.62
but only 1.60.1 was found. The following plugin is affected:
Node.js Projects

Some plugins require plugin File System API to be installed.

The plugin File System API is requested in version >= 9.0 but only
8.12.1 was found. The following plugin is affected: Node.js Projects

Some plugins require plugin Datasystems API to be installed.

The plugin Datasystems API is requested in version >= 7.61 but only
7.57.2 was found. The following plugin is affected: Node.js Projects

Some plugins require plugin Utilities API to be installed.

The plugin Utilities API is requested in version >= 9.3 but only
8.39.1 was found. The following plugin is affected: Node.js Projects

Some plugins require plugin org.openide.util.ui to be installed.

The plugin org.openide.util.ui is requested in version 9.3. The
following plugin is affected: Node.js Projects Some plugins not
installed to avoid potential installation problems.

I asked the author of the plugin, and he said that my netbeans version is ancient.

The thing is this is a freshly installed netbeans and have tried to cleanup every cache and setting found on my system, I have removed:

  • /Applications/NetBeans/
  • ~/Library/Application Support/NetBeans
  • ~/Library/Caches/NetBeans
  • /private/var/db/receipts/org.netbeans.*

Tried on netbeans: 8.0.1 PHP, 8.0.2 full
OSX: Mavericks, updated
Plugin version: 2.21

screenshot of netbeans version

Tried to install plugin both as an .npm and from the authors update site. The plugin is not yet available in the official update center.

I have a second mac where the plugin works fine (NetBeans 8.0.0, OSX Mountain Lion), so this can be installed, but somehow on this system this install is stuck with an outdated plugin version somewhere in the system.

How to fully reset my netbeans instalation?


Additional information after some checks:

  1. It is not dependant on user, newly created user has the same problem – so not a problem with any file in $HOME
  2. It is the only instalation of netbeans on the computer, there was a Visual VM tool embeded into the system JRE, but removing it didn't help.
  3. I tried a dtruss (OSX strace equivalent, monitors system calls) on NetBeans, and it is not opening any suspicious files – only from JRE and NB 8.0.2's folder.

Best Answer

The author of the plugin has released a patch that fixed the versioning issue.

Related Question