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 98992 - Select Root Methods dialog functionality is blocked during scan with no message
Summary: Select Root Methods dialog functionality is blocked during scan with no message
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on: 109137
Blocks:
  Show dependency tree
 
Reported: 2007-03-26 15:13 UTC by Alexander Kouznetsov
Modified: 2007-08-23 16:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Snapshot (92.59 KB, image/png)
2007-08-23 13:59 UTC, Alexander Kouznetsov
Details
Message.log on 1st run (606.65 KB, text/plain)
2007-08-23 14:00 UTC, Alexander Kouznetsov
Details
Messages.log on 2nd run (81.58 KB, text/plain)
2007-08-23 14:01 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-03-26 15:13:03 UTC
Profiler 070323
NetBeans IDE Dev (Build 200703251800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Steps to reproduce:
- Start IDE with clean userdir
- Open OrderSystem project
(http://www.netbeans.org/nonav/issues/showattachment.cgi/37566/order_system.zip)
- Click Profile Main Project
- Select Analyze Performance, Part of Application
- Click edit to select Root Methods
- Click Add From Project
- RESULT: If the scan is not finished the dialog will show no message but the
following functionality will be non available: Show All Projects checkbox is
disabled, Select View drop down box doesn't change anything. User should be
notified about the reasons of such limitation of functionality. Currently it
looks like something is broken.
Comment 1 J Bachorik 2007-07-03 14:38:02 UTC
fixed in trunk
a user now gets a progress display informing him about the reason the UI is blocked till the selector gets the chance to
use java infrastructure
Comment 2 Alexander Kouznetsov 2007-07-09 15:14:04 UTC
Verification is blocked by issue 109137
Comment 3 Alexander Kouznetsov 2007-08-23 13:56:59 UTC
Product Version: NetBeans IDE Dev (Build 200708211200) 
Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

When I performed the described steps, I came to a Select Root Methods dialog and there were no messages or dialogs
shown. So I clicked OrderSystem plus box to see its contents. After that anonymous Progress/Loading dialog was shown and
then NPE exceptions were thrown and IDE became to throw them endlessly so I had to kill it.

Exceptions were different from time to time. I've seen this:

java.lang.NullPointerException
        at org.netbeans.modules.profiler.ui.panels.ProgressDisplayer.close(ProgressDisplayer.java:78)
        ...

and this:

java.lang.NullPointerException
        at com.sun.tools.javadoc.JavadocClassReader.extraFileActions(JavadocClassReader.java:92)
        ...
Comment 4 Alexander Kouznetsov 2007-08-23 13:59:57 UTC
Created attachment 47168 [details]
Snapshot
Comment 5 Alexander Kouznetsov 2007-08-23 14:00:40 UTC
Created attachment 47169 [details]
Message.log on 1st run
Comment 6 Alexander Kouznetsov 2007-08-23 14:01:17 UTC
Created attachment 47170 [details]
Messages.log on 2nd run
Comment 7 J Bachorik 2007-08-23 15:59:38 UTC
I wasn't able to reproduce any of those problems, however:
1. NPE from ProgressDialogDisplayer is fixed
2. the other NPE is generated by Java EE Metadata module; plz, try running IDE with a clean userdir and if you get the
NPE again we will escalate it to j2ee team
Comment 8 Alexander Kouznetsov 2007-08-23 16:06:59 UTC
I tried it three times (or even more) each time with clean userdir and fresh project files. I'll check it once again
with the new build.
Comment 9 Alexander Kouznetsov 2007-08-23 16:08:09 UTC
Probably, an important step in order to reproduce this issue is to load all required projects when opening OrderSystem.
There is a checkbox in open project dialog.