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 226079 - Go To File doesn't open java part of the Swing form
Summary: Go To File doesn't open java part of the Swing form
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal with 2 votes (vote)
Assignee: Tomas Zezula
URL:
Keywords: REGRESSION
: 226125 226831 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-13 17:46 UTC by kovica
Modified: 2013-06-20 01:19 UTC (History)
3 users (show)

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 kovica 2013-02-13 17:46:57 UTC
I'm using NetBeans 7.3 RC2 on Linux (Ubuntu 12.04.2 LTS).

I have a Maven based project with a JFrame Form (right click on Source Packages and select New - JFrame Form) name MyTestForm
- put some components on the form
- close the form
- press SHIFT-ALT-R (Go To File) and type MyTestForm
- in "Matching Files" you should see MyTestForm.form and MyTestForm.java
- select one of them and press ENTER
- nothing happens

Nothing happens if you choose .form or .java file
Comment 1 Jiri Prox 2013-02-15 07:59:18 UTC
*** Bug 226125 has been marked as a duplicate of this bug. ***
Comment 2 Jiri Prox 2013-02-15 07:59:53 UTC
Reproducible, with J2SE project
Comment 3 Jiri Prox 2013-03-01 14:16:23 UTC
*** Bug 226831 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Zezula 2013-03-04 11:03:40 UTC
*** Bug 226831 has been marked as a duplicate of this bug. ***
Comment 5 driv 2013-05-08 01:10:35 UTC
Reproducible on ubuntu 12.10, 13.04 and Windows 7. On maven and ant projects.
Comment 6 pawsaw 2013-06-03 12:26:58 UTC
Same on Windows.

Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.7.0_11; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_11-b21
System: Windows 7 version 6.1 running on x86; Cp1252; de_DE (nb)
User directory: C:\Users\Pawel\AppData\Roaming\NetBeans\7.3
Cache directory: C:\Users\Pawel\AppData\Local\NetBeans\Cache\7.3

Shift+Alt+O

would be nice to have a fix in the next release.
Comment 7 Milutin Kristofic 2013-06-06 14:38:32 UTC
This worked in nb7.2. 

The change in FileDescription.open() disabled open FormDataObject, since FormDataObject doesn't have Openable class.
Comment 8 Tomas Zezula 2013-06-07 07:49:15 UTC
Caused by wrong implementation of Class Hierarchy cache in Lookup.
Comment 9 Tomas Zezula 2013-06-07 07:49:56 UTC
Fixed jet-main 086fc39815ea
Comment 10 Quality Engineering 2013-06-10 02:21:15 UTC
Integrated into 'main-golden', will be available in build *201306100004* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/086fc39815ea
User: Tomas Zezula <tzezula@netbeans.org>
Log: #226079:Go To File doesn't open java part of the Swing form
Comment 11 FiruzzZ 2013-06-19 10:54:58 UTC
Still not working on 7.3.1 (win xp and win 7)
Comment 12 Jiri Prox 2013-06-19 11:01:33 UTC
The issue is fixed in version 7.4
Comment 13 Jiri Prox 2013-06-19 11:01:59 UTC
verified in 


Product Version: NetBeans IDE 7.4 Beta (Build 201306132201)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\7.4beta
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\7.4beta
Comment 14 FiruzzZ 2013-06-19 11:13:13 UTC
just for curiosity, how do u navigate from a file to another (without this feat)? because to me is impossible use the IDE without it.
Comment 15 lumartineru 2013-06-20 01:19:01 UTC
Navigation to other files is possible by pressing Ctrl key while clicking on the class name or object name, or selecting in the Project pane. Anyway, the bug is annoying and it has taken a long time to be fixed.