Suddenly unable to clean and build project ...

2018-02-06 Thread Henderson, Roy
Running NB 8.2:

I made some source changes to a Java/FX project and now NB responds to any 
attempt to either build or run by displaying an empty "Browse JavaFX Classes" 
window - obviously the select button is inactive because nothing is contained 
in the list so the only option is to cancel ...

This problem appears to have been encountered by others, according to Google, 
but I have been unable to find either a cause or a solution ...

Any assistance would be appreciated ...
This message may contain confidential and privileged information. If it has 
been sent to you in error, please reply to advise the sender of the error and 
then immediately delete it. If you are not the intended recipient, do not read, 
copy, disclose or otherwise use this message. The sender disclaims any 
liability for such unauthorized use. PLEASE NOTE that all incoming e-mails sent 
to Weatherford e-mail accounts will be archived and may be scanned by us and/or 
by external service providers to detect and prevent threats to our systems, 
investigate illegal or inappropriate behavior, and/or eliminate unsolicited 
promotional e-mails (spam). This process could result in deletion of a 
legitimate e-mail before it is read by its intended recipient at our 
organization. Moreover, based on the scanning results, the full text of e-mails 
and attachments may be made available to Weatherford security and other 
personnel for review and appropriate action. If you have any concerns about 
this process, please contact us at datapriv...@weatherford.com.


Re: Unable to quit after cancelling Savables

2018-02-06 Thread Emilian Bold
I does look like a bug in 
org.netbeans.modules.applemenu.NbApplicationAdapterJDK8.handleQuitRequestWith(AppEvent.QuitEvent
 e, QuitResponse response)

Seems to me that when the user cancels QuitResponse.cancelQuit should be called.

Actually, the Javadoc is quite clear 
https://docs.oracle.com/javase/9/docs/api/java/awt/desktop/QuitHandler.html :

> Implementors must call either QuitResponse.cancelQuit(), 
> QuitResponse.performQuit(), or ensure the application terminates.

Please report the bug for NETBEANS on the Apache Jira: issues.apache.org/jira/

Great find! Seems to me the whole exit action design is unable to send an 
answer back in case of cancel.

I also see this has been reported multiple times in the old Bugzilla:

https://netbeans.org/bugzilla/show_bug.cgi?id=268549
https://netbeans.org/bugzilla/show_bug.cgi?id=271946
https://netbeans.org/bugzilla/show_bug.cgi?id=269724
(probably) https://netbeans.org/bugzilla/show_bug.cgi?id=247690

--emi

 Original Message 
 On 6 February 2018 11:22 PM, Marco Rossi  wrote:

>Hi Emilian,
> I’ve created this small project (attached here as a zip, hope it’s ok) and 
> got the same issue. Please note that this seems to be related to OS X only 
> (in Windows it works).
> My environment is Netbeans IDE 8.2 on OS X 10.11.6 with Java 1.8.
>
>
>
>
>
>>Il giorno 06 feb 2018, alle ore 19:05, Emilian Bold 
>>emilian.b...@protonmail.ch ha scritto:
>>Might be something more subtle, I know I could be able to press Cancel with 
>>Salvables.
>>Can you create a simple project that reproduces this problem?
>>--emi
>>
>
>
>
>
>To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
>https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Unable to quit after cancelling Savables

2018-02-06 Thread Emilian Bold
Might be something more subtle, I know I could be able to press Cancel with 
Salvables.

Can you create a simple project that reproduces this problem?

--emi

 Original Message 
On 5 February 2018 12:57 PM, Marco Rossi  wrote:

> Hi to all,
> I’ve noticed a possible bug: when I quit my custom Netbeans Platform 
> application (from menu bar > Quit... in OS X environment), if there are some 
> AbstractSavable instances in the SavableRegistry, it appears the default Save 
> dialog (see picture) asking user if he would like to save changes before 
> quit. I click on Cancel and then try to click again in Quit action, nothing 
> happen and I’m unable to close.