thurka opened a new pull request, #6132:
URL: https://github.com/apache/netbeans/pull/6132

   Register Database for Micro/GCN stops when username should be provided. The 
LSP fails with:
   ```
   WARNING [org.netbeans.modules.java.lsp.server.protocol.Server]: Error 
occurred during LSP message dispatch
   java.lang.NullPointerException: Property must not be null: value
        at 
org.eclipse.lsp4j.util.Preconditions.checkNotNull(Preconditions.java:29)
        at 
org.netbeans.modules.java.lsp.server.input.ShowInputBoxParams.<init>(ShowInputBoxParams.java:62)
        at 
org.netbeans.modules.java.lsp.server.input.ShowInputBoxParams.<init>(ShowInputBoxParams.java:66)
        at 
org.netbeans.modules.java.lsp.server.input.InputBoxStep.<init>(InputBoxStep.java:56)
        at 
org.netbeans.modules.java.lsp.server.db.DBAddConnection.lambda$processCommand$0(DBAddConnection.java:127)
   ```
   The `InputBoxStep` does not accept null for `value`, but the DBAddConnection 
uses null unset for username and password. This PR uses empty string instead of 
null.
   It also fixes wrong prompt in password InputBoxStep.
   


-- 
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