Problems with the las version of jre 1.6.0_11

Hi
I have an applet developed in java 5 years ago. Every year we have run it without big deals since this time.
The applet works without problems if it's running in a computer with jre 1.6.0_7 but if the computer has the jre 1.6.0_11 it doesn't work.
These last days I have tried to debug it and find the problem.
The error that take me is:
java.lang.SecurityException
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkConnect(Unknown Source)
     at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
     at sun.awt.image.URLImageSource.checkSecurity(Unknown Source)
     at sun.awt.image.InputStreamImageSource.addConsumer(Unknown Source)
     at sun.awt.image.InputStreamImageSource.startProduction(Unknown Source)
     at java.awt.image.FilteredImageSource.startProduction(Unknown Source)
     at java.awt.image.FilteredImageSource.startProduction(Unknown Source)
     at sun.awt.image.ImageRepresentation.startProduction(Unknown Source)
     at sun.awt.image.ImageRepresentation.prepare(Unknown Source)
     at sun.awt.SunToolkit.prepareImage(Unknown Source)
     at java.awt.Component.prepareImage(Unknown Source)
     at java.awt.ImageMediaEntry.startLoad(Unknown Source)
     at java.awt.MediaEntry.getStatus(Unknown Source)
     at java.awt.ImageMediaEntry.getStatus(Unknown Source)
     at java.awt.MediaTracker.statusID(Unknown Source)
     at java.awt.MediaTracker.waitForID(Unknown Source)
     at javax.swing.ImageIcon.loadImage(Unknown Source)
     at javax.swing.ImageIcon.setImage(Unknown Source)
     at ImagePanel.OmpleImagePanel(ImagePanel.java:258)
     at AppletArbol.init(AppletArbol.java:167)
     at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Excepcin: java.lang.SecurityException
