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 15886 - VCS Groups odd behavior, crashes IDE
Summary: VCS Groups odd behavior, crashes IDE
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-25 12:03 UTC by John Jullion-ceccarelli
Modified: 2003-07-01 12:56 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 John Jullion-ceccarelli 2001-09-25 12:03:56 UTC
Using NB3.3 dev build 20019250100 on Windows 2000 jdk 1.3

Seeing some very strange behavior in VCS Groups which has twice crashed the 
IDE. Create a group (group1) and move some files into the default group. 

First, I tried to delete the files from the default group by selecting then and 
pressing the Delete key, which brought up the "Are you sure you want to 
delete..." dialog, which I clicked Yes, but the files were not deleted. 

Then I selected the files in the default group, right-clicked and chose delete, 
said yes in the following dialogue, and again they did not delete. On the third 
try using the Delete command from the contextual menu, the IDE crashed. 

I then reopened the IDE and went VCS Groups, tried to move the files from one 
group to another. First time failed altogether, no warning or anything. The 
second time the system hung for a while (ten seconds) while it executed the 
command, but it did manage to move the files to the other group. However, it 
also left a copy of the files in the default group, so that they were present 
in both groups. The third time I tried it crashed the IDE. Every attempt since 
crashes the IDE.

Did a Ctrl-Break when it crashed, here's the output:

Full thread dump:

"org.netbeans.core.ModuleActions-3" daemon prio=2 tid=0xe0526e8 nid=0x60c runnab
le [0xf8ef000..0xf8efdc4]
        at org.openide.loaders.DataObject.delete(DataObject.java:533)
        at org.netbeans.modules.vcscore.grouping.VcsGroupFileNode.destroy(VcsGro
upFileNode.java:117)
        at org.openide.explorer.ExplorerActions$DeleteActionPerformer$DestroyAto
mic.invoke(ExplorerActions.java:511)
        at $Proxy4.run(Unknown Source)
        at org.openide.filesystems.EventControl.runAtomicAction(EventControl.jav
a:86)
        at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:36
6)
        at org.openide.explorer.ExplorerActions$DestroyInvoker.run(ExplorerActio
ns.java:552)
        at org.openide.explorer.ExplorerActions$DeleteActionPerformer.doDestroy(
ExplorerActions.java:478)
        at org.openide.explorer.ExplorerActions$DeleteActionPerformer.performAct
ion(ExplorerActions.java:447)
        at org.openide.util.actions.CallbackSystemAction.performAction(CallbackS
ystemAction.java:102)
        at org.openide.util.actions.CallableSystemAction.actionPerformed(Callabl
eSystemAction.java:66)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:85)
        at org.openide.util.Task.run(Task.java:152)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcesso
r.java:611)

"org.netbeans.core.ModuleActions-2" daemon prio=2 tid=0xe032e38 nid=0xa88 runnab
le [0xf7ef000..0xf7efdc4]
        at org.openide.loaders.DataObject.delete(DataObject.java:533)
        at org.netbeans.modules.vcscore.grouping.VcsGroupFileNode.destroy(VcsGro
upFileNode.java:117)
        at org.openide.explorer.ExplorerActions$DeleteActionPerformer$DestroyAto
mic.invoke(ExplorerActions.java:511)
        at $Proxy4.run(Unknown Source)
        at org.openide.filesystems.EventControl.runAtomicAction(EventControl.jav
a:86)
        at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:36
6)
        at org.openide.explorer.ExplorerActions$DestroyInvoker.run(ExplorerActio
ns.java:552)
        at org.openide.explorer.ExplorerActions$DeleteActionPerformer.doDestroy(
ExplorerActions.java:478)
        at org.openide.explorer.ExplorerActions$DeleteActionPerformer.performAct
ion(ExplorerActions.java:447)
        at org.openide.util.actions.CallbackSystemAction.performAction(CallbackS
ystemAction.java:102)
        at org.openide.util.actions.CallableSystemAction.actionPerformed(Callabl
eSystemAction.java:66)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:85)
        at org.openide.util.Task.run(Task.java:152)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcesso
r.java:611)

"org.netbeans.core.ModuleActions-1" daemon prio=2 tid=0xe047158 nid=0x76c runnab
le [0xf6ef000..0xf6efdc4]
        at javax.swing.event.EventListenerList.add(EventListenerList.java:173)
        at org.openide.loaders.DataObject.addPropertyChangeListener(DataObject.j
ava:742)
        at org.netbeans.modules.vcscore.grouping.VcsGroupChildren.getFilesInGrou
