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.
Product Version = NetBeans IDE 7.3 (Build 201302132200) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0_15 Runtime = Java HotSpot(TM) Client VM 23.7-b01 This usually works, but today nothing happens after selecting the file in my Maven project. The file shows twice in the list. Once with "src/main/java/" prepended to the package part of the path and once without. Neither item in the list works.
Created attachment 132623 [details] IDE log
Seems as a wrong classpath root. Can you attach the project or reproduceable test case?
Funny you should be doing this now.. I just discovered a few hours ago that my project folder had a strange structure caused by an extra nested working copy. It is still a bit strange since that folder was not a child of the project that was having issues, but it was still within Maven's view from the parent project. I think it is safe to leave this closed.
Just had this happen again. This time I know the classpath to be correct. The file in question is a form. I do Alt-Shit-O and type the start of the name and get offered only two options, the .form file and the .java file. Double clicking the Java file results in nothing happening.
I have the same problem in Netbeans 7.3 when using a swing project: ALT+SHIFT+O works fine if only a ".java" file exists, but it does not work when a ".java" and a ".form" extension exist for the given class name.
appears to be working for me (correctly) equally in maven projects as in others (apisupport). reassigning back to utilities/jumpto.
Tried again today with Netbeans 7.3 Patch 1 under RHEL 6.3 with SUN (i.e. Oracle) JDK 1.6.0. The project is a JAVA application and no maven project. It uses netbeans form files built with the netbeans GUI editor. Opening java files works fine, if a java file is selected which has no form file assoiciated with it. BUT: Opening java files (or form files) does not work, if the typed name in the ALT+SHIFT+O dialog finds java and form files.
Created attachment 133659 [details] does-not-work-with-this-projekt.tar.gz See the attached project: javaapplication1 can be opened with ALT+SHIFT+O newjpanel1 cannot be opened with ALT+SHIFT+O (has a form file)
(In reply to comment #8) > Created attachment 133659 [details] > does-not-work-with-this-projekt Sorry, this should have been named: "does-not-work-with-this-projekt.tar.gz"
Fixed jet-main 086fc39815ea