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 1766

Summary: Deleting a package from OB throws exception
Product: java Reporter: Jan Palka <janpalka>
Component: UnsupportedAssignee: support <support>
Status: CLOSED FIXED    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Palka 1999-05-14 22:53:05 UTC
1) open OB
2) create a new package in Explorer
3) Go to OB and package view
4) Select the new package and pres Delete
5) confirm the dialog and you should get

Please note that deleting via explorer works OK in this case .

java.lang.NullPointerException
        at com.netbeans.ide.explorer.ExplorerActions$DeleteActionPerformer.perfo
rmAction(ExplorerActions.java:369)
        at com.netbeans.ide.util.actions.CallbackSystemAction.performAction(Call
backSystemAction.java:78)
        at com.netbeans.ide.util.actions.CallableSystemAction.actionPerformed(Ca
llableSystemAction.java:77)
        at com.netbeans.ide.windows.ShortcutManager.processKeyStroke(ShortcutMan

ager.java:54)
        at com.netbeans.ide.windows.TopComponent$2.run(TopComponent.java:632)
        at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEven
tQueueUtilities.java:354)
        at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilit
ies.java:350)
        at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Sys
temEventQueueUtilities.java:391)
        at java.awt.Component.dispatchEventImpl(Component.java:2376)
        at java.awt.Component.dispatchEvent(Component.java:2289)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
Comment 1 Marek Grummich 2000-07-25 09:41:59 UTC
Priority is changed to P4 (normal).