Saw this exception when the properties file was corrupted (i.e no lines for hostname & co):
java.lang.NullPointerException
at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
at java.base/java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
at java.base/java.util.Properties.put(Properties.java:1331)
at studio.kdb.Server.getAsProperties(Server.java:21)
at studio.kdb.ConnectionPool.leaseConnection(ConnectionPool.java:50)
at studio.kdb.ReloadQKeywords$1.run(ReloadQKeywords.java:12)
at java.base/java.lang.Thread.run(Thread.java:830)
java.lang.NullPointerException
at studio.kdb.Server.equals(Server.java:76)
at studio.ui.StudioPanel.createMenuBar(StudioPanel.java:1517)
at studio.ui.StudioPanel.rebuildMenuBar(StudioPanel.java:1420)
at studio.ui.StudioPanel.access$1000(StudioPanel.java:40)
at studio.ui.StudioPanel$39.WindowListChangedEventOccurred(StudioPanel.java:1860)
at studio.ui.StudioPanel$WindowListMonitor.fireMyEvent(StudioPanel.java:139)
at studio.ui.StudioPanel.setServer(StudioPanel.java:1010)
at studio.ui.StudioPanel.(StudioPanel.java:1872)
at studio.ui.StudioPanel.init(StudioPanel.java:1984)
at studio.core.Studio$1.run(Studio.java:66)
Saw this exception when the properties file was corrupted (i.e no lines for hostname & co):