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 102756 - Navigate to source does not work first time
Summary: Navigate to source does not work first time
Status: VERIFIED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-27 13:25 UTC by Alexandr Scherbatiy
Modified: 2007-06-13 13:59 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 Alexandr Scherbatiy 2007-04-27 13:25:07 UTC
Steps to reproduce:
- Create a Class element and name it 'A'
- Create a Class element and name it 'B'
- Draw a Navigable Aggregation link from 'A' to 'B'
- Generate code for the project
- Select 'A' Class element and invoke 'Navigate To Source'
  Nothing happens first time.
Comment 1 Viktor Lapitski 2007-04-28 02:05:51 UTC
it works even for the fisrt time - only condition is that it should be after the
IDE finishes compiling the new source (progress indicator at the lower right
corner). 
So the navigate-to-source should just wait for the compilation to finish instead
of returning immediately.
Comment 2 Peter Lam 2007-04-28 05:30:00 UTC
Well, I am able to reproduce the issue. I have waited for a while and for sure
nothing is being compiled or scanned since there's no progress is showing on the
lower right corner after code generation. I tried at least 3 different times and
got the same result. It only happens on the inital navigate to source after code
gen. If you navigate to source the 2nd time and on, source will be opened.
Comment 3 Viktor Lapitski 2007-04-28 06:52:09 UTC
i see. fixed.
Comment 4 Alexandr Scherbatiy 2007-05-02 13:44:40 UTC
The issue is reproduced in build M9 200705010900
http://bits.netbeans.org/download/6.0/milestones/m9/200705010900/installers
Comment 5 Viktor Lapitski 2007-06-08 04:09:23 UTC
i can't reproduce the issue. Please check if it is still reproducible for you.
Comment 6 Viktor Lapitski 2007-06-12 03:57:40 UTC
it works for me
Comment 7 Alexandr Scherbatiy 2007-06-13 13:59:54 UTC
verified in netbeans-hudson-trunk-649-full.zip