The old eclipse bug which is very annoying for me.
The situation: I stop tomcat server => run web application again => get browser window. The problem is that browser window is displayed earlier before the redeployment process finishes itself, so whenever I try to close the browser window(since I prefer to open web application in standard browser since the native is laggy and slow) in that short interval, my Eclipse hangs with error message window:
Script Error: An error has occurred in the script on this page
Line: 1
Char: 1
Error: Unspecified error
URL: about:blank
Do you want to continue running scripts on this page?
Yes No
The problem is that application hangs plus the window is inactive and I can't make this window active.
To fix this I have to end the process and shutdown tomcat manually on .bat. This is very annoying when you repeat this around ten times a day.
It doesnt happen if I wait till the application is completely redeployed, but I have habit of working fast, so eventually I close the window again before redeployment.
The help could be either in:
how to forbid eclipse showing browser window tab when web application is redeployed?
or how to fix this error?
Thank You guys,