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 212193 - [72cat] The IDE froze when duplicating a SQL file
Summary: [72cat] The IDE froze when duplicating a SQL file
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2012-05-08 13:41 UTC by Michel Graciano
Modified: 2012-05-08 14:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (19.77 KB, application/octet-stream)
2012-05-08 13:43 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2012-05-08 13:41:04 UTC
[ BUILD # : 20c7772f0e40 ]
[ JDK VERSION : 1.7.4 ]

We have a free form project, and when I was trying to duplicate a SQL file, the
IDE froze. I waited for 1 or 2 minutes and nothing happened. I will attach the
thread dump for evaluation soon.
Comment 1 Michel Graciano 2012-05-08 13:43:05 UTC
Created attachment 119168 [details]
Thread dump

This is the thread dump for the original occurrence. I have tried to reproduce it without success, so maybe it was a race condition or something I just can't reproduce now. I was using the IDE for a couple of hours so I can't remember everything I have done during this time.
Comment 2 Jesse Glick 2012-05-08 14:02:11 UTC
Thread dump does not indicate a deadlock. EQ looks busy:

"AWT-EventQueue-1" prio=10 tid=0x0a570400 nid=0x3b86 runnable [0x6a188000]
   java.lang.Thread.State: RUNNABLE
	at org.openide.nodes.EntrySupportLazy.getNodes(EntrySupportLazy.java:289)
	at org.openide.nodes.Children.getNodes(Children.java:469)
	at org.openide.loaders.FolderChildren.getNodes(FolderChildren.java:264)
	at org.openide.nodes.FilterNode$Children$LazySupport.callGetNodes(FilterNode.java:1767)
	at org.openide.nodes.FilterNode$Children.getNodes(FilterNode.java:1606)
	at org.openide.actions.PasteAction$NodeSelector.<init>(PasteAction.java:630)
	at org.openide.actions.PasteAction$ActionPT.<init>(PasteAction.java:789)
	at org.openide.actions.PasteAction$ActSubMenuModel.performActionAt(PasteAction.java:519)
	at org.openide.actions.PasteAction$DelegateAction.actionPerformed(PasteAction.java:742)

Was there 100% CPU usage or not? Did you capture a profiler snapshot or at least multiple thread dumps?

BTW please pay attention to content type when adding attachments; it is harder to look at text attachments marked as binary.
Comment 3 Michel Graciano 2012-05-08 14:08:41 UTC
(In reply to comment #2)
> Was there 100% CPU usage or not? Did you capture a profiler snapshot or at
> least multiple thread dumps?

I haven't took multiple dumps. If it happens again, I will get this information for you, and I don't think the CPU was high because the other application were responsible without any delay, but I don't have an exactly number to provide.

How can I get a profiler snapshot

> BTW please pay attention to content type when adding attachments; it is harder
> to look at text attachments marked as binary.

Sorry for this. I keep the automatic detection select. Next time I will mark the correct type.