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 112861 - NPE from CopyCutAction
Summary: NPE from CopyCutAction
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
: 113487 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-15 10:15 UTC by _ tboudreau
Modified: 2008-12-22 14:35 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 _ tboudreau 2007-08-15 10:15:33 UTC
I copied an HTML file in the projects tab, and the following exception was thrown.  At the time my laptop was sounding like a jet about to take off, so 
probably some background parsing thread was going crazy and some sort of race condition happened.

SEVERE [global]
java.lang.NullPointerException
        at org.openide.explorer.ExplorerActionsImpl$CopyCutActionPerformer.actionPerformed(ExplorerActionsImpl.java:487)
        at org.openide.util.actions.CallbackSystemAction$DelegateAction$1.run(CallbackSystemAction.java:546)
        at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:55)
        at org.openide.util.actions.CallbackSystemAction$DelegateAction.actionPerformed(CallbackSystemAction.java:550)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
        at java.awt.Component.processMouseEvent(Component.java:5554)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
        at java.awt.Component.processEvent(Component.java:5319)
        at java.awt.Container.processEvent(Container.java:2010)
        at java.awt.Component.dispatchEventImpl(Component.java:4021)
        at java.awt.Container.dispatchEventImpl(Container.java:2068)
        at java.awt.Component.dispatchEvent(Component.java:3869)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
        at java.awt.Container.dispatchEventImpl(Container.java:2054)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3869)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
[catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Petr Nejedly 2007-09-11 08:29:34 UTC
*** Issue 113487 has been marked as a duplicate of this issue. ***
Comment 2 Jaroslav Tulach 2007-10-18 13:12:27 UTC
-
IDE: [18.10.07 14:11] Committing "ExplorerActionsImpl.java" started
Checking in ExplorerActionsImpl.java;
/shared/data/ccvs/repository/openide/explorer/src/org/openide/explorer/ExplorerActionsImpl.java,v  <--  
ExplorerActionsImpl.java
new revision: 1.13; previous revision: 1.12
done
IDE: [18.10.07 14:11] Committing "Explor