Applet doesn't work with JRE1.4.1_01

Hi,
I have an applet embedded in a remote-server page. It can be loading from the server and running in the local computer with Jre1.3.1. After I uninstalled jre1.3.1 and installed JRE1.4.1_01. My applet doesn't run. Here is the message from Java Consol:
java.lang.NullPointerException
     at sun.plugin.cache.CachedFileLoader.writeHeaders(Unknown Source)
     at sun.plugin.cache.CachedFileLoader.createCacheFiles(Unknown Source)
     at sun.plugin.cache.CachedFileLoader.access$200(Unknown Source)
     at sun.plugin.cache.CachedFileLoader$3.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.plugin.cache.Cache.privileged(Unknown Source)
     at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
     at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
     at sun.plugin.cache.FileCache.get(Unknown Source)
     at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown Source)
     at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1197)
     at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:247)
     at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:250)
     at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
     at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
     at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
     at sun.applet.AppletPanel.run(AppletPanel.java:292)
     at java.lang.Thread.run(Thread.java:536)
I copy the my html file which has this applet built-in to my local computer. The webpage can be openned and the applet running fine even with jre1.4.1. Why it didn't run with Jre1.4.1 and it did run with jre 1.3.1 when loading remotely? Could someone tell me what the above messages mean? Is this a bug from Jre1.4.1_01?
Thanks,
Kunlun

