Skip to content

Stackoverflow on Gradle options tab #3686

@aplatypus

Description

@aplatypus

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

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugBug report or fixneeds:triageRequires attention from one of the committers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions