NeXT-Workshops / mindroid

This repository holds resources of the Mindroid project
GNU General Public License v3.0
2 stars 0 forks source link

Server: creating a stub - catch empty input #146

Closed TorbenU closed 5 years ago

TorbenU commented 5 years ago

Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.substring(String.java:1963) at org.mindroid.server.app.util.StubCreator.capitalize(StubCreator.java:46) at org.mindroid.server.app.util.StubCreator.showDialog(StubCreator.java:40) at org.mindroid.server.app.MindroidServerFrame$7.actionPerformed(MindroidServerFrame.java:104)

Appears when the input is empty and you "abort" or press "ok"