Forum

Bug report : Launcher crashes with NPE if $HOME/.buildanddefend directory does not exist
You should be logged in to post a new reply.
August 6, 2014, 11:11 pm
Posts: 9
On first run of the launcher, it asks if you want to update the game. I clicked "Yes", and the console reported this exception:

java.io.FileNotFoundException: /home/userdir/.buildanddefend/launcher.properties (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:206)
at java.io.FileOutputStream.<init>(FileOutputStream.java:95)
at java.io.FileWriter.<init>(FileWriter.java:63)
at updater.model.login.Configuration.writeSettings(Configuration.java:91)
at updater.controler.LoginHandlerControler.actionPerformed(LoginHandlerControler.java:63)


This was easily worked around by manually creating the directory and running it again.
You should be logged in to post a new reply.
Return