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 193864 - org.netbeans.modules.remote.impl.fs.DirectoryStorage$FormatException: Wrong file format /var/tmp/vv159170/cnd-userdir/var/cache/remote-files/127.0.1.10_22/home/vv159170/.rfs
Summary: org.netbeans.modules.remote.impl.fs.DirectoryStorage$FormatException: Wrong f...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-28 08:48 UTC by Vladimir Voskresensky
Modified: 2011-01-06 09:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 175394


Attachments
stacktrace (5.97 KB, text/plain)
2010-12-28 08:48 UTC, Vladimir Voskresensky
Details
stacktrace (2.09 KB, text/plain)
2010-12-28 09:06 UTC, Vladimir Voskresensky
Details
stacktrace (1.99 KB, text/plain)
2010-12-29 23:07 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2010-12-28 08:48:29 UTC
Build: NetBeans IDE Dev (Build 101228-fc1289299b08)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
vv159170: show Favorites with remote file system as one of roots




Stacktrace: 
org.netbeans.modules.remote.impl.fs.DirectoryStorage$FormatException: Wrong file format /var/tmp/vv159170/cnd-userdir/var/cache/remote-files/127.0.1.10_22/home/vv159170/.rfs
   at org.netbeans.modules.remote.impl.fs.DirectoryStorage.wrongFormatException(DirectoryStorage.java:513)
   at org.netbeans.modules.remote.impl.fs.DirectoryStorage.parseLine(DirectoryStorage.java:435)
   at org.netbeans.modules.remote.impl.fs.DirectoryStorage.load(DirectoryStorage.java:331)
   at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getDirectoryStorageImpl(RemoteDirectory.java:293)
   at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getDirectoryStorage(RemoteDirectory.java:246)
   at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getFileObject(RemoteDirectory.java:165)
Comment 1 Vladimir Voskresensky 2010-12-28 08:48:33 UTC
Created attachment 104546 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2010-12-28 09:06:49 UTC
Created attachment 104547 [details]
stacktrace
Comment 3 Vladimir Voskresensky 2010-12-29 23:07:01 UTC
Created attachment 104605 [details]
stacktrace

just adding remote mirror where remote host is mine linux host itself (127.0.1.2)
Comment 4 Vladimir Voskresensky 2010-12-30 00:29:59 UTC
let me fix it...
Comment 5 Vladimir Voskresensky 2010-12-30 00:44:14 UTC
http://hg.netbeans.org/cnd-main?cmd=changeset;node=72ee0a2fd5b9
Comment 6 Quality Engineering 2011-01-06 09:16:26 UTC
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/72ee0a2fd5b9
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #193864 -  org.netbeans.modules.remote.impl.fs.DirectoryStorage$FormatException: Wrong file format /var/tmp/vv159170/cnd-userdir/var/cache/remote-files/127.0.1.10_22/home/vv159170/.rfs
- escape cache as well
- read escaped cache