This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257845

Summary: can't install plugins, they disappear after IDE restart with no error
Product: platform Reporter: Gabriel_G
Component: AutoupdateAssignee: Libor Fischmeistr <lfischmeistr>
Status: REOPENED ---    
Severity: normal CC: Gabriel_G
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: messages*

Description Gabriel_G 2016-02-04 13:51:18 UTC
I've tried to install downloaded DukeScript plugin (can't install from available plugins because a 'timeout error' in the process)

After succesful installation and ide restart, the plugin is not installed.

I'm using a fresh IDE install, I've already deleted "~/.netbeans" directory, running on Ubuntu 15.10, Java 8 u72 x64

Thank you in advance.
Comment 1 Jiri Prox 2016-02-18 00:10:40 UTC
Can you, please, provide messages.log (or messages.log.X where X is 1,2,3....)
This files are located in your userdir.

Thanks
Comment 2 Gabriel_G 2016-02-18 13:00:23 UTC
Created attachment 158554 [details]
messages*

Logs cleaned before tools -> plubins -> update (15 updates) -> restart IDE -> plugins not updated.
Comment 3 Gabriel_G 2016-04-27 13:31:35 UTC
Upgraded to Ubuntu 16.04, JDK 1.8.0_92 (x64), problem persist.
Comment 4 Gabriel_G 2016-04-27 13:59:53 UTC
Maybe this could help:

When I start NB from .desktop launcher, it performs in the wrong way.

When I start it from installation directory, IDE updates and install plugins. I saw in terminal the error ...

java.nio.file.NoSuchFileException: /home/<my-home>/.netbeans/8.1/var/log/updater.log.0.lck
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)

So, maybe when I launch IDE from Netbeans.desktop (/home/<my-home>/.local/share/applications/Netbeans.desktop) it assumes as working directory that path.

Could you confirm that? 
Thanks in advance.
Comment 5 Gabriel_G 2016-04-27 15:03:48 UTC
Sorry for triple-posting, more info:

I added "Path=/home/<my-home>/<netbeans-installation-dir>/bin" to the netbeans.desktop in the path "/home/<my-home>/.local/share/applications/" and that solve the issue.

Could you recommend an alternative? maybe modifying netbeans.sh?
Thank you.