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 157881 - "Resolve Reference Problems" dialog is inoperative on Windows 7
Summary: "Resolve Reference Problems" dialog is inoperative on Windows 7
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: PC Windows 7
: P4 blocker (vote)
Assignee: Milan Kubec
URL: D:\code100_SriLekhaLakshmi(NEC)\Cleav...
Keywords: JDK_8
Depends on:
Reported: 2009-02-04 06:43 UTC by mpdelbuono
Modified: 2017-03-07 01:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description mpdelbuono 2009-02-04 06:43:06 UTC
OS: Windows 7 x64, Build 7000
Reproduced on: Netbeans 6.5, Netbeans 7.0M1

Information from "about" screen:
Product Version: NetBeans IDE Dev (Build 200812180001)
Java: 1.6.0_11; Java HotSpot(TM) 64-Bit Server VM 11.0-b16
System: Windows Vista version 6.1 running on amd64; Cp1252; en_US (nb)
Userdir: C:\Users\mpdelbuono\.netbeans\7.0m1

Reproducibility: Always

Problem description:

When loading a Java project which is unable to find libraries, the "Resolve Reference Problems" dialog is used to 
resolve the issue. Unfortunately, on Windows 7, this dialog is inoperative. Upon opening the "Resolve Reference 
Problems" dialog, the component which would normally display the libraries list is missing. As a result, reference 
problems cannot be resolved because the appropriate libraries cannot be identified (or created, if necessary).

Possible workarounds:

None known at the moment, however I am not familiar with the format of the internal project files. It may be possible 
to manually edit the project files to resolve the reference problems without the use of this dialog.

Note points:

This may be an issue caused by Windows 7 (or perhaps a problem with the JRE on Windows 7) and not an issue with 
Netbeans. I can confirm that this issue did not exist for me in the past on Windows Vista. As of yet I am unable to 
isolate whether the culprit is Windows 7, the JRE, or Netbeans itself.
Comment 1 Milan Kubec 2009-02-04 13:51:01 UTC
I'm lowering priority since Windows 7 is not supported platform at this time.
Comment 2 mpdelbuono 2009-02-05 04:47:11 UTC
I was just able to duplicate this on Kubuntu 8.10

It appears that the issue may actually be caused by one of my projects. I normally have 5 projects open (they are all 
related). However, closing all of them except one allows me to resolve the reference problems as normal. This implies 
that one of the other open projects was causing the problem to me. 

The one I left open only has one reference problems; the others have several. I will continue testing to see if that 
may be the trigger.
Comment 3 mpdelbuono 2009-02-05 05:11:02 UTC
I was able to isolate the problem to a single project. Unfortunately, right clicking and going to "properties" and 
deleting all of the projects listed did not resolve the problem. I also cannot add libraries from the properties 
dialog. When I choose "Add Library," no libraries are listed.

The project in question is an old project which may have originally been created in an earlier version of Netbeans. I 
am going to try recreating the project and moving all of the files over to see if this resolves the issue.
Comment 4 mpdelbuono 2009-02-05 05:24:25 UTC
After recreating the project in another folder, moving all of the source and library files to the new project, then 
overwriting the old project (i.e., overwriting the nbproject folder with the newly created version), it appears the 
problem has been fixed. I would blame this to project corruption when upgrading between netbeans versions, probably. 
This is an old project, so it wouldn't surprise me.
Comment 5 Milan Kubec 2009-10-21 13:41:09 UTC
Thanks for info. Closing the issue as it was probably smehow broken project from previous NetBeans releases.