The reference to the classe Imagepanel.java line 258 has: icones[c].setImage(imatgesR[c]);
where icones is an array of ImageIcon: in the previous code it has :
ImageIcon [] icones;
and the magic sentence:
for(int c=0;c<=icono.size()/*-1*/;c++){                         
               icones[c]= new ImageIcon();
               icones[c].setImage(imatgesR[c]);                         
And imatgesR is an array of Image
Image [] imatgesR;
What is trying to do the program is convert an array of Image to an array of ImageIcon which will be insert in a JLabel.
What's the problem with this sentence now?? There is some other way to do the same??
I've tried to convert all the array in Vectors and the problem persist, the setImage doesn't work!!
Thanks

I'm experiencing a similar problem with an applet programmed (not by me) between 2004 and 2006. The applet works during testing with all JRE versions before 1.6.0_11 but fails with 6.0_11 and 6.0_12, at least on my machine w/ Win XP. (But the error does not occur for the developer when using Scientific Linux.) The error thrown is:
INFO           Trying server: 9877
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:9877 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 sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at client.ServerConnection.<init>(Unknown Source)
at client.ExperimentClient.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:9877 connect,resolve
Attempting to use a different port--6789 instead of 9877--results in the same error.
Thanks in advance to anyone who can help! -svs

Similar Messages

  • I just upgraded my iMac to Lion, and a few seconds ago, I upgraded the iWork package and now I'm having some problems with the new version of Pages (4.1) When I try to change something in a document, a message says "the program is not responding"

    I just upgraded my iMac to Lion, and a few seconds ago, I upgraded the iWork package and now I'm having some problems with the new version of Pages (4.1) When I try to change something in a document, a message says "the program is not responding", so I have to force it to close. By the way, the SAVE botton stays the same even I change erverything in my document. Please, a have a work to finish, **** me. What I can do abou it?

    I just upgraded my iMac to Lion, and a few seconds ago, I upgraded the iWork package and now I'm having some problems with the new version of Pages (4.1) When I try to change something in a document, a message says "the program is not responding", so I have to force it to close. By the way, the SAVE botton stays the same even I change erverything in my document. Please, a have a work to finish, **** me. What I can do abou it?

  • Is Anyone Having Problems with the newer version of Firefox?

    I still have my older Mac OsXv10.4 Tiger software. I wasn't exactly happy with Safari browser as it would block many sites and were considered incompatible so I downloaded the free Firefox browser (the 2.0 version) of which I STILL have. I'm aware that there is a much newer version and would like to download that, but I've heard a lot of people saying they have been having severe problems with it, but then they have PCs and not Macs.
    So my question is for you Mac users that use Firefox, have you had major problems with the newer version? I'm real hesitant to download if I'm going to have the same problem PC users are having...like constantly crashing. Also would my old Tiger software be compatible? I don't want to upgrade to Leopard.

    Yes. I had problems with Firefox 3.5. The primary problem was very slow or never-ending loading of certain websites (particularly secure sites and sites with many features). I also have had similar, but not as bad, problems with Safari 4. I never had these problems with Safari 2 or Firefox 2. It just seems that with each update, the problems increased for me. I have read the Safari and Firefox forums and tried many fixes with little improvement. I have come to the conclusion that there is some kind of compatibility problem between the latest versions of Safari and Firefox and Shockwave Flash and/or Javascript and OS 10.4, particularly on PPC Macs. I expect there are many who will disagree and I cannot argue or prove the point. This is just my opinion. And I recognize that my problems could be caused by my setup and not by the browsers. By the way, I do not use any add-ons with any of my browsers. Anyway, I got tired of dealing with it and installed the latest version of Camino about 2 weeks ago. I also did a clean install of Firefox 3.0.13. Camino is working out great for me. It is simple and it works. No problems at all. So currently I am using Camino as my primary browser and Firefox 3.0.13 as my backup. I hope this helps.

  • Problem with the Arabic vowelization in V 4.0 although we didn't face this problem with the previous versions ,so please fix it up quickly

    There is a problem with the arabic vowelization in the browser version 4.0 although we didn't face this problem with the previous versions ,so please fix it up quickly because it affects on our work

    Do you have an Arabic version of Firefox installed which isn't displaying the vowelization correctly, or are you trying to read it using an English language version?
    There are a few add-ons for Arabic which might possibly help here: [https://addons.mozilla.org/en-US/firefox/search/?q=arabic&cat=all&x=0&y=0 Arabic add-ons]

  • Problem with the active version of the transfer rule ABAP program with sour

    Hi,
    I have a problem with the active version of the transfer rule ABAP program with source system EXCEL. 
    The system does not react to changes done in the transfer rule coding. For FISCPER I have hardcoded the result 'BABABA' and still the results delivered are those from the CSV.
    Resetting the system buffers does not help. The problem is systematic in combination with source system EXCEL (i.e. not only 1 InfoSource).  Checking the active program Extras->Display Program shows the coding (result='BABABA') being there, but
    as stated, the system does not produce the result BABABA, but instead the result of the CSV.
    It seems as if the original version from the very first activation of the transfer rule program remains somewhere and continues to be used.  Does anybody know how to flush it out and get the system to actually use the coding appearing as the active program.
    I have posted an OSS note, but SAP takes it time to answer and I am under time pressure so I figured that maybe one of you know who to solve it before SAP does.
    Greetings and thanks,
    Martin

    Hi martin,
    just try to go out the RSA1 and then return to your infopac. ...
    sometimes there some "cache" trouble

  • Sqljdbc4 driver problem with the latest version of java (java6 update9)

    Hi all, sorry for my ingles.Need help with a problem, I have to connect to sql server 2008 from Java, I had install the Java SE Development Kit 6u22, and when the upgrade to the 6u29, the driver stopped working, they let the following example:
    public static Connection getConnection(String db_connect_string,String jdbcDriver)
    Connection conn = null;
    try {
    Class.forName(jdbcDriver);
    conn = DriverManager.getConnection(db_connect_string); //when you run this line, does nothing mores, nor throws errors
    } catch (Exception e) {
    System.out.println("Error de conexion." + e.getMessage());
    return conn;
    uninstall update29, and install that before and had returned to work. Still do not know how to solve this problem with the latest version of java. Any ideas?.
    Thanks.

    You are not the only one.
    MS SQL JDBC does not work with 1.6.0_29?

  • After ugrading to Firefox 4, I can not go to my job e-mail website. I get the message: ssl_error_renegotiation_not_allowed. No problem with the old version of Firefox. Can I have the old version of Firefox back?

    After ugrading to Firefox 4, I can't go to my job e-mail website. I get the message: ssl_error_renegotiation_not_allowed. No problem with the old version of Firefox. Can I have the old version of Firefox back?

    See:
    *https://wiki.mozilla.org/Security:Renegotiation

  • Is anyone having problems with the latest version of iTunes?

    is anyone having problems with the latest version of ITunes?

    Dwayne3333 wrote:
    is anyone having problems with the latest version of ITunes?
    What a vague and useless question.
    A search of the forums would have revealed issues that others are having.
    Why does it matter though?  Are you having issues?  If not.. why would you care?

  • How do I fix the problems with the newest version of firefox

    I a having a major problem with the newest version of firefox and I am not happy with it. I did everything that I am supposed to do with the reset, but it is still not working correctly. It has a lot of no responses and freezing up problems.
    How do I fix this problem?

    You didn't provide any information about your Firefox setup. Can you do that and paste it in a new reply?
    *Navigate to <code>about:support</code> via Address Bar
    *Click the button that says <code>Copy text to clipboard</code>
    *Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.
    Can you try to start Firefox in Safe Mode to see if Firefox opens and works properly with no error? You can start Firefox in Safe Mode below:
    *'''Windows/Mac''': Hold the SHIFT/Option key while opening Firefox
    *'''Linux''': Run ''firefox -safe-mode'' in the Terminal/Konsole
    If Firefox opens up fine with no problems, it's probably one of your extensions that's causing the issue. You can re-enable your add-ons one by one until you find the one that causes the issue upon being re-enabled.

  • Purchased 2 iphone 5's.  Both have cracked the screen in the first week.  Never had this problem with the previous versions iphones being so fragile.

    I purchased 2 iphone 5's.  One for my husband and one for me.  Both have cracked the screen in the first week. I even have a case on mine. Never had this problem with the previous versions iphones being so fragile.  Has anyone else experienced this?

    Tests by some of the web sites and magazines claim that the iPhone 5 is in fact more rugged than previous models. That doesn't obviate the possibility of an assembly defect that would make yours more susceptible to damage, but if you dropped or impacted them and they cracked, then your warranty will not apply and you'll have to pay for replacement, either the AppleCare+ "deductible", if you purchased AppleCare+ with your iPhone, or Apple's normal out-of-warranty replacement charge.
    You can of course make an appointment at an Apple Store, explain the situation, and hope that there's something they can do for you. Don't count on it, though.
    Regards.

  • What is the problem with the newest version of iTunes (Failed to install - error 7

    What is the problem with the newest version of iTunes (Failed to install - error 7 & missing MSVCR80.dll) - the DLL is not missing.  tgried to install today and it failed - what a waste.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall go to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Since Firefox 32.0 was downloaded on 3/9/14 I am experiencing brief hanging when clicking onto websites or links. Is this a problem with the new version of Fire

    If I click onto any link or webpage I am quite often getting a briefing 'hanging' before Mozilla responds. I also get a message at the top of my screen stating that Firefox is not responding and the loading symbol justs spins in circles until it eventually frees up and opens the page. Prior to Firefox 32.0 being downloaded on 3/9/14 I had no problems with this 'hanging' at all. I can only assume it is a Firefox issue as I do not have the same issues if I use Internet Explorer or any other programs installed on my computer.

    You can check for problems with the history that is stored in the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    There are other things that need your attention.
    Note that your System Details List shows multiple Flash plugins.
    *Shockwave Flash 15.0 r0
    *Shockwave Flash 14.0 r0
    *Shockwave Flash 13.0 r0
    You can find the installation path of all plugins on the <b>about:plugins</b> page.
    *http://kb.mozillazine.org/Issues_related_to_plugins#Identifying_installed_plugins
    You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.
    *(32 bit Windows) C:\Windows\System32\Macromed\Flash\
    *(64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\

  • URGENT!!! Problems with the last version  14.2.1

    Hello, I have a problem with the latest update of PS CC two iMac in the company where I work, is that updated to the latest version and have recurring problems, for example, when using the Transform an object tool, the object changes, shown with noise or change the opacity and you can not edit, or also adding some other effect is the result: a distorted image. I think that's the latest update of PS because I have no such problems, because even I do not upgrade to version 14.2.1. Please I need your help, as our work at the agency is compromised with the delays that this causes us. Greetings and thanks! I'll be waiting for an answer.

    Lo siento mucho, aquí va el problema en español:
    Buenos días, tengo un problema con la última actualización de PS CC en dos iMac en la empresa donde trabajo, resulta que actualizaron a la última versión y tienen problemas recurrentes, por ejemplo: al utilizar la herramienta Transformar en un objeto, éste objeto cambia, se muestra con ruido o cambia la opacidad y no es posible editarlo, o también agregando algún efecto el resultado es otro: una imagen distorsionada. Creo que es por la última actualización de PS ya que yo no tengo esos problemas, porque aún no actualizo a la versión 14.2.1. Por favor necesito su ayuda, ya que nuestro trabajo en la agencia se ve comprometido con los retrasos que esto nos ocasiona. Saludos y gracias! Estaré a la espera de una respuesta.
    Muchas gracias!!!

  • Problems with the last version of iuines

    I have problem with the two last versions, I Can't clouse the program and the computer fail. I must restart the computer

    Try the steps given in the link below....Remember....,install the old version,if this problem persists
    http://forums.adobe.com/message/4041846#4041846

  • I have a problem with the latest version of itunes not responding when i open it.

    Every time i open itunes on my PC i cant do any thing and have to use task manager to close it as it keeps not responding

    Thanks but I had already read this, and it was no help at all.  Under the Summary tab, "Options", there is no check-box to manually manage my stuff.  I suspect this is because it is a 2nd gen iPod, with ONLY manual management.  The only way to delete my stuff seems to be to reset the entire device.
    I like to listen to podcasts.  What is particularly frustrating is that the 4th gen shuffle CANNOT play podcasts, but ONLY music, which I discovered after a lot of research and multiple visits to an Apple store.  So I have to resort to an older version of the shuffle to play podcasts  And now with the latest version of iTunes there seems to be no way to delete any podcasts on the older version.  Apple just makes it harder and harder for us podcast-lovers, driving us away from Apple -- driving me away from the entire brand and from ALL Apple devices, not just iPod.

Maybe you are looking for