Weird InstantiationException problem in IE (MSJVM) - due to caching?

The name of my applet class was MyProjectApplet.class, packaged in a jar (unsigned) called MyProject.jar. My html code was:
<applet code="myPackage.MyProjectApplet.class" archive="MyProject.jar" width="180" height="45">
</applet>
It all worked fine, then recently I needed to make a few changes to the MyProjectApplet code but, when testing it out, I noticed that these changes were not being picked up in IE - IE was still using the old code. (The new code ran fine in Firefox.)
Assuming the problem was down to IE caching the old class files, I cleared the IE cache (Tools -> Options -> Delete Files) - but the problem persisted...
So, to overcome the caching, I decided to rename my class and jar - to MyProjectApplet_New.class and MyProject_New.jar, changing my html code to:
<applet code="myPackage.MyProjectApplet_New.class" archive="MyProject_New.jar" width="180" height="45">
</applet>
And now I get the following message when IE tries to load my applet:
java.lang.InstantiationException: myPackage/MyProjectApplet_New
     at com/ms/applet/BrowserAppletFrame.newInstance
     at com/ms/applet/AppletPanel.processSentEvent
     at com/ms/applet/AppletPanel.processSentEvent
     at com/ms/applet/AppletPanel.run
     at java/lang/Thread.run
