Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3158

netbeans 11.1 requests re-installation of nbjavac plugin and fails.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      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:

      1. 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.
      2. 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).

        Attachments

        1. 00000021.log
          40 kB
          Manuel Iglesias
        2. 00000022.log
          67 kB
          Manuel Iglesias
        3. 00000023.log
          62 kB
          Manuel Iglesias
        4. 00000024.log
          59 kB
          Manuel Iglesias
        5. 00000040.log
          65 kB
          Manuel Iglesias
        6. 00000041.log
          68 kB
          Manuel Iglesias
        7. 00000042.log
          62 kB
          Manuel Iglesias
        8. messages.log
          34 kB
          Manuel Iglesias
        9. messages.log
          34 kB
          Manuel Iglesias
        10. netbeans.conf
          5 kB
          Manuel Iglesias
        11. Screenshot1.png
          187 kB
          Manuel Iglesias
        12. Screenshot2.png
          197 kB
          Manuel Iglesias
        13. Screenshot from 2019-10-31 11-23-33.png
          222 kB
          Manuel Iglesias
        14. Screenshot from 2019-10-31 11-24-34.png
          109 kB
          Manuel Iglesias
        15. Screenshot from 2019-10-31 11-25-31.png
          178 kB
          Manuel Iglesias
        16. Screenshot from 2019-10-31 11-52-50.png
          259 kB
          Manuel Iglesias
        17. Screenshot from 2019-10-31 11-52-50.png
          259 kB
          Manuel Iglesias
        18. Screenshot from 2019-10-31 19-25-54.png
          250 kB
          Manuel Iglesias
        19. Screenshot from 2019-11-10 16-45-28.png
          51 kB
          Manuel Iglesias
        20. Screenshot from 2019-11-10 16-46-18.png
          129 kB
          Manuel Iglesias
        21. Screenshot from 2019-11-10 16-47-48.png
          101 kB
          Manuel Iglesias
        22. Screenshot from 2019-11-10 16-48-54.png
          128 kB
          Manuel Iglesias
        23. Screenshot from 2019-11-10 16-51-33.png
          78 kB
          Manuel Iglesias
        24. Screenshot from 2019-11-10 16-52-33.png
          138 kB
          Manuel Iglesias

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              glesialo Manuel Iglesias
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Due:
                Created:
                Updated: