gbak / stoker-web

Automatically exported from code.google.com/p/stoker-web
2 stars 1 forks source link

error with addUser.jar #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
root@decss:/home/mfuqua/StokerWeb# java -jar addUser.jar 
Enter username: mfuqua
Enter password: 
Retype password: 
Exception in thread "main" java.lang.NullPointerException
    at java.util.Properties$LineReader.readLine(Unknown Source)
    at java.util.Properties.load0(Unknown Source)
    at java.util.Properties.load(Unknown Source)
    at sweb.server.security.LoginProperties.<init>(LoginProperties.java:57)
    at sweb.server.security.LoginProperties.getInstance(LoginProperties.java:85)
    at sweb.server.security.admin.AddUser.addLoginAndPass(AddUser.java:38)
    at sweb.server.security.admin.AddUser.main(AddUser.java:64)

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
ubuntu
tomcat7
java-7-openjdk-i386

Please provide any additional information below.

Have deployed stokerweb but unable to login. I assume it is related to the 
above error.

Thanks 
matt

Original issue reported on code.google.com by mfu...@gmail.com on 29 Sep 2012 at 12:31

GoogleCodeExporter commented 9 years ago
stokerweb-0.3.3.zip
addUser-0.3.4.zip

Original comment by mfu...@gmail.com on 29 Sep 2012 at 12:34

GoogleCodeExporter commented 9 years ago
Matt, did you happen to create an empty login.properties file in the 
STOKERWEB_DIR prior to running the password program?

I can reproduce the exception above by removing the file.

Try creating an empty file and running it again.

Gary

Original comment by gary...@gmail.com on 8 Oct 2012 at 4:47

GoogleCodeExporter commented 9 years ago

Original comment by gary...@gmail.com on 8 Oct 2012 at 4:47