[ https://issues.apache.org/jira/browse/NETBEANS-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16963480#comment-16963480 ]
Manuel Iglesias edited comment on NETBEANS-3158 at 10/30/19 10:43 PM: ---------------------------------------------------------------------- Last messages.log (fresh start, nothing imported, create new project + open old project tries):[^messages.log] ^There is nothing wrong with '/usr/local/Bins/*'. It is where I install distro-independent things:^ ^echo $NETBEANS_HOME^ ^/usr/local/Bins/D.Netbeans^ ^echo $JAVA_HOME^ ^/usr/local/Bins/D.Java^ echo $PATH /home/manolo/bin:/home/common/bin:/usr/local/Bins/D.Java/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games ^'/user/local' is a link and so are '/usr/local/Bins/D.Netbeans' (source netbeans-11.2) & '/usr/local/Bins/D.Java' (source jdk-11.0.4+11). I have been using this scheme for decades with different versions of Java & Netbeans. It works perfectly (except for the mentioned bug) with netbeans.1.11.^ ^I am not going to netbeans.apache.org to describe the bug because I have done it here.^ was (Author: glesialo): Last messages.log (fresh start, nothing imported, create new project + open old project tries):[^messages.log] ^There is nothing wrong with '/usr/local/Bins/*'. It is where I install distro-independent things:^ ^echo $NETBEANS_HOME^ ^/usr/local/Bins/D.Netbeans^ ^echo $JAVA_HOME^ ^/usr/local/Bins/D.Java^ echo $PATH /home/manolo/bin:/home/common/bin:/usr/local/Bins/D.Java/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games ^'/user/local' is a link and so are '/usr/local/Bins/D.Netbeans' (source netbeans-11.2) & '/usr/local/Bins/D.Java' (source jdk-11.0.4+11). I have been using this scheme for decades with different versions of Java & Netbeans. It works perfectly (except for the mentioned bug) with netbeans.1.11.^ ^I am not going to netbeans.apache.org to describe the bug because I have done it here.^ > netbeans 11.1 requests re-installation of nbjavac plugin and fails. > ------------------------------------------------------------------- > > Key: NETBEANS-3158 > URL: https://issues.apache.org/jira/browse/NETBEANS-3158 > Project: NetBeans > Issue Type: Bug > Components: platform - Plugin Manager > Affects Versions: 11.1 > Environment: Linux Cinnamon Mint 19.2 > Reporter: Manuel Iglesias > Priority: Major > Attachments: messages.log > > > 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). -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists