Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
11.1
-
None
-
Linux Cinnamon Mint 19.2
Description
Installed plugins data seems to get corrupted with normal use. 'netbeans' then requests re-installation of 'nbjavac' plugin which fails.
Problem can be reproduced in this way:
- Run 'netbeans' without --userdir & --cachedir options # Default values '$HOME/.netbeans/11.1' & '$HOME/.cache/netbeans/11.1'. First run.
Open new project so that installation of 'nbjavac' & 'javafx' plugins is triggered.
Install plugins and exit. - Run 'netbeans' with --userdir $HOME/Test/.netbeans/11.1 --cachedir $HOME/Test/.cache/netbeans/11.1 options. # First run.
Open new project so that installation of 'nbjavac' & 'javafx' plugins is triggered.
Install plugins and exit.
Run sequentially:
- netbeans
- netbeans --userdir $HOME/Test/.netbeans/11.1 --cachedir $HOME/Test/.cache/netbeans/11.1
After a few times:
- Directory $HOME/.netbeans/11.1/config/Modules is empty.
- 'netbeans' requests re-installation of 'nbjavac' (which fails).
- Tools/Plugins/Installed shows that there are no active plugins.
EDIT: It seems that it may not be necessary to run, sequentially, 'netbeans' & 'netbeans --userdir ... --cachedir ...'
to reproduce the bug. I started netbeans (running 'netbeans') and before its window appeared (it takes a few seconds)
I tried to close an editor (another application). Just when I mouse-clicked the netbeans' window appeared and I closed
netbeans instead of the editor. Next time I started 'netbeans' the bug appeared (plugins data corrupted, etc).