Java Applet would load only once (in the first window) in Internet Explorer - applet

I am in a bit of fix here. In my company, we have a local intarnet website which has a menu bar in the form of an applet. Few days ago i remember i downloaded an update (either JRE or Windows , i can't recall) and after that in IE strange behavior is observed w.r.t the menu bar applet loading.
If i open the web page first time, the applet would load. when i open a second IE window or tab, the web page would load but the applet just wouldn't load. No Errors, nothing just white space in stead of menu bar applet. If i refresh multiple time, some time the applet would load by itself. purely random behaviour. When i open the website in google chrome, everything works fine. If i open java console, no errors are displayed i.e. the java is just failing to load at all !!!!
I downgraded IE 8 to IE 7 and IE 6 and uninstalled , reinstalled JRE and tried all combinations but the problem still exists !!
Please advice.

yes i did try clearing cach but the problem persists. i mean its purely random. the first time the applet always loads. after that some times it doesn some times it doesn't. No errors at all. Now even google chrome is crashing when ever i open the website saying Data execution prevention error.

Enable the Java console, and enable all logging for it. THis will allow you to see what is actually going on and may allow you to determine why the applet fails.

Related

Web Development :: VSCode, Live Server Plugin, Firefox -- Browser Always Caching, Not Refreshing

I'm using VSCode, Live Server plugin for HTML5 web development. When i make a change to my web page then save Live Server should refresh what i see within Firefox. It does refresh but it is always to the oldest cache of the web page when live server first started up. I must always tap CTRL-F5 to force a web page refresh within firefox. The moment i save again within VSCode, the browser display reverts right back to the oldest, first copy.
I've already tried enabling "Disable Cache" within the FF Dev Tools > Networking area. Didnt help. I've tried about.config | browser.cache.disk.enable set to false. Didnt help.
Just wondering if this is normal behavior or if the Live Server plugin (Ritwick Dey) for VSCode is broken.
At the present time
Ok it seemsthe problem was i was using a service worker (sw.js). The browser saw the file, autoloaded it and apparently took full control over caching in the browser -- basically, no matter what i did caching and refreshing was meaningless. I really need to understand this sw.js thing.

Protractor test fails when launch directly on Windows Server 2012

I use Protractor 3.0.0 to measure UI performances of a web app.
I need to launch my test suites on a virtual machine running on Windows Server 2012. They run perfectly on my personal computer, but on the VM the tests go crazy:
My tests don't always properly click on dropdown menus (e.g. my debug messages indicate that the click on the logout link in a dropdown menu was successful but nothing happens)
When filling text fields A and B with values "valueA" and "valueB" in a form, the tests sometimes sends "valueAvalueB" in the field B
I tried launching tests with PhantomJS, and I still have the same problem with dropdown menus (I didn't check the values of text fields yet). In addition, the performance measurements seem to be too optimistic.
Does anyone encountered the same problem? I couldn't find anything describing that kind of problem...
I launch my tests directly from the VM (not using remote WebDriver or something).
Ok Link Pham this is what I feared... Headless browsers could fix the issues, but we want to measure times spent displaying items and refreshing them. Headless browsers could give too optimistic results (as I observed with PhantomJS when I gave it a try). I will try with headless Chrome.
I guess I will have a bunch of other questions, but your answer properly covers the scope of this specific question so I will close it. Thank you again .

Waiting mouse cursor in my GWT application stays infinitely (only in Chrome, only in Production)

Could you please tell me why I have waiting mouse cursor in my gwt application as if page not fully loaded ? It doesn't happen on dev server. It only happens in production. Also it's happening in Chrome but doesn't in IE.
Link to my app is here.
Screenshot
I checked it again in Chrome, but for me no wait cursor is Displayed. But i think, your Google Chrome is trying to open the Google Translate Menu. For me it came quickly and the page loading stopped and the mouse was at normal position.
I prefer you try updating your chrome.
I have also checked the same in my co-workers Laptop and its working fine too.
If problem still persists, please use CCleaner Software and clear all Temporary files, Browser Cache, Recent files etc. Why because, GWT creates a lot of temporary files which may reduce your system performance. So after each cleaning, just restart the system also. I had few such resolutions recently.
I opened your link in Firefox and got the following error
ERROR: Possible problem with your *.gwt.xml module file. The compile
time user.agent value (safari) does not match the runtime user.agent
value (gecko1_8). Expect more errors
This is because, you have compiled your code for Webkit browsers only. If you have added a line as below in your gwt module xml file,
<define-property name="user.agent" values="ie6">
you may either remove it or you can add more browser support via this.

Debugging with NetBeans 7

I installed Xdebug where it said to. Netbeans-xdebug says running when debugging. When debugging my browser opens and keeps loading. I have to press Continue many times (about 7) to be able to view the page. No breakpoints are set. Every page does that. Some variables have values when debugging. Any ideas?

Debugging amf remote calls (from flex 4) in PHP Eclipse

I have installed and setup xdebug to debug php application. However I was wonder is it possible to debug the remote calls? I am using amfphp, I want to put break points and debug the code when the flex application calls the service. Is it possible? how to do it? Or Is there any way to simulate remote call called from flex 4 withing eclipse?
Thanks in Advance
[edit]
I have used xdebug pugin for firefox and chrome extension but both seems not working after I have installed them. Basically there is no hint/clue/document explaining how to use them, sadly. Can any one help?
Ok, I have downloaded https://addons.mozilla.org/en-US/firefox/addon/easy-xdebug/ for firefox and I had no clue on how to use it but I realized that I have removed the plugin bar which I usually disable/hide. I enabled that plug-in bar and it started appearing on the bottom of the browser and now i am able to debug :)
Any way I have found chrome extension as well https://chrome.google.com/webstore/detail/eadndfjplgieldjbigjakmdgkmoaaaoc but i yet to figure out how to enable that, because it says the extension button will appear in the context and I have no clue when that comes. May be when I set chrome as default browser and it will pick up when flex launches the app. let me see