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 232072 - org.openide.filesystems.FileAlreadyLockedException: Cannot read from locked file: org.netbeans.modules.remote.impl.fs.RemotePlainFile$1@eb14e5
Summary: org.openide.filesystems.FileAlreadyLockedException: Cannot read from locked f...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks: 230463
  Show dependency tree
 
Reported: 2013-07-01 11:48 UTC by soldatov
Modified: 2013-08-08 02:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201816


Attachments
stacktrace (1.10 KB, text/plain)
2013-07-01 11:48 UTC, soldatov
Details
stacktrace (1.10 KB, text/plain)
2013-07-01 16:21 UTC, Alexander Simon
Details
stacktrace (1.10 KB, text/plain)
2013-07-01 16:24 UTC, Alexander Simon
Details
stacktrace (1.10 KB, text/plain)
2013-07-10 14:33 UTC, Alexander Simon
Details
The proposed fix (on local history site) (1.50 KB, patch)
2013-07-24 14:27 UTC, Vladimir Kvashin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2013-07-01 11:48:19 UTC
This issue was reported manually by soldatov.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 201306272300)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: SunOS

User Comments:
soldatov: small C/C++ Full Remote project




Stacktrace: 
org.openide.filesystems.FileAlreadyLockedException: Cannot read from locked file: org.netbeans.modules.remote.impl.fs.RemotePlainFile$1@eb14e5
   at org.netbeans.modules.remote.impl.fs.RemotePlainFile$1.read(RemotePlainFile.java:342)
   at java.io.InputStream.read(InputStream.java:170)
   at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
   at java.io.FilterInputStream.read(FilterInputStream.java:107)
   at org.openide.filesystems.FileUtil.copy(FileUtil.java:543)
Comment 1 soldatov 2013-07-01 11:48:20 UTC
Created attachment 136531 [details]
stacktrace
Comment 2 soldatov 2013-07-01 11:51:25 UTC
I see this exception when I am adding new file into my "Full Remote" project
Comment 3 Alexander Simon 2013-07-01 16:21:05 UTC
Created attachment 136550 [details]
stacktrace

build full remote project
Comment 4 Alexander Simon 2013-07-01 16:24:04 UTC
Created attachment 136551 [details]
stacktrace

build full remote project
Comment 5 Vladimir Kvashin 2013-07-03 09:34:45 UTC
The related issue is issue #231203 (although I'm not sure it's a duplicate)
Comment 6 Alexander Simon 2013-07-10 14:33:24 UTC
Created attachment 136958 [details]
stacktrace

chage tool collection in full remote project properties
Comment 7 Vladimir Kvashin 2013-07-24 14:27:56 UTC
Created attachment 137702 [details]
The proposed fix (on local history site)
Comment 9 Quality Engineering 2013-08-08 02:29:29 UTC
Integrated into 'main-silver', will be available in build *201308072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8627ea4a515a
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #232072 - FileAlreadyLockedException when adding new full remote file