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.
Summary: | Writtable attributes for JarFileSystem (NPE thrown after change of 'Sort Mode' property for JarFilesystem) | ||
---|---|---|---|
Product: | platform | Reporter: | Lukas Hasik <lhasik> |
Component: | Filesystems | Assignee: | rmatous <rmatous> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
NPE
ioexception after change of Sort mode property |
Description
Lukas Hasik
2001-10-11 13:51:37 UTC
Created attachment 2961 [details]
NPE
Please attache more info. How reproduce ? Sorry, it is obvious. *** Issue 16482 has been marked as a duplicate of this issue. *** *** Issue 16633 has been marked as a duplicate of this issue. *** *** Issue 16961 has been marked as a duplicate of this issue. *** Fixed in trunk. Added check for NPE in JarFileSystem.folder. hmm, it' true NPE isn't there anymore but IOExcepton appears instead of NPE. Created attachment 3201 [details]
ioexception after change of Sort mode property
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. Target milestone -> 3.3.1. *** Issue 13129 has been marked as a duplicate of this issue. *** This is similar to issue #11334. Again, new projects infrastructure could help here. There exist implementation in branche attrs_16467 for the meantime. 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 Works fine - Verified - dev#20020411 Resolved for 3.4.x or earlier, no new info since then -> closing. |