Hello
i am facing the same problem. when i run my java applet using localhost.. it does not work and shows the same exceptions
i download the JRE 1.4.1 by using following link
http://java.sun.com/products/plugin/1.4.1/demos/plugin/applets/SpreadSheet/example1.html
eventhen it is not working.
as you said you installed jre .1.3 and then 1.4 but i didn`t install 1.3 i directly installed 1.4. after installing 1.4 i downloaded the jre as you said. but still i am facing the same problem
and one thing else. i want to check it more then one system. i have to download it again and again can i download its setup once on my harddisk.
please send me the link
waiting for your reply
thanx in advance
Waris Mirza

Similar Messages

  • Please help -- Why the applet doesn't run with jre1.4.1_01?

    Hi,
    I have an applet embedded in a remote-server page. It can be loading from the server and running in the local computer with Jre1.3.1. After I uninstalled jre1.3.1 and installed JRE1.4.1_01. My applet doesn't run. Here is the message from Java Consol:
    java.lang.NullPointerException
    at sun.plugin.cache.CachedFileLoader.writeHeaders(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.createCacheFiles(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.access$200(Unknown Source)
    at sun.plugin.cache.CachedFileLoader$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.cache.Cache.privileged(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
    at sun.plugin.cache.FileCache.get(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1197)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:247)
    at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:250)
    at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
    at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
    at sun.applet.AppletPanel.run(AppletPanel.java:292)
    at java.lang.Thread.run(Thread.java:536)
    I copy the my html file which has this applet built-in to my local computer. The webpage can be openned and the applet running fine even with jre1.4.1. Why it didn't run with Jre1.4.1 and it did run with jre 1.3.1 when loading remotely? Could someone tell me what the above messages mean? Is this a bug from Jre1.4.1_01?
    I have running server at 206.29.25.29. and select "read sensor". Jre1.4.1_01 will not let the applet run, but jre1.3.1 does.
    Is there any body know about this issue?
    Thanks,
    Kunlun

    In fact, I have run many tests and the only failures are when the plugin is 1.4.2 and the app server is on Unix:
    Build      Deploy      Build JDK     PlugIn JDK     App Server JDK     Result
    Win     Win     1.4.2_02     1.4.2          1.4.2          Success
    Win     Win     1.4.2          1.4.2          1.4.2          Success
    Win     Win     1.4.1_02     1.4.2          1.4.2          Success
    Win     Win     1.4.2          1.4.0          1.4.2          Success
    Win     Win     1.4.2          1.4.1          1.4.2          Success
    Win     Win     1.4.2          1.4.2          1.4.2          Success
    Unix     Win     1.4.2          1.4.2          1.4.2          Success
    Unix     Win     1.4.2          1.4.2          1.4.1_02     Success
    Unix     Win     1.4.2          1.4.2          1.4.0          Success
    Unix     Unix     1.4.2          1.4.0          1.4.0          Success
    Unix     Unix     1.4.2          1.4.1          1.4.0          Success
    Unix     Unix     1.4.2          1.4.2          1.4.0          Failure
    Win     Unix     1.4.2          1.4.0          1.4.0          Success
    Win     Unix     1.4.2          1.4.1          1.4.0          Success
    Win     Unix     1.4.2          1.4.2          1.4.0          Failure

  • Applet doesn't work with object tags--PLZ HELP!

    <NOEMBED>
    </NOEMBED>
    </EMBED>
    </COMMENT>
    </OBJECT>

    ooops! The applet is not displayed with object tags generated by HtmlConverter utility, The applet is supposed to display a JTable and connect to Oracle DB using JDBC. The web server is Tomcat 4.1.29
    <OBJECT
        classid = "clsid:CAFEEFAC-0014-0001-0002-BBCDEFFEDCBA"
        codebase = "http://java.sun.com/products/plugin/autodl/jinstall-1_4_1_02a-windows-i586.cab#Version=1,4,1,21"
        WIDTH = 800 HEIGHT = 500 NAME = "Edit Trunks" >
        <PARAM NAME = CODE VALUE = "cbhtolApplet.class" >
        <PARAM NAME = ARCHIVE VALUE = "trnkapplet.jar,ojdbc14.jar" >
        <PARAM NAME = NAME VALUE = "Edit Trunks" >
        <PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.4.1_02a">
        <PARAM NAME = "scriptable" VALUE = "false">
        <COMMENT>
            <EMBED
                type = "application/x-java-applet;jpi-version=1.4.1_02a"
                CODE = "cbhtolApplet.class"
                ARCHIVE = "trnkapplet.jar,ojdbc14.jar"
                NAME = "Edit Trunks"
                WIDTH = 800
                HEIGHT = 500
                scriptable = false
               pluginspage = "http://java.sun.com/products/plugin/index.html#download">
                <NOEMBED>
                </NOEMBED>
            </EMBED>
        </COMMENT>
    </OBJECT>Appreciate your help!

  • Applet doesn't work with IE, even tough I have plugin

    I have an applet that work properly in appletviewer.
    When I start it from IE, I only get an empty page.
    I have j2sdk140_01 so the plugin is there. I have also tried the html Converter, but nothing works. Any suggestions what to do?
    In the applet I have a background image (.jpg), JButtons, JLabels and a JTextField.

    I have opened the Java plugin-Control Panel and the java plugin is activated.
    Under the advanced tab I changed from the standard plugin to the JRE 1.4.0_01 in C:\Program\Java\jre1.4.0_01
    My applet contains of a background image (.jpg), a Jtextfield and some JButtons. Now I can see the image but not the other components...
    "Kevinja" says something about a Java-console. I have no such under "View" and I don't know what to enable under Internet Options. The only "thing" that has to do anything with java is the Java plugin and that one is activated.
    Any suggestions what to do next?

  • Applet doesn't work with Windows XP - Netscape 4.x

    All - I have a Java web application which is supported for Windows 2000. Users are required to use Netscape 4.x. It uses a Swing JApplet. A plug-in is not required for Netscape, but there are some supporting JAR files installed on the client to enable the Swing components. It works fine on Windows 2K, but it breaks on Windows XP. More specifically, it throws an Exception:
    java.lang.NoClassDefFoundError: com/sun/java/swing/Japplet
    Does anybody have any thoughts as to why it works for Windows 2K but won't load the JApplet for Windows XP?
    Thanks

    Hi,
    I'm assuming that if your users must use Netscape 4x, (without the plugin), then 1) they are using the built-in version of Java (1.1.5), and 2), the Java 1.1 swingall.jar file, is placed in the user's Netscape classes directory?
    If that's true, then you probably want to make sure you are using the same version of the Java 1.1 swingall.jar on both the Windows 2000 and on the XP machines. When Sun was first working on Swing, each beta version had a different package placement for the swing classes. One version placed the classes in com.sun.java.swing, but the final version placed the classes in javax.swing.
    The JApplet you are trying to use is still referring to the package name used in that beta version of Swing. If you try to download a current version of the Java 1.1 swing runtime, for installation on your XP machines, however, the swingall.jar will not have the classes in those locations.
    --Steve                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Samson Softpre applet doesn't work under Leopard

    I am a podcaster. I bought the Samson C01U microphone last year as I was told at that time it was the best in the entry-level for someone that was considering podcasting. There's an applet that is offered by Samson that allows Input Level Meter, Volume control, High-pass filter and Phase Switch. Every recording sounded great when I combine this applet with GarageBand.
    Recently, I switched to Leopard and the applet doesn't work anywore. Worse, recording audio with that mic gives me radically inferior quality. When I asked Samson about that matter, the support tech guy told me that there was no intention on porting this software on the new operating system, with the following: "The Soft Pre applet is merely a volume control. There is no difference in sound with or without the Soft Pre. All Samson USB mics were designed to be fully operational without the Soft Pre applet."
    I've googled the matter several times with no one else noticing the matter but myself. Christoph Drösser on a previous discussion told me that he had no such problem, but the difference between his setup and mine is that he upgraded to Leopard while mine was a fresh install. Anyone else in a similar situation?
    Message was edited by: Laurent LaSalle

    Hi,
    I had the same problem. I use an external monitor. It seems that the Applet simply disappeared after using my monitor.
    I opened Samson SoftPre, turned on my external monitor! Eureka. Here is my Applet. I moved it in the middle of my desktop to make sure it would not hide again. Once, you get it back make sure to either close the Applet before quitting the external monitor.

  • Trying to load illustrator 6cs onto new mac and the old activation code for my ill cs doesn't work with it

    Trying to load a downloaded version of illustrator 6cs onto new mac and the old activation code for my illustrator cs doesn't work with it.  Do I need a new code or am I missing something?  Same goes for my Photoshop cs.

    you need your serial number.
    if you purchased from or registered with adobe check your account, https://www.adobe.com/account.html

  • Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro

    Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro when plugged in with a dvi to mini dvi cable. Any ideas what to do to make it work? I lugged the 23" 2500 miles into the wilderness and I need help

    Okay, here's an update: the DVI to ADC adapter does work with the Apple displays that I have tried, but it won't work with the Formac. I have tried multiple time to contact them, but to no avail... they don't even respond to threats of posting my opinion of them, which is this:
    DON'T BUY ANYTHING FROM FORMAC! They make quality products, but their customer service is a big time joke! They won't take care of you.

  • HT201210 hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    Try the suggestions here to see if they resolve your problem:
    http://support.apple.com/kb/ts1559
    If these don't work you may have a hardware problem. Visit an Apple store for an evaluation or contact Apple Support.

  • TS1253 I have a printer epson TX210, but it doesn't work with my time-capsule. What need to do?

    I have a printer epson TX210, but it doesn't work with my time-capsule. What need to do?

    What have you tried?
    You are going to get nowhere quick with the 6.1 utility in Mountain Lion if this is the only OS you have available.
    Look up how to install 5.6 utility under ML. At least then you can see printers. That is assuming you are trying to use USB.
    Has this worked ever on Mountain Lion? Did you download the drivers for that printer for ML?
    Plug it into a computer directly.. does it work? If it doesn't work locally it sure will not work via the network.

  • My i pod nano first generation doesn't work with windows 8

    My i pod nano first generation doesn't work with windows 8

    Howdy yvesmd,
    Thanks for using the Apple Support Communities.
    If your iPod nano is not being recognized in iTunes on your Windows computer, then I'd like you to please follow the directions in the link below.
    Apple - Support - iPod - iPod nano Troubleshooting
    Cheers,
    Alex H.

  • Quicklook doesn't work with .avi files

    Hello, i've got a little problem right here on my mac. The thing is that I used to have Snow Leopard as a OS and quicklook used to work great, it opened all the extensions I used to work with. The thing change when I format my HDD and installed a clean copy of Lion OS. Now quicklook works fine as it used to but not any more with .avi files. I remember that this feature was working great on my previous OS, and it's really important for me to find a solution because quicklook is an absolutely amazing feature of our Macs.
    I've tryed to download plugins, restoring permissions or even trying it with a guest user, but no success.
    Please help me. If you need more info about specs or something i'll be glad to give them to you.
    Thank you!!!

    Also doesn't work with Grapher (.gcx) documents (an Apple format).

  • The Bluetooth on my 2012 Lexus doesn't work with my iPhone 5.  My old android phone worked perfectly with my car.  Even the tech guy at Lexus couldn't get it to work.  What is apple doing to fix this.

    The Bluetooth on my 2012 Lexus doesn't work with my iPhone 5.  My old android worked perfectly with my car.  Even the tech specialist at Lexus couldn't get it to work.  Lexus said that other iPhone 5s were having the same problem.  What is apple doing to fix this?

    Going to the local Apple store this morning...
    My problem is not uncommon as the board is showing signs of this happening to many others as well. That is where I found the restore and reboot information to try to solve the issue of crashing apps.
    I understand that Apple will not "give away the cow", but letting iPhone users know that the problems they are having are being addressed by Apple is a little more comforting than nothing at all. Other wise, all the apps in world are useless and even more importantly worthless, if a person has to reset/reboot/reload just to get them to work.
    IF Apple can not address the basic problems with todays iPhone apps, why should one believe that the iPhone 3.0 OS is any better? Using a PC comparison, which is better, XP or Vista. If the current iPhone OS of 2.2. what ever is not working that well (as related to down loaded apps and iTunes), will OS 3.0 be any better?
    The waste of time I refer to is in going to the apps store and downloading the apps... Again why by apps if the free version does not work?

  • Satellite M40-129: PCMCIA Card doesn't work with Linux

    I have D-Link DWL-G650 with Atheros Chipset which is good supported under linux (madwifi). But if I boot Linux the card is not found. I tested the card with an Fujitsu Siemens Notebook and it worked out of the box!
    Any idea why it doesn't work with my M40-129 ?

    Hi
    Like you know Toshiba doesnt support the Linux and there are no Toshiba drivers for the Linux OS but I was able to find this useful Toshiba page about the notebook configuration with Linux:
    http://newsletter.toshiba-tro.de/main/
    You should check the OS machine compatibility and the other areas.
    Im sure you will find many useful tips.
    Good luck

  • HT5706 I am trying to set up Apple TV with my Uverse WiFi, but I get errors when entering my password.  One site said that Apple TV doesn't work with WPA which Uverse uses.  Is there anyway around this or will Uverse and Apple TV just not work together.

    Trying to set up Apple TV with ATT Uverse.  I get errors when trying to enter my WiFi password.  One site says that Apple TV doesn't work with Uverse because it uses WPA for encryption.  If true, does that mean Uverse subscribers cannot use Apple TV?

    Spurs63 wrote:
    does that mean Uverse subscribers cannot use Apple TV?
    No, that's a rather silly conclusion.
    There are two options:
    stop using the crappy router provided by the ISP.
    Physically connect the ATV to the router via Ethernet.

Maybe you are looking for