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 259091

Summary: java.nio.channels.NonWritableChannelException at sun.nio.ch.FileChannelImpl.tryLock
Product: versioncontrol Reporter: aquaglia <aquaglia>
Component: SubversionAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: chizhaxiaoming, ewer, markmarx, pmralbuquerque, spector32, thuccoi, writerim
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 195850
Attachments: stacktrace
stacktrace
stacktrace

Description aquaglia 2016-05-02 08:27:26 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17
OS: Linux

User Comments:
markmarx: I can't create a new project. The folder permissions are correct. But always the Netbeans throws this exception.

aquaglia: openiing IDE after a folder of an open project has been made read-only.




Stacktrace: 
java.nio.channels.NonWritableChannelException
   at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1104)
   at org.tmatesoft.sqljet.core.internal.fs.SqlJetFileLockManager$1.createLock(SqlJetFileLockManager.java:57)
   at org.tmatesoft.sqljet.core.internal.fs.SqlJetFileLockManager.createLock(SqlJetFileLockManager.java:81)
   at org.tmatesoft.sqljet.core.internal.fs.SqlJetFileLockManager.tryLock(SqlJetFileLockManager.java:102)
   at org.tmatesoft.sqljet.core.internal.fs.SqlJetFile.checkReservedLock(SqlJetFile.java:714)
   at org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.hasHotJournal(SqlJetPager.java:2491)
Comment 1 aquaglia 2016-05-02 08:27:28 UTC
Created attachment 159505 [details]
stacktrace
Comment 2 ewer 2016-05-24 16:24:48 UTC
Created attachment 159864 [details]
stacktrace

Just start netbeans after Plugin update and it opens the projects
Comment 3 pmralbuquerque 2016-08-10 08:10:34 UTC
Created attachment 161616 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>
1-File - Open Project