p(VcsGroupChildren.java:84)
        at org.netbeans.modules.vcscore.grouping.VcsGroupChildren.refreshAll(Vcs
GroupChildren.java:71)
        at org.netbeans.modules.vcscore.grouping.VcsGroupChildren.propertyChange
(VcsGroupChildren.java:127)
        at org.openide.loaders.DataObject.firePropertyChange(DataObject.java:770
)
        at org.openide.loaders.DataObject.delete(DataObject.java:541)
        at org.netbeans.modules.vcscore.grouping.VcsGroupFileNode.destroy(VcsGro
upFileNode.java:117)
        at org.openide.explorer.ExplorerActions$DeleteActionPerformer$DestroyAto
mic.invoke(ExplorerActions.java:511)
        at $Proxy4.run(Unknown Source)
        at org.openide.filesystems.EventControl.runAtomicAction(EventControl.jav
a:86)
        at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:36
6)
        at org.openide.explorer.ExplorerActions$DestroyInvoker.run(ExplorerActio
ns.java:552)
        at org.openide.explorer.ExplorerActions$DeleteActionPerformer.doDestroy(
ExplorerActions.java:478)
        at org.openide.explorer.ExplorerActions$DeleteActionPerformer.performAct
ion(ExplorerActions.java:447)
        at org.openide.util.actions.CallbackSystemAction.performAction(CallbackS
ystemAction.java:102)
        at org.openide.util.actions.CallableSystemAction.actionPerformed(Callabl
eSystemAction.java:66)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:85)
        at org.openide.util.Task.run(Task.java:152)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcesso
r.java:611)

"OpenFile Server" daemon prio=2 tid=0xe06efb0 nid=0x5c8 runnable [0xf1bf000..0xf
1bfdc4]
        at java.net.PlainDatagramSocketImpl.peek(Native Method)
        at java.net.DatagramSocket.receive(DatagramSocket.java:354)
        at org.netbeans.modules.openfile.Server.run(Server.java:133)
        at java.lang.Thread.run(Thread.java:484)

"AntProjectSupport.FiringProcessor" daemon prio=2 tid=0xdfaa4d8 nid=0x664 waitin
g on monitor [0xf0bf000..0xf0bfdc4]
        at java.lang.Object.wait(Native Method)
        at org.apache.tools.ant.module.xml.AntProjectSupport$FiringProcessor.run
(AntProjectSupport.java:589)

"OpenIDE Request Processor-1" daemon prio=10 tid=0xe03d108 nid=0x694 waiting on
monitor [0xefbf000..0xefbfdc4]
        at java.lang.Object.wait(Native Method)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcesso
r.java:570)

"JarFs - modification watcher" daemon prio=2 tid=0xe037100 nid=0x2b8 waiting on
monitor [0x1191f000..0x1191fdc4]
        at java.lang.Object.wait(Native Method)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcesso
r.java:570)

"jndi.refreshd" daemon prio=7 tid=0xdffd980 nid=0xac8 waiting on monitor [0x1151
f000..0x1151fdc4]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.netbeans.modules.jndi.utils.Refreshd.run(Refreshd.java:62)

"VCS Command Executor Starter Loop" daemon prio=7 tid=0xdfa3e40 nid=0x818 waitin
g on monitor [0xedbf000..0xedbfdc4]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.netbeans.modules.vcscore.commands.CommandsPool.executorStarterLoo
p(CommandsPool.java:553)
        at org.netbeans.modules.vcscore.commands.CommandsPool.access$500(Command
sPool.java:46)
        at org.netbeans.modules.vcscore.commands.CommandsPool$6.run(CommandsPool
.java:563)
        at java.lang.Thread.run(Thread.java:484)

"Screen Updater" prio=4 tid=0xdef9cd0 nid=0x5d8 waiting on monitor [0xeaaf000..0
xeaafdc4]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:75)
        at sun.awt.ScreenUpdater.run(ScreenUpdater.java:95)

"TimerQueue" daemon prio=5 tid=0xdeb4218 nid=0x7c8 waiting on monitor [0xe89f000
..0xe89fdc4]
        at java.lang.Object.wait(Native Method)
        at javax.swing.TimerQueue.run(TimerQueue.java:232)
        at java.lang.Thread.run(Thread.java:484)

"FileSystem Cache Queue" daemon prio=2 tid=0xdf67e90 nid=0x558 waiting on monito
r [0xe69f000..0xe69fdc4]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.vcscore.cache.CacheQueue.run(CacheQueue.java:43)


"Folder Instance Processor" daemon prio=2 tid=0xdf5ddb8 nid=0x7f8 waiting on mon
itor [0xe59f000..0xe59fdc4]
        at java.lang.Object.wait(Native Method)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcesso
r.java:570)

