I’ve been trying to start learning SGS. My goal right now is to get the server running and do something as simple as printing out a message to the console in my BootGLO class. The problem is that I run into this error before I get there. I’ve tried everything I can think of but I keep getting the following error:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at com.sun.gi.framework.install.impl.InstallationURL.(InstallationURL.java:121)
at com.sun.gi.framework.install.impl.DeployerImpl.(DeployerImpl.java:123)
at com.sun.gi.SGS.(SGS.java:128)
at com.sun.gi.SGS.main(SGS.java:197)
java.lang.InstantiationException: Missing Installation Loader
at com.sun.gi.framework.install.impl.DeployerImpl.(DeployerImpl.java:129)
at com.sun.gi.SGS.(SGS.java:128)
at com.sun.gi.SGS.main(SGS.java:197)
Here’s what my files look like (I think these are the relevant ones)
SGS-apps.conf
#This file describes the games installed into this back end as a list of one line entries
#The entries make up a 2 column able as follows
#Game ID URL Location of deployment XML
1 file:zombieSurvival_Deployment.xml
zombieSurvival_Deployment.xml
These two files are in the same directory.
Nothing I did with changing the classpath or bootclass changed the error. Any help would be appreciated, as I am completely stumped.