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 16467 - Writtable attributes for JarFileSystem (NPE thrown after change of 'Sort Mode' property for JarFilesystem)
Summary: Writtable attributes for JarFileSystem (NPE thrown after change of 'Sort Mode...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: rmatous
URL:
Keywords:
: 13129 16482 16633 16961 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-11 13:51 UTC by Lukas Hasik
Modified: 2008-12-22 15:43 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
NPE (2.18 KB, text/plain)
2001-10-11 13:59 UTC, Lukas Hasik
Details
ioexception after change of Sort mode property (4.84 KB, text/plain)
2001-10-30 17:38 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2001-10-11 13:51:37 UTC
NPE is fired and value of property isn't changed.
Comment 1 Lukas Hasik 2001-10-11 13:59:49 UTC
Created attachment 2961 [details]
NPE
Comment 2 rmatous 2001-10-22 08:44:09 UTC
Please attache more info. How reproduce ?
Comment 3 rmatous 2001-10-22 08:48:10 UTC
Sorry, it is obvious.
Comment 4 rmatous 2001-10-22 08:51:43 UTC
*** Issue 16482 has been marked as a duplicate of this issue. ***
Comment 5 rmatous 2001-10-22 09:34:26 UTC
*** Issue 16633 has been marked as a duplicate of this issue. ***
Comment 6 Lukas Hasik 2001-10-25 16:42:35 UTC
*** Issue 16961 has been marked as a duplicate of this issue. ***
Comment 7 rmatous 2001-10-29 14:28:05 UTC
Fixed in trunk. Added check for NPE in JarFileSystem.folder.
Comment 8 Lukas Hasik 2001-10-30 17:33:00 UTC
hmm, it' true NPE isn't there anymore but IOExcepton appears instead
of NPE.
Comment 9 Lukas Hasik 2001-10-30 17:38:48 UTC
Created attachment 3201 [details]
ioexception after change of Sort mode property
Comment 10 rmatous 2001-10-31 12:42:56 UTC
Read-only filesystems in org.openide.filesystems have read-only 
attributes. This should be definitely reviewed later. But I mark this 
bug as P4 enhancement currently.
Comment 11 Jan Chalupa 2001-11-27 13:04:50 UTC
Target milestone -> 3.3.1.
Comment 12 rmatous 2002-01-29 15:23:02 UTC
*** Issue 13129 has been marked as a duplicate of this issue. ***
Comment 13 Vitezslav Stejskal 2002-03-18 12:12:55 UTC
This is similar to issue #11334. Again, new projects infrastructure 
could help here.
Comment 14 rmatous 2002-04-02 13:01:26 UTC
There exist implementation in branche attrs_16467 for the meantime.
Comment 15 rmatous 2002-04-10 10:29:01 UTC
So fixed in trunk. At the end attributes for JarFileSystem are  placed
in the same folder as original file with the same name and extension
nbattrs. Attributes for all resources are in mentioned one file. Fixed
togther with #11334.

/cvs/core/src/org/netbeans/core/ExJarFileSystem.java,v  
new revision: 1.9; previous revision: 1.8

/cvs/openide/src/org/openide/filesystems/AbstractFileObject.java,v
new revision: 1.72; previous revision: 1.71

/cvs/openide/src/org/openide/filesystems/DefaultAttributes.java,v  
new revision: 1.56; previous revision: 1.55

/cvs/openide/src/org/openide/loaders/CompilerSupport.java,v  
new revision: 1.32; previous revision: 1.31

/cvs/openide/src/org/openide/loaders/ExecSupport.java,v  <-- 
ExecSupport.java
new revision: 1.46; previous revision: 1.45
Comment 16 Jan Zajicek 2002-04-12 11:44:09 UTC
Works fine - Verified - dev#20020411
Comment 17 Quality Engineering 2003-07-01 16:24:24 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.