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 209408 - Fix uses -> OK -> dialogs "hangs"
Summary: Fix uses -> OK -> dialogs "hangs"
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-10 13:08 UTC by Tomas Mysik
Modified: 2012-03-22 11:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (16.87 KB, text/plain)
2012-03-10 13:08 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2012-03-10 13:08:23 UTC
Created attachment 116533 [details]
thread dump

Steps: Fix uses -> OK -> dialogs "hangs" and nothing happens. Attaching thread dump. BTW it is possible to click Cancel and the IDE continues to work.

Thanks.

Product Version: NetBeans IDE Dev (Build 20120309-5868bf53ffd9)
Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01
System: Linux version 3.0.0-16-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Martin Fousek 2012-03-12 09:27:00 UTC
+1 - I'm facing the same issue. Nothing happend on confirmed Fix uses action (cancel button works well).
Comment 2 Ondrej Brejla 2012-03-20 08:35:37 UTC
Works for me properly :(
Comment 3 Martin Fousek 2012-03-20 12:55:33 UTC
Just additional information, looks like that it doesn't work i.e. in cases when classes are not on the include path (they can't be recognized in the dialog then and Fix Uses dialog hangs).
Comment 4 Ondrej Brejla 2012-03-20 14:16:32 UTC
Still can't reproduce it :( Will try it again and again and again and...

Waiting for a try with a clean userdir.
Comment 5 Martin Fousek 2012-03-20 22:10:17 UTC
Sorry for reopen, but it still hangs to me. :/

I tried it with totally clean IDE - new userdir, no setup - and some classes looked to be still unresolved, troubles were related to these comments:
    /** @var Nette\Localization\ITranslator */
    protected $translator;

    /**
     * Adds global action to the tree.
     *
     * @param Html $icon element which is added to a generated link
     */

Troubles are at "Html" and "Nette\Localization\ITranslator". Probably we could try to debug that at work or send me related class name and I can take a look myself. Thanks...
Comment 6 Ondrej Brejla 2012-03-21 09:15:05 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/e1321ec35702
Comment 7 Quality Engineering 2012-03-22 11:15:21 UTC
Integrated into 'main-golden', will be available in build *201203220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e1321ec35702
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #209408 - Fix uses -> OK -> dialogs "hangs"