And the strangest thing is that if I now use this html:
<applet code="myPackage.MyProjectApplet.class" archive="MyProject_New.jar" width="180" height="45">
</applet>
...that is, specifying the new jar but with the old applet class name (that doesn't even exist in the new jar), then the applet runs! (But it runs the old code, not the new code...)
Does anyone know what is going on? Have I missed something really obvious?
Thanks,
James

At long long long long last, I've found the cause of the problem!...
For some reason, all my classes were being stored in my C:\WINDOWS\Java\lib directory!...
I don't know why, but I've deleted them and things are back up and running.
Happy days!

Similar Messages

  • Weird internet problem / ssl connection error, site loads in safari not in firefox or other way around

    I really can't figure out this problem. Search the internet tried all kinds of things, nothing help so far.
    I have a Macbook Pro (Lion originally installed) running on Mavericks (all latest updates). SSD installed and the DVD tray is replaced by the original HDD.
    The laptop wasn't running very smooth anymore so decided to give it a fresh Mavericks install (even though I know it's not really necessary for mac, it helped, everything is much faster except a weird internet problem came up).
    After freshly installing Mavericks I couldn't get into my google account anymore, just wouldn't load. Tried Safari (use this normally) and Firefox and Chrome, this last was gave a SSL connection error, both Safari and FF said the website couldn't be loaded because the server didn't respond. For Gmail I use Mailplane which is just stuck on a white page. I tried repairing the keychain, repaired disk and disk permissions, cleaned browsers, turned off firewall and antivirus (Shopos) started in safe mode, checked time settings which were all good. Nothing of this helped. I even ended up creating a usb bootdisk for Mavericks, formatted the disk and reinstalled from the start just Mavericks and nothing else, started Safari, still the same problem. As even this didn't help I figured it's not worth reinstalling all software so put back my backup.
    Now I ended up somehow only being able to use Gmail normally in Firefox, Chrome still gives SSL error and Safari can load the inbox, but I can't open any messages. I get the error there is a problem with the connection. If I try in Basic HTML mode it surprisingly does work.
    You would say, just use Firefox, finished...but the thing is that sometimes random websites won't load in Firefox, when I load the same site in Safari it works perfectly.
    O yes, I also tried the connect to my iPhone and use the Cellular data network, then it's no problem using Gmail in Safari normally. You would say it's a router problem, but I have another Macbook Pro (just one model later running Mountain Lion) this one works perfectly with every browser. Also my iPhone does everyting logged into the WiFi network.
    You can understand I really have no clue what's going on here, I don't see any logic. I can only think of a hardware problem in my Macbook, but don't see how that could cause these problems.
    I hope someone is ably to help me ?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • My mozilla does't opening new tabs & I am having very problem with my work due to this.Please tell me how can i resolve this problem.

    My mozilla does't opening new tabs & I am having very problem with my work due to this.Please tell me how can i resolve this problem

    The Ask Toolbar is causing that in the Firefox 3.6.13 version. Evidently something in that extension isn't compatible with a Firefox security fix. Disable that extension or un-install it.

  • I had bought iphone 4 from singapore and now i am relocated to india.....there is some hardware problem in the phone due to which i m nt able to use it.....how do i give the phone for repair and in which country?

    i had bought iphone 4 from singapore and now i am relocated to india.....there is some hardware problem in the phone due to which i m nt able to use it.....how do i give the phone for repair and in which country?

    The warranty is not international and only available in the Country of purchase .If the iPhone is out of warranty  Apple or their Agents will also only give service in the country of original purchase.
    So if you want Apple help you will have to return it to Singapore or find a 3rd party to repair it if they can in India  as long as it is out of warranty and you understand that Apple would never help with that device in future if it has been opened by a 3rd party

  • TS3992 I got a problem in my ipad2 due to "icloud backup message". I can't open my unit and am worried that I can not use my ipad anymore. What can I do. Please help me.   Thank you & GOD BLESS!

    I got a problem in my ipad2 due to "icloud backup message". I can't open my unit and am worried that I can not use my ipad anymore. What can I do. Please help me.   Thank you & GOD BLESS!

    Try to reset it. just press hold the on/off botton (ignore the red slider) just hold it then the ipad is automatically reset. dont worry about your file, there nothing happen to it. Godbless.

  • I have iphone 4 and have never updated itsince i've bought it. now i would like to update it to iOs 7. maybe can i have some problems in doing this due to the fact that i've never updated it until now?

    I have iphone 4 and have never updated itsince i've bought it. now i would like to update it to iOs 7. maybe can i have some problems in doing this due to the fact that i've never updated it until now? thanks in advance for every reply

    Did you follow this article to update your phone?
    iOS 4: Updating your device to iOS 5 or later
    iOS: How to update your iPhone, iPad, or iPod touch
    If your device has modified software installed (jailbreak), you might get problems using the phone after updating it.

  • Weird audio problem during calls

    I have a weird audio problem and was wondering if anyone else has had a similar problem or could help...
    My wife and I both have iPhone 5's and sometimes (not all the time) when she calls me (or I call her), it connects, but no matter which audio input I choose (phone, bluetooth, speaker, headphones), I cannot hear her, but she can hear me... I hang up, call back (and when I call, there is no dialing sound, nor any other phone sounds) and it's the same thing. Sometimes restarting the phone works, other times I have to restart it 3-4 times before it'll work again.  I try different things during these calls, like turning on/off bluetooth and/or wifi (pretty much anything I can think of that would make a difference), but nothing seems to help.
    The (other) weird part is that after the last time of this happening, I tried calling my iPhone with my office phone and it worked fine, so then I immediately call my wife back with my iPhone and it was doing the same thing again. I called her back using my office phone and could talk to her fine...
    This problem has been going on for a few months now and I have tried restoring the phone a couple times (and I am on the latest iOS) and sadly, that hasn't done anything to help... Does anyone have any ideas what is going on? I'd make an appointment for the problem, but since it doesn't do it all the time, I don't know what good it would do... But it is getting very frustrating!
    Thanks for any help!
    -Jason

    Thanks for the response!  It happened again yesterday...  It seems to be happening more frequently in the past few weeks now.
    I checked the link and have tried all of the things listed at one point or another over the past few months.  I did just check my Carrier settings and it said it had updated (it's on 14.1), but I am not sure when that happened (could have been today, could have been after my last restore last week, not sure).  I'll keep my fingers crossed that maybe that fixed it...
    If it continues to act up, would you recommend that I bring the phone in to an Apple store or an AT&T store?  I bought the phone through Apple, but my carrier is AT&T (and if you suspect that the problem may be with the cellular conection), maybe the AT&T store would be the better choice?
    I really wish the problem would be more consistant or go away, cause trying to get the problem solved is driving me crazy!

  • Slooow internet and weird mouse problems?

    I recently upgraded my iMac to Leopard (10.5.4) and started having weird mouse problems. At start up, mouse would be frozen in upper left corner. I'd restart, switch mice, restart, over and over. I use a Wacom tablet w cordless mouse plus Apples alum cordless keyboard. Eventually I tried switching USB ports for my Wacom tablet and the mouse was OK. I have learned that when this problem occurs, I need to shut down and unplug everything. That seems to solve it. Anyone know why? ALSO, ever since upgrading I have found the Internet to be appallingly slow. I have 2 GB memory and just upped my internet speed (supposedly) through Embarq.

    hmm, what is a mouse usb or a keyboard usb?
    arent all the usb ports same?
    I really wish to show you how this happens it is really fun, but also annoying. especially when I am playing a game. it is interesting to watch the screen when suddenly all the world starts rotating when you are playing a first person shot'm up.

  • KT6V Weird boot problems

    Hi..
    I'm having this weird boot problem (and no it doesn't seem to be the standard one)
    OK..
    I have the following :
    AMD Athlon 2000+
    KT6V LSR mainboard
    2x 256 Crucial PC2700 memory
    IDE Hard Disk (120gb segate)
    Creative 5700ultra Graphics card (AGP)
    Cd Rom
    Chieftec 400w PSU
    WinXP Pro
    If I set my CPU FSB to 100mhz (everything else on auto).. win Xp pro boots fine and all is pretty good except that my chip is now seen as a lowly 1.25ghz..
    If I then set my CPU FSB to 133 or 166 then the machine boots (ie it beeps etc..).. starts to load windows xp (I get the logo and that's when the problem happens)  and either black screens (ie.. nothing and the monitor turns off) or blue screens with the windows message saying that windows has detected a hardware fault and has halted the system..
    I know my memory, chip, heatsink etc all work because just over an hour ago they all worked fine in my KT3 ultra.
    What is going on as I've tried almost everything to try and solve this, with the only option to set the FSb to 100mhz which is incorrect for my CPU.
    How do I fix this.
    I've looked through the forum but this is not the same problem as simple reboots.. this is weird.
    If I can't fix this then I guess it'll be send it back.. which is a shame because I like MSi motherboards.
    Thanks
    Slippery

    Hi..
    I've checked the CPU heatsink.. and nothings wrong !
    (Can't check the voltage but I know the PSU is Ok as I did run it in a custom case with 4 Cd writters, 4 HDs, loads of lights etc.. before I moved to this new plain case tonight)
    What's weird is that set at 100FSb it's fine but at 133 or 166 it just crashes after the loading XP logo is displayed. Up until that point it's all fine.
    But why does it run Ok at 100mhz and not 133mhz ?
    Please help..  before I end up fixing this with a hammer !
    Thanks
    Slippery

  • Weird Javascript problem on Safari and other web browsers

    Hello,
    this is actually pretty weird. For the past several weeks I have been dealing with a very strange problem which I believe relates to JavaScript. To be more specific I have an issue with two websites: Macuser.gr and Facebook.com.
    As far as Macuser.gr is concerned this is how it's supposed to look:
    http://f.cl.ly/items/0j1J123Y2D0t1C2U3b1f/Screen%20Shot%202013-02-06%20at%202.25 .04%20PM.jpg
    and this is how Safari renders it:
    http://f.cl.ly/items/3N0V3I1c0Q0a1r0K0e1C/Screen%20Shot%202013-02-06%20at%202.25 .40%20PM.jpg
    The problem is with the preview images as you can see.
    Now, in Facebook there's this annoying white line where it isn't supposed to be:
    http://f.cl.ly/items/0k0i2c0T0q1h3t2j2s3e/Screen%20Shot%202013-02-06%20at%202.25 .52%20PM.jpg
    I have tried and tested everything (Guest user, different browsers etc) and all it comes down to is JavaScript. Disabling Javascript seems to fix everything immediately. Enabling it again and this mess occurs. Also, this happens with the latest versions of Safari, Chrome and Firefox BUT not with Camino 2.1.2 although it has JavaScript enabled in it.
    This is really frustrating and it appeared out of the blue one day. I did not have this problem from day 1. Any ideas?

    Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with proxy servers, or with networks that require a certificate for authentication.
    From the OS X Utilities screen, select Get Help Online. A clean copy of Safari will launch. No plugins, such as Flash, will be available. While in Recovery, you'll have no access to your saved bookmarks or passwords, so make a note of those before you begin, if they're needed for the test.
    Test. After testing, reboot as usual and post the results.

  • HI there, am having a big problem updating mu iphone due to me forgetting my password, can you tell me how to retrieve it. It seems like i have one apple id for downloads  and a different one for updates. Can you help ps.?

    Hi There
    Am having a big problem updating my iphone 4 Apps, due to a problem with my password for my apple id. But it seems that i have two different ids, one for the updates and another for the downloads. I am not able to retrieve my Id password for updating my Apps. Can you help me ps?
    Thank you

    What program did you use to fix the internal hard drive? What repairs did it report making? More crucially, if repairs were reported, did you re-run the utility until it reported no problems found? It's possible for one set of problems with a drive to mask others.
    If you have about 5GB or so free space on the internal hard drive, you can use your OS X Install disc to perform an Archive and Install to recover from the failed Software Update. When the computer restarts, download and run the OS X Update Combo 10.4.11 (Universal). When the Mac restarts after that, run Software Update. During all this, make sure nothing interrupts or shuts down the Mac! Note that the first start after each of these updates will take significantly longer than subsequent starts, so be very patient.
    How did you back up your internal drive to the external one? Did you just drag things over in the Finder, or did you use a utility such as SuperDuper! or CarbonCopyCloner? Does the external HD show up as a bootable volume in System Preferences > Startup Disk, or using Startup Manager?

  • Weird mouse problem (clicks not being performed, -)

    Recently I am suffering from a really weird problem.
    The middle mouse button shows a really strange behaviour:
    I'm using KDE from [extra], and middle clicking e.g. a link in a webbrowser (no matter which toolkit it uses) instead of opening one tab, opens the link in several tabs.
    Also middle clicking on a tab, normally should close *one* tab, while here it often closes more than one tab. Since this happens in every application I use, no matter which toolkit is used, this cannot be a KDE/Qt problem, since e.g. Firefox is affected by it too. I also doubt that GTK is the cause of this problem…
    [The middle clicking problem has been solved, by cleaning the mouse wheel]
    [The problem below, still persists]
    Furthermore, sometimes my laptop looks like it enters a "state", where my clicks are not "performed" the normal way:
    E.g. I had a media player running, when my laptop got into this "state". No matter where I clicked on this app, the clicking action was performed on the Play button. Using Alt+Tab to focus another window/bring it to the front, and clicking in this window anywhere again resulted in the Play button getting clicked.
    After quitting the media player app (through a keyboard shortcut) my clicks still did not work normal. They still simply were not performed. In order to "re-gain" the ability to click, I had to log out first.
    Since I've setup my Arch Linux not to automatically start X/KDM after logging out, I found myself in the terminal, where I ran startx, in order to run KDE.
    The terminal still had some output of my X session, but it wasn't displayed with normal characters, but rather with some weird characters, looking all scrambled and stuff, as you can see on the screenshot. http://imagebin.org/100067
    I currently use the packages from the testing repo, but IIRC this behaviour was there even before installing the testing repo packages.
    Extra information:
    kernel26 2.6.34-1
    xorg-server 1.8.1-1
    nvidia 195.36.24-2
    xf86-input-evdev 2.4.0-1
    I run Arch Linux x86_64 on an Acer 5741G Laptop, with a NVidia Geforce GT 320M.
    Interestingly, another user who suffers from the same bug is running a computer with intel graphics, so it probably is not the nvidia driver causing the problem either.
    Originally the bug was reported as a rekonq bug: https://bugs.kde.org/show_bug.cgi?id=238987
    Thank you
    Last edited by pano (2010-06-09 11:43:21)

    Hello,
    I seem to suffer from the same problem. Sometimes (perhaps triggered by amarok, but I have to investigate this further before blaming this app) the left mouse button stops working. I can not perform left-klicks anymore. Everything is fine with the right button. If I log out and in again the mouse if fully back. In this loop X has not been restarted.
    My setup:
    KDE 4.4.5 (official packages)
    X: X.Org X Server 1.8.1.902 (1.8.2 RC 2)
    kernel: 2.6.34-ARCH #1 SMP PREEMPT
    architecture: x86_64
    mouse: Logitech MX1000 Laser (Logitech, Inc. MX-1000 Cordless Mouse Receiver)
    If s.o. will ever work in this I will be happy to provide any information I can come up with.
    Cheers and good night.

  • Very weird monitor problem, betcha can't solve this one.

      OK I have a MacBook Pro 2.4GHz with 4GB of Ram, it's fully up to date with Lion, and is connected to a Formac W2300-1U 23 inch TFT Monitor (DVI, VGA, 1920 x1080, 1000:1, 5ms, 400cd/m²) through a HDMI to Mini port adaptor.
    Now, the problem is the monitor flicks off, then on, at first I thought it was just randomly, but today I isolated the problem to something specific that make it happen. When I open the preference panel, and click on 'Trackpad' as soon as the video demo starts to play the monitor switches off then on.
    It's totally weird, what on earth could be causing this? Any ideas?

    ok well i have no idea what happened. i started out again with a fresh installation of JBoss, and it worked. no clue as to what was wrong. musta been some JAR that was out of place or something.
    thank you for your help!

  • Weird display problem with iMac 24"

    Hi guys, I have a very weird problem with my 24" iMac. For some reason it seems that after approx. 10 minutes using the Mac, whenever I keep a window on top of another window and then I minimize it, it keeps there like a ghost for another 5-10 seconds until it fades away slowly slowly.
    Sometimes it's hard to see it however it's very evident when using a white window (such as Safari) on a dark background (not black).
    I'm attaching an image split into 2 parts, the 2nd part is shot exactly after I minimised the browser. It clearly shows a faded ghost image on the grey Photoshop canvas.
    Here's the pic:
    http://www.neilazzopardi.com/imac.jpg
    Has anyone ever experienced a problem similar to mine? or am I getting paranoid?
    By the way, I bought this Mac, 5 months ago and I don't know whether this problem has been there from the beginning but I only noticed recently while cropping in Photoshop and still seeing the parts I removed away very faded.

    den.thed it's not that I took it the wrong way or anything but shouldn't I be doing whatever I like with my iMac?
    For the record that is a dark grey Photoshop canvas, which just happens to show the problem much more evidently.
    The problem is that it happens on any background (even desktop) with any window, even Adium etc. Their ghost just stays there for a while... I use the iMac for design purposes and it's very annoying especially when cropping a picture and what I just cut out stays there very faded...

  • E1200 weird connection problem

    Recently I got a brand new E1200 from the Cisco store to replace Apple Extreme Base station for my home wireless network. The router deployed just fine except one weird problem. While all devices (desktops, laptops, cell phones, iPad) can access the router, one desktop (Dell Optiplex DX280)  cannot see the router at all. The router network, even with default SSID, does not even show in the wireless network list, no matter how many times the list is refreshed. The wireless adapter (Dell TrueMobile 1800 USB2.0) is fine, since it picks up the router SSID when connected to another desktop. The stubborn desktop works just fine with previous Apple router and can see many networks around, like neighbors' networks.  Thinking that some other previously installed software interferes with seeing the router SSID, I completely wiped and reformatted HD and reinstalled fresh copy of WinXP - still the same result, the dektop works just fine with the Apple router, but still cannot see E1200 SSID. The router was reset to factory defaults and all access restrictions were removed. While all the devices see the default SSID and can conncet to the router with no problems, the stubborn desktop keepcompletely ignoring it. Any ideas what may be the problem?

    It is SP3, and there was no error message. SSID just was not showing up in list of available networks on Optiplex desktop. As I found later, just by chance in contrast to getiing answer straight from Dell, it was a driver issue. Optiplex desktop was equipped with older driver, 1.5.0.1 or so, a while ago because this is what was recommended (and continues to be recommended!) at Dell's site for the supplied service tag. It was working just fine with Apple router. On the other hand, the Compaq desktop, which was picking up routher's SSID normally with the same USB adaptor, somehow had loaded a newer version, 3.3 something, from the internet. When the older  driver was installed from the Dell website, Compaq lost all wireless capabilities. So when I just upgraded driver from within WinXP Device Manager, the newer version was installed and the missing SSID has immediately shown up in Optiplex' wireless network list. I wish that Dell suooprt and site was better organized, but it is as bad as jungle and Tech Support asks a lot of irrelevant questions wasting their and my time and getting nowhere.

Maybe you are looking for

  • Can't copy file with # in name to Panther server

    I have this problem with any file that has a "#" in its name, which is fairly common on Mac OS X , I think (the result of certain programs truncating the name) For example, from a computer running Panther, I can copy the file "list all movies in path

  • TROUBLE WITH WEB ADDRESS IN SAFARI

    I have previously posted this topic under Safari directly but have received no response. I am having some difficulty with my desktop G5 Quad in respect to logging on to a particular web address that I have been using for years now. When I try to log

  • BPM xpath issue with last-index-within-string

    Hey all, I have a script task in BPM that updates a field by using multiple xpath functions. I have narrowed the issue down to the oraext:last-index-within-string function. If I do something like oraext:last-index-within-string('ora/in/ok/d', '/')...

  • Insert with APPEND hint

    Hello, I have insert statment with APPEND hint. Here statment is as follows. INSERT /*+ APPEND */ INTO TEST SELECT * FROM EMP; The TEST table is in NOLOGGING mode. The table has FK constraint, trigger, index too. Obvisiouly, it would not write the da

  • Mavericks and Epson Printer driver problem

    What is the issue with the Mavericks to Epson Pro Printer driver upgrade which produces the error message: "filter failure?" The result is no printing. After wading through blogs, chat rooms and both Epson and Apple sites, installing and reinstalling