[ https://issues.apache.org/jira/browse/NETBEANS-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748568#comment-16748568 ]
D Burbridge commented on NETBEANS-1537: --------------------------------------- Geertja, the problem for those of us with the issue is that it happens *every* time, therefore it's 100% reproduceable on our systems:-) Anyway, here's something to try, which seems to create another instance of the error message: (1) Create an dummy file somewhere on your system, e.g. c:\temp\test.txt (2) Create a shortcut to the file on your desktop(*). This will now have "Target:" set to "c:\temp\test.txt", and "Start in:" set to "c:\temp" (3) Delete the dummy file (4) In Netbeans, go to "File" | "Open Project..." Expected Result: The project selection dialog should be shown. Actual Result: A "Problem with Shortcut" error message is shown, followed by another one "netbeans64.exe Windows cannot find the target." (*)This at least produces the problem. It seems that if the broken shortcut is anywhere on the search path it will produce the error dialog. I have also tried putting the broken shortcut in "My Documents" (produces error message), and in a non-specific folder (doesn't produce error message). So it would seem that the Netbeans file chooser dialog is searching the path and reporting an error for all broken shortcuts. A useful function, admittedly, if you need to know, but not actually what I want to use Netbeans for! > File - Open... "Windows cannot find the target" > ----------------------------------------------- > > Key: NETBEANS-1537 > URL: https://issues.apache.org/jira/browse/NETBEANS-1537 > Project: NetBeans > Issue Type: Bug > Components: platform - Dialogs&Wizards > Affects Versions: 8.2, 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE 9.0 (Build > incubator-netbeans-release-334-on-20180708) > Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2 > Java: 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12 > Runtime: Java(TM) SE Runtime Environment 1.8.0_192-b12 > System: Windows 7 version 6.1 running on amd64; Cp1252; en_GB (nb), Windows > 10 version 10.0 running on amd64; UTF-8; en_US (nb) > Reporter: D Burbridge > Priority: Critical > Labels: dialog, file, menu, open, save > Attachments: NetBeans64_debug.TXT > > > When trying to access any file dialog, I get the message: > > netbeans64.exe > Windows cannot find the target. > OK > > Clicking OK repeats the message several times, until it finally clears. > Plus, in the log I have: > > WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot switch to > silent mode when not running at > org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter$1HandleBridge.run(MenuWarmUpTask.java:244) > > (repeated several times again) > It seems to be the file browsing dialog box that's the problem, as it arises > on all those I've tested so far: > File - Open Project > File - Open File > File - Save As > File - Import Project - From Zip - Browse > Tools - Options - Java - Ant - Browse > > I tried deactivating all plugins but the error still occurred, so it looks > like it's a netbeans issue, not 3rd party. (In fact, all I achieved was the > complete loss of my plugins as I don't seem to be able to reactivate them > now!) > > The other factor to be aware of is that there are a number of shortcuts on my > desktop which are currently invalid. I wonder if there is some checking going > on within the dialog to see where those shortcuts go, but it's creating the > error I'm seeing? In which case, the checking needs to be done silently - > after all, invalid shortcuts aren't unusual, especially when working offline. > Besides, the error comes up (5-6 times) not just when the "Open file" dialog > comes up, but 2-3 times every time I change directory within that dialog! > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists