wood burning stoves 2.0*
The moose likes Ranch Office and the fly likes Rules Roundup throws Exception in thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Rules Roundup throws Exception in thread "Thread-24" java.lang.RuntimeException" Watch "Rules Roundup throws Exception in thread "Thread-24" java.lang.RuntimeException" New topic
Author

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

Todd Patrick
Ranch Hand

Joined: Jan 30, 2004
Posts: 31

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)


--Todd
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Are you using InternetExplorer? Which version?

Some people have been having similar problems when they use Firefox.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Rules Roundup throws Exception in thread "Thread-24" java.lang.RuntimeException
 
Similar Threads
java Scanner
Can't play Rules Roundup
Getting the contents from the URL
Not showing a left pane of Administration Console of JBoss Web Console for JBoss 4.2.2 Server
Ranch Game not working?