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 2008 - It is possible to invoke delete action on some files in jar fs and it results with exception
Summary: It is possible to invoke delete action on some files in jar fs and it results...
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Ryzl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-06-03 00:41 UTC by Martin Ryzl
Modified: 2002-07-19 14:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ryzl 1999-06-03 00:41:15 UTC
If there is a file recognized by default data loader in a jar filesystem, delete action can be invoked on it. But such the action results with the following exception:

java.io.IOException
        at com.netbeans.ide.filesystems.JarFileSystem.delete(Unknown Source)
        at com.netbeans.ide.filesystems.AbstractFileObject.delete(Unknown Source
)
        at com.netbeans.ide.loaders.DefaultDataObject.handleDelete(Unknown Sourc
e)

        at com.netbeans.ide.loaders.DataObject$2.run(Unknown Source)
        at com.netbeans.ide.filesystems.FileSystem.runAtomicAction(Unknown Sourc
e)
        at com.netbeans.ide.loaders.DataObject.delete(Unknown Source)
        at com.netbeans.ide.loaders.DataNode.destroy(Unknown Source)
        at com.netbeans.ide.nodes.FilterNode.destroy(Unknown Source)
        at com.netbeans.ide.explorer.ExplorerActions$1.run(Unknown Source)
        at com.netbeans.ide.filesystems.FileSystem.runAtomicAction(Unknown Sourc
e)
        at com.netbeans.ide.explorer.ExplorerActions$DeleteActionPerformer.perfo
rmAction(Unknown Source)
        at com.netbeans.ide.util.actions.CallbackSystemAction.performAction(Unkn
own Source)
        at com.netbeans.ide.util.actions.CallableSystemAction.actionPerformed(Un
known Source)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:10
66)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1101)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:378)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
)

        at javax.swing.AbstractButton.doClick(AbstractButton.java:226)
        at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
d(BasicMenuItemUI.java:674)
        at java.awt.Component.processMouseEvent(Component.java:3126)
        at java.awt.Component.processEvent(Component.java:2965)
        at java.awt.Container.processEvent(