This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Now I already tried creating a Secure Socket.When I try to connect to my server using https://ip:8080/index.html (Running the server on VMware) the browser shows "waiting to connect" and nothing happens. I then open a new window and try to connect using it. Now at this time the old window shows a certificate error and the server crashes .. Throwing a null pointer exception.. while the new windows shows "could not connect to server". Here is the code.
Any ideas why it is giving me that error? I tried looking at it line by line and I think it is this line which is the main problem. I think the value of s is null and I have absolutely no idea why.