"EntityCatalog/parser" daemon prio=2 tid=0xabdd978 nid=0x728 waiting on monitor
[0xe49f000..0xe49fdc4]
        at java.lang.Object.wait(Native Method)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcesso
r.java:570)

"Folder recognizer" daemon prio=7 tid=0xdf29c28 nid=0x874 waiting on monitor [0x
e39f000..0xe39fdc4]
        at java.lang.Object.wait(Native Method)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcesso
r.java:570)

"Thread-1" daemon prio=5 tid=0xac417e0 nid=0x570 waiting on monitor [0xde8f000..
0xde8fdc4]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.netbeans.core.modules.ChangeFirer.run(ChangeFirer.java:94)

"OpenIDE Request Processor-0" daemon prio=2 tid=0xac1ed70 nid=0x660 waiting on m
onitor [0xdd8f000..0xdd8fdc4]
        at java.lang.Object.wait(Native Method)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcesso
r.java:570)

"AWT-Windows" prio=5 tid=0xabdb990 nid=0x764 runnable [0xd7bf000..0xd7bfdc4]
        at sun.awt.windows.WToolkit.eventLoop(Native Method)
        at sun.awt.windows.WToolkit.run(WToolkit.java:186)
        at java.lang.Thread.run(Thread.java:484)

"SunToolkit.PostEventQueue-0" prio=5 tid=0xab59138 nid=0x708 waiting on monitor
[0xd6bf000..0xd6bfdc4]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at sun.awt.PostEventQueue.run(SunToolkit.java:496)

"AWT-EventQueue-0" prio=7 tid=0xab59218 nid=0x89c waiting on monitor [0xd5bf000.
.0xd5bfdc4]
        at javax.swing.event.EventListenerList.add(EventListenerList.java:173)
        at org.openide.loaders.DataObject.addPropertyChangeListener(DataObject.j
ava:742)
        at org.netbeans.modules.vcscore.grouping.VcsGroupChildren.getFilesInGrou
p(VcsGroupChildren.java:84)
        at org.netbeans.modules.vcscore.grouping.VcsGroupChildren.refreshAll(Vcs
GroupChildren.java:71)
        at org.netbeans.modules.vcscore.grouping.VcsGroupChildren.propertyChange
(VcsGroupChildren.java:127)
        at org.openide.loaders.DataObject.firePropertyChange(DataObject.java:770
)
        at org.openide.loaders.DataObject.delete(DataObject.java:541)
        at org.netbeans.modules.vcscore.actions.AddToGroupAction.movePerformed(A
ddToGroupAction.java:221)
        at org.netbeans.modules.vcscore.actions.AddToGroupAction.actionPerformed
(AddToGroupAction.java:181)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:14
50)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.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.mouseRelease
d(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:10
3)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

"Signal Dispatcher" daemon prio=10 tid=0x98ea08 nid=0x6cc waiting on monitor [0.
.0]

"Finalizer" daemon prio=9 tid=0x98c248 nid=0x680 waiting on monitor [0xb04f000..
0xb04fdc4]
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)

"Reference Handler" daemon prio=10 tid=0xab50a20 nid=0x78 waiting on monitor [0x
af4f000..0xaf4fdc4]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)

"main" prio=5 tid=0x944300 nid=0x5f4 waiting on monitor [0..0x12d180]

"VM Thread" prio=5 tid=0x98a980 nid=0x414 runnable

"VM Periodic Task Thread" prio=10 tid=0x98e0f8 nid=0x850 waiting on monitor
Comment 1 Milos Kleint 2001-09-25 12:08:43 UTC
*nods* I've figured the same yesterday evening. I think I know where
th eproblem lies, will fix it asap. the problem was introduced by
another fix from last week.
Comment 2 Milos Kleint 2001-09-25 13:53:39 UTC
there are two sides to the problem: the  not-performed delete is
probably caused in bad core's firing of events (should be fixed today
or rollbacked - at least I've been told so :)
 then there's another problem with looking up the main node. it's
currently created anew every time the node is requetsed, I'll fix that
today.
Comment 3 Milos Kleint 2001-09-26 19:27:19 UTC
I've tried with the latest sources of openide/core/vcscore and it's
already working. Moving/adding seems to work for me again. Please
verify in 27/Sep/2001 build
Comment 4 Jiri Kovalsky 2001-10-10 13:51:33 UTC
I went through the workflow described above and it works without any 
problems. Deleting and moving items around does not hand the IDE. The-
refore I verify this bug in development build #200110100100 of Net-
Beans 3.3 however if you John feel like there are still some troubles 
feel free to reopen the bug with further information.
Comment 5 Quality Engineering 2003-07-01 12:56:11 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.