Ryan Moquin created NETBEANS-5196:
-------------------------------------
Summary: Maven projects using a module-info.java cause Netbeans
instability in 12.x.
Key: NETBEANS-5196
URL: https://issues.apache.org/jira/browse/NETBEANS-5196
Project: NetBeans
Issue Type: Bug
Affects Versions: 12.2
Reporter: Ryan Moquin
I've always had problems with Netbeans instability when trying to play around
with making a project that uses a module-info.java file. Each time, Netbeans
encounters exceptions which cause it to go into long periods of
unresponsiveness from that point on. This has led me to avoid using JPMS. I
decided just to try to deal with it, and have been experiencing really bad
instability in Netbeans (if you guys don't see it, create a Quarkus project and
add a module-info.java to it). I love Netbeans, and this is really the only
major issue I ever have with it. I'm hoping it can be straightened out soon.
The attached bug report is from 12.1, but it happens with 12.2 as well. I've
been switching back and forth to see which might be more tolerable. It seems
like 12.2 is worse with JPMS.
Here is one of the log entries, but not sure it's helpful. I'll attach come
other relevant files. There are some random errors I see about not being able
to parse a particular java source file, but it's all valid normal code. I
excluded those to avoid attaching company source code. I'm thinking maybe it
has something to do with the repeated stack traces about an invalid compile
phase.
<record>
<date>2020-12-18T14:18:15</date>
<millis>1608319095086</millis>
<sequence>9158</sequence>
<level>900</level>
<thread>818</thread>
<exception>
<message>java.lang.NullPointerException</message>
</exception>
</record>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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