I don't use gradle, and I don't want to install it, so I can only ask:
Is there, by any chance, an existing or generated "module-info.java" file?
The stack trace seems to originate from a recursive call:
1. From Modules.completeModule to Modules.retrieveRequiresTransitive:
(NOTE: During initialization (inInitModules == true) completer is set to
lambda expression calling Modules.completeModule as Completer instance)
for (RequiresDirective d : msym.requires) {
d.module.complete();
readable.add(d.module);
Set<ModuleSymbol> s = retrieveRequiresTransitive(d.module);
2. Modules.retrieveRequiresTransitive calls ModuleSymbol.complete (see
for-loop).
Because of the initialization (see NOTE on [1]), ModuleSymbol.complete
calls Modules.completeModule again.
What I've not yet investigated is: what are the conditions to not
enforce the recursive behavior? It seems, in "usual" cases the recursion
stops at some point, while in Your case it doesn't.
IMHO, this seems to be a JDK problem (if there're cyclic dependencies,
an error should be logged and compilation should just stop), but I'm not
a JDK expert. OTOH, there seems to be a problem with Your dependencies,
so You'd check Your dependencies graph. As method
"retrieveRequiresTransitive" is involved, please check also if all
dependencies are available at runtime.
Kind regards
Peter
Am 13.11.18 um 17:39 schrieb Mike Billman:
Tried really quick...same results. Even deleted cache.
Mike
-----Original Message-----
From: Mike Billman <[email protected]>
Sent: Tuesday, November 13, 2018 11:02 AM
To: [email protected]
Subject: RE: VC3 - JDK11 - gradle plugin
I'll give that a try tomorrow. Thanks for the idea.
Mike
-----Original Message-----
From: Peter Nabbefeld <[email protected]>
Sent: Tuesday, November 13, 2018 10:59 AM
To: [email protected]
Subject: Re: VC3 - JDK11 - gradle plugin
Hello Mike,
the stack trace looks really strange - like some endless loop in the compiler.
Could You probably just try to use any other JDK 9+, probably even JDK 12 EA?
Kind regards
Peter
Am 13.11.18 um 13:54 schrieb Mike Billman:
Laszlo/Geertjan -
After working with the plugin developer, we suspect it might be a nb issue. I
submitted a JIRA ticket. As I have not done this before, I would welcome
feedback on anything I could do to assist in this process.
https://issues.apache.org/jira/browse/NETBEANS-1668
Mike
-----Original Message-----
From: Mike Billman <[email protected]>
Sent: Wednesday, November 7, 2018 8:15 AM
To: [email protected]
Subject: RE: VC3 - JDK11 - gradle plugin
Submitted issue with plugin...getting out of memory error. Thanks for the
help. Running under JDK8, not having any issues.
Mike
-----Original Message-----
From: Laszlo Kishalmi <[email protected]>
Sent: Tuesday, November 6, 2018 6:17 PM
To: [email protected]
Subject: Re: VC3 - JDK11 - gradle plugin
Well, JDK 11 has some issues with Gradle. You need to have at least Gradle 4.10
to get the project loaded.
If you prefer to use the wrapper it is going to fail.
On 11/6/18 1:38 PM, Mike Billman wrote:
Of course...i just wasn't sure how to tell if it was the plugin or the ide.
Mike
-----Original Message-----
From: Geertjan Wielenga <[email protected]>
Sent: Tuesday, November 6, 2018 3:52 PM
To: [email protected]
Subject: Re: VC3 - JDK11 - gradle plugin
Can you report issues with the Gradle plugin on the Gradle plugin site, please?
Gj
On Tuesday, November 6, 2018, Mike Billman
<[email protected]>
wrote:
Hi – it would appear I am having some issue related to either
environment, netbeans itself, or the gradle plugin. I have tried
multiple times to load a large project running netbeans pointed to
11.0.1. However, each time it stops at “background scanning of
projects” and I can’t do anything more meaningful. Jumping to
points in the code doesn’t work etc. I would like to try to provide more
information, but I am not at all sure how.
VC3 seems to work fine if I run against JDK8u191. At this point,
all of our code runs against jdk8 anyways, so this isn’t necessarily
a big issue, but I would like to try to understand where the problem
is so I can report it properly. Can anybody give some suggestions
or is anybody else having issues with the gradle plugin?
Thanks!
Mike Billman
Senior Software Engineer
CPTE
[image: qclogo]
11800 Conrey Rd
<https://maps.google.com/?q=11800+Conrey+Rd+%0D%0A+Suite+150+%0D%0A+
C i ncinnati,+OH+45249&entry=gmail&source=g>
Suite 150
<https://maps.google.com/?q=11800+Conrey+Rd+%0D%0A+Suite+150+%0D%0A+
C i ncinnati,+OH+45249&entry=gmail&source=g>
Cincinnati, OH 45249
<https://maps.google.com/?q=11800+Conrey+Rd+%0D%0A+Suite+150+%0D%0A+
C i ncinnati,+OH+45249&entry=gmail&source=g>
T +1 513 469 1424
E [email protected]
F +1 513 469 1425
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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