Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rules Roundup throws Exception in thread "Thread-24" java.lang.RuntimeException

 
Todd Patrick
Ranch Hand
Posts: 31
Android Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to play the JavaRanch Rule Round-up Game, the Applet throws the following exception in the Java Console:

HTTP:
java.security.AccessControlException: access denied (java.net.SocketPermission 66.114.98.20:80 connect,resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at com.javaranch.common.HTTP.sendObject(HTTP.java:82)
at com.javaranch.common.HTTP.sendE(HTTP.java:118)
at com.javaranch.common.HTTP.send(HTTP.java:136)
at com.javaranch.roundup.applets.QuizApplet.createPanels(QuizApplet.java:120)
at com.javaranch.roundup.applets.QuizApplet.access$000(QuizApplet.java:24)
at com.javaranch.roundup.applets.QuizApplet$MakePanels.run(QuizApplet.java:38)
Exception in thread "Thread-29" java.lang.RuntimeException: could not load StartData
at com.javaranch.roundup.applets.QuizApplet.createPanels(QuizApplet.java:123)
at com.javaranch.roundup.applets.QuizApplet.access$000(QuizApplet.java:24)
at com.javaranch.roundup.applets.QuizApplet$MakePanels.run(QuizApplet.java:38)
 
Marilyn de Queiroz
Sheriff
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using InternetExplorer? Which version?

Some people have been having similar problems when they use Firefox.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic