sdedic opened a new pull request, #5538:
URL: https://github.com/apache/netbeans/pull/5538
During testing of NB17, I've seen some messages printed to the console that
should not be there.
1/ Maven creates a fallback project, if the pom.xml cannot be read into the
model. This is a fairly common, either because of malformed XML, inaccessible
basic build plugin (i.e. empty repository) etc. Should be logged, but not at
INFO level - that is likely a leftover after debugging maven actions.
2/ After a clean startup with Ergonomics, when Java SE feature is activated,
a stacktrace prints to the console from unsuccessful JShell console
deserialization:
```
Class: class org.netbeans.modules.jshell.editor.ConsoleEditor
Source:
MultiFileObject@7a679502[Windows2Local/Components/JShellEditor.settings]
Caused: java.lang.NoSuchMethodException:
org.netbeans.modules.jshell.editor.ConsoleEditor.<init>()
at java.base/java.lang.Class.getConstructor0(Class.java:3349)
at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2553)
at
org.netbeans.modules.settings.convertors.XMLSettingsSupport.newInstance(XMLSettingsSupport.java:73)
at
org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.instanceCreate(XMLSettingsSupport.java:603)
```
The window is marked as `PERSISTENCE_NEVER` but the .settings file is there
because of `@TopComponent.Registration`. Other similar windows use a default
constructor with limited initialization and features - this patch addds the
same.
--
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