aplatypus opened a new issue #3686:
URL: https://github.com/apache/netbeans/issues/3686


   ### Apache NetBeans version
   
   Apache NetBeans 12.6
   
   ### What happened
   
   - Netbeans notificaton message popped-up with an error when I clicked APPLY 
on the Gradle options tab.
   - Apparently the setting to use the projects gradlew as not/is not working.
   
   **Expected ...**
   
   1. Use the gradle project's `gradlew` when the "Prefer to use Gradle Wrapper 
that comes with the project"  is TICK-ed
   2. Operate cleanly without a stackoverflow.
   
   ### How to reproduce
   
   - Netbeans was not using my project's gradle wrapper (gradlew) to build
   - I checked the Gradle tab, it has "Prefer to use Gradle Wrapper that comes 
with the project" => TICK
   - I unticked that setting and then re-ticked the check-box.
   - Pressed APPLY button
   - A notificaton message popped-up with an error
   - When I looked the error is a stackoverflow in Netbeans
   >   
![image](https://user-images.githubusercontent.com/67028/156473130-e5b0836b-89b6-4606-9e68-86cddf277d9b.png)
   - I have pasted in error information producted by Netbeans
   - Incidently you need to fix the link in the error notification pop-ups to 
jump to Github
   
   ### Did this work correctly in an earlier version?
   
   No
   
   ### Operating System
   
   Ubuntu 20.04.4 LTS Release:  20.04
   
   ### JDK
   
   Java: 17.0.1; building with Java 1.8
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   **Netbeans config** ...
   ``` 
   Product Version: Apache NetBeans IDE 12.6
   Java: 17.0.1; OpenJDK 64-Bit Server VM 17.0.1+12-LTS
   Runtime: OpenJDK Runtime Environment 17.0.1+12-LTS
   System: Linux version 5.13.0-30-generic running on amd64; UTF-8; en_AU (nb)
   User directory: /home/william/.config/netbeans/v12.06/4ams/v17.00/user-02
   Cache directory: /home/william/.cache/netbeans/v12.06/4ams/v17.00/cache-02
   ```
   
   **Unexpected exception** pop-up ...
   ```
   A java.lang.StackOverflowError exception has occurred.
   Please report this at https://netbeans.apache.org/nb/report-issue,
   including a copy of your messages.log file as an attachment.
   The messages.log file is located in your 
/home/william/.config/netbeans/v12.06/4ams/v17.00/user-02/var/log folder.
   ```
   
   I will attempt to attach logs as separate comment (if github permits it).
   
   ### Are you willing to submit a pull request?
   
   Yes
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to