Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Main Forums > Chill Out Room > ISO Java Help
  Last Thread   Next Thread
Share
Author
Thread    Post A Reply
mezzir
BEES?



Registered: Nov 2002
Location: assachusetts
Question ISO Java Help

My comp sci class ends next week and I was planning on doing some work over the weekend, so i emailed myself all the files and they're compiling fine, but when i go to run it i get:
java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at sun.applet.AppletSecurity.checkAccess(Unknown Source)
at java.lang.ThreadGroup.checkAccess(Unknown Source)
at java.lang.Thread.init(Unknown Source)
at java.lang.Thread.(Unknown Source)
at java.util.TimerThread.(Unknown Source)
at java.util.Timer.(Unknown Source)
at PacMan.start(PacMan.java:42)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


wtf?


___________________

http://www.youtube.com/mezzir

Old Post Mar-13-2004 21:48  Niue
Click Here to See the Profile for mezzir Click here to Send mezzir a Private Message Add mezzir to your buddy list Report this Post Reply w/Quote Edit/Delete Message
milanster
Supreme tranceaddict



Registered: Apr 2001
Location: Montreal

r u running it at home? coz maybe u dont have enough permissions...
my project doesnt run in full screen mode at skool coz of stupid permissions

Old Post Mar-14-2004 08:02  Canada
Click Here to See the Profile for milanster Click here to Send milanster a Private Message Add milanster to your buddy list Report this Post Reply w/Quote Edit/Delete Message
nchs09
Traceaddict in training



Registered: Sep 2003
Location: Inside your mum

ahhh... errr.... mmmmm.... ahhh







NERD


___________________
quote:
Originally posted by Halcyon+On+On
OOKA-OOKA ME NACHOS ME PRESS KEYS ON COMPUTER GOOD

Old Post Mar-14-2004 08:43 
Click Here to See the Profile for nchs09 Click here to Send nchs09 a Private Message Add nchs09 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
k.k.d.
Kostu-san



Registered: Jul 2001
Location: Montreal

Um. Basically means that in your code you are doing an illegal operation on a thread object (or a threadgroup object, whichever)...

Don't forget that Java is synonimous with "secure", and explicitelly prevents some of the practices that would of been okay with an other language. For example, considering this is an applet you're running, you should remember that you cannot access data or classes from a foreign domain, short of creating a socket and having the other side stream the data (lol)...

Which comes to the question: are you sure it was working in the first place?


___________________

Old Post Mar-14-2004 15:43  Russia
Click Here to See the Profile for k.k.d. Click here to Send k.k.d. a Private Message Visit k.k.d.'s homepage! Add k.k.d. to your buddy list Report this Post Reply w/Quote Edit/Delete Message
mezzir
BEES?



Registered: Nov 2002
Location: assachusetts

quote:
Originally posted by k.k.d. Which comes to the question: are you sure it was working in the first place?

yes, positive


___________________

http://www.youtube.com/mezzir

Old Post Mar-14-2004 16:09  Niue
Click Here to See the Profile for mezzir Click here to Send mezzir a Private Message Add mezzir to your buddy list Report this Post Reply w/Quote Edit/Delete Message
cviper
Lurking on TA



Registered: Sep 2001
Location: NGC-6543 TekniskFysik - levande lik!

Well, what are you doing in PacMan.java on line 42? According to the exception posted, that's the source of trouble...


___________________
The fears of the past are the dreams of the future

Old Post Mar-14-2004 19:35  Sweden
Click Here to See the Profile for cviper Click here to Send cviper a Private Message Add cviper to your buddy list Report this Post Reply w/Quote Edit/Delete Message
mezzir
BEES?



Registered: Nov 2002
Location: assachusetts

quote:
Originally posted by cviper
Well, what are you doing in PacMan.java on line 42? According to the exception posted, that's the source of trouble...

holy shit how did i miss that
i just saw like 10 lines of stuff i didn't understand and i panicked

and line 42:
normalTimer = new Timer();

so still wtf


___________________

http://www.youtube.com/mezzir

Old Post Mar-14-2004 20:21  Niue
Click Here to See the Profile for mezzir Click here to Send mezzir a Private Message Add mezzir to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Main Forums > Chill Out Room > ISO Java Help
Post New Thread    Post A Reply

 
Last Thread   Next Thread
Click here to listen to the sample!Pause playbacktrack played by fedde le grand and john dahlback [2009] [3]

Click here to listen to the sample!Pause playbackPhil Kieran - My House [2004]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 11:54.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!