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 7132 - Explorer copy&paste between 2 FS throws NullPointerException
Summary: Explorer copy&paste between 2 FS throws NullPointerException
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P2 normal (vote)
Assignee: dmladek
URL:
Keywords:
Depends on:
Blocks: 7258
  Show dependency tree
 
Reported: 2000-07-21 14:04 UTC by dmladek
Modified: 2008-12-23 11:42 UTC (History)
1 user (show)

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 dmladek 2000-07-21 14:04:42 UTC
BOSTON build 1062CEa
JKD1.3
========================
It's badly reproducable...,but stacktrace is clear I think.

I copied 2 files from normal FS to CVS FS and the NullPointerException was
thrown and printed.out to console, like this:

java.lang.NullPointerException
        at org.netbeans.modules.java.JavaDataObject.updateSourceStart
(JavaDataObject.java:350)
        at org.netbeans.modules.java.JavaDataObject.handleCopy
(JavaDataObject.java:442)
        at org.openide.loaders.DataObject$2.run(DataObject.java:464)
        at org.openide.filesystems.FileSystem.runAtomicAction
(FileSystem.java:352)
        at org.openide.loaders.DataObject.copy(DataObject.java:462)
        at org.openide.loaders.DataFolder$4.handle(DataFolder.java:1174)
        at org.openide.loaders.DataFolder$Paste.paste(DataFolder.java:1368)
        at org.openide.actions.PasteAction.performAction(PasteAction.java:109)
        at org.openide.actions.PasteAction$ActSubMenuModel.performActionAt
(PasteAction.java:195)
        at
org.openide.awt.Actions$SubMenuBridge$ISubActionListener.actionPerformed
(Actions.java:503)
        at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1450)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1504)
        at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:378)
        at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:250)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
        at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased
(BasicMenuItemUI.java:886)
        at java.awt.Component.processMouseEvent(Component.java:3717)
        at java.awt.Component.processEvent(Component.java:3546)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2595)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:912)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
        at java.awt.EventDispatchThread.pumpOneEvent
(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 Jaroslav Tulach 2000-07-21 14:16:59 UTC
Probably fixed in main trunk by changes in files
  org.openide.loaders.DataLoader
  org.openide.loaders.DataObjectPool
in Build2011. But this is big change in core and I am not sure whether to put it
into boston branch too. Remind me later if you get permission to check the
change to boston too.
Comment 2 Quality Engineering 2003-07-01 16:16:41 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.