-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Firefox 3.6.3
Internet Explorer 8
Hudson ver. 1.357
-
Powered by SuggestiMate
When opening the configuration of a Job, the "Loading" overlay remains visible after the page has finished loading (see screenshots)
In Firefox there is a workaround as the overlay window is transparent, I can navigate with tab to the input field and can do the changes using keyboard only.
In Internet Explorer, the overlay window is grey, without any transparency, so it is not visible where to navigate to.
It seems as if this happens with a Maven2 project. There are multiple Free-Form (Ant) Projects and one Maven2 project. And only the Maven2 project shows this behavior.
- configure.htm
- 465 kB
- hudson-behavior.js
- 69 kB
- config.xml
- 4 kB
- JavaScriptError.jpg
- 144 kB
- JavaScriptError.jpg
- 183 kB
- Firefox.jpg
- 152 kB
- InternetExplorer.jpg
- 95 kB
- duplicates
-
JENKINS-6542 "LOADING" overlay
-
- Resolved
-
- is duplicated by
-
JENKINS-7583 CLONE -Loading Overlay remains visible after page loading has finished
-
- Resolved
-
- is related to
-
JENKINS-8789 Apostrophe in view name causes the LOADING mask to never go away
-
- Resolved
-
-
JENKINS-8120 ビルドアクションに他のプロジェクトから成果物をコピーを設定するとIE8で設定画面が開けなくなる
-
- Closed
-
[JENKINS-6756] Loading Overlay remains visible after page loading has finished
OK, I have installed the WebDeveloper toolbar and yes, there is a JavaScript error, see the screenshot attached.
I just noticed in "environment" you list Hudson 1.357. Closing as duplicate of JENKINS-6542 which was fixed in Hudson 1.362. You can reopen this issue if you still see a problem in 1.362+
Same problem here - running the latest .war, though Tomcat 6.0.29.
All was well until this morning, when suddenly I cannot access any job configuration screen, because of a "LOADING" overlay.
Jobs are running - slower than usual, but that's probably irrelevant to this problem.
Updated the .war file yesterday, do not think I saw this problem then.
System Properties
Name ↓ Value
HUDSON_HOME /disk/hudson/
catalina.base /opt/apache-tomcat-6.0.29/
catalina.home /opt/apache-tomcat-6.0.29/
catalina.useNaming true
common.loader ${catalina.base}/lib,${catalina.base}/lib/.jar,${catalina.home}/lib,${catalina.home}/lib/.jar
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /opt/apache-tomcat-6.0.29//bin/bootstrap.jar
java.class.version 50.0
java.endorsed.dirs /opt/apache-tomcat-6.0.29//endorsed
java.ext.dirs /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
java.io.tmpdir /opt/apache-tomcat-6.0.29//temp
java.library.path /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.naming.factory.initial org.apache.naming.java.javaURLContextFactory
java.naming.factory.url.pkgs org.apache.naming
java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.6.0_0-b16
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file /opt/apache-tomcat-6.0.29//conf/logging.properties
java.util.logging.manager org.apache.juli.ClassLoaderLogManager
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_0
java.vm.info mixed mode
java.vm.name OpenJDK 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 14.0-b16
javax.accessibility.assistive_technologies org.GNOME.Accessibility.JavaBridge
jna.platform.library.path /usr/lib64:/lib64
line.separator
os.arch amd64
os.name Linux
os.version 2.6.18-194.8.1.el5
package.access sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
package.definition sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
path.separator :
server.loader
shared.loader
sun.arch.data.model 64
sun.boot.class.path /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/classes
sun.boot.library.path /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Server Compiler
sun.os.patch.level unknown
svnkit.ssh2.persistent false
tomcat.util.buf.StringCache.byte.enabled true
user.country GB
user.dir /disk/hudson
user.home /disk/hudson/.homes/hudson
user.language en
user.name hudson
user.timezone GB
user.zoneinfo.dir /usr/share/javazi
Now that my running jobs have stopped, the problem has suddenly gone away - for all but at least one job. I will attached the config for that one job, in case it is a recurrance of something like the earlier JS error on empty drop-down lists.
Could it be that there were no server threads available? I do not know the Hudson or Tomcat arch.
However, there is a puase before a job config is displayed, during which the screen remains white, and ironically, no "LOADING" message is displayed.
I'll leave this open for you to see and close, just to highlight the potential issue.
I do not experience the same problem through FireFox, just in IE (v7 - corporate client's choice)
In the latest Mozilla, I have found at times (which times?) that the overlay appears with an alpha level of about 30%: the form can be submitted, and produces the error "The server encountered an internal error () that prevented it from fulfilling this request"
If the overlay stays there, it indicates a javascript error during the page load, preventing javascript from removing the overlay when ready. You need to get the error message from IE7 including as much detail as possible (line number of error). Attache the "view source" output from IE of the page showing the problem. We need this detail to track down which plugin or particular configuration is causing the javascript error.
mindless,
I had the same issue with my instance. Like you, I'm running Hudson in a Tomcat 6 installation. I was able to fix the problem by shutting down the server and cleaning out the ${CATALINA_HOME}/temp and ${CATALINA_HOME}/work directories. Now I'm back up and running. While not a fix, it's at least a workaround.
My suspicion is that this stems from containers persisting session data across restarts. The URLs for static content definitely make it seem as if there is some URL rewriting magic going on some sort of UID.
What would happen in a scenario where an application container loads unexpired session data from disk? Does Hudson have the awareness that a session may be new to it, but not the container? Someone familiar with the source may be able to shed light on how Hudson it integrates as a session listener (if at all).
~Owen
We have a similar Error. Clicking configure on any job yields the LOADING-Overlay which doesn't go away for a very long time (> 60 sec). Then it finishes and we can edit the configuration regularly. Firebug does not report any JS-Errors. We are running Hudson in a tomcat instance.
Our Problem is solved. The reason was a wrong password for the artifactory server set in the artifactory plugin.
I'm reclosing this issue.. from the additional comments here I don't see anything further I can do. If anyone still sees a problem, please collect the javascript error reported by the browser and the HTML source of the page, and include these in a new issue, thanks.
Issue has reappeared in Hudson 1.380 using IE 8.
Can we get rid of the Loading overlay altogether? It adds little value and makes Hudson unusable when it malfunctions. Please get rid of it or reduce it to a small "Loading ... Please wait" message in red at the top of the page.
Javascript error message:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET CLR 1.1.4322; MS-RTC LM 8)
Timestamp: Tue, 12 Oct 2010 17:17:28 UTC
Message: Object doesn't support this property or method
Line: 1031
Char: 13
Code: 0
URI: http://auidc84.somecompany.com:8888/static/8caf2d87/scripts/hudson-behavior.js
Installed Plug-ins:
Audit Trail version 1.4
Blame Upstream Committers 1.2
Copy Artifact Plugin 1.10
Hudson CVS Plug-in 1.2
Hudson disk-usage plugin 0.11
Downstream build view 1.4
Hudson Email Extension Plugin 2.8
Green Balls 1.6
LDAP Email Plugin 0.6
Maven Integration plugin 1.380
Hudson Parameterized Trigger plugin 2.4
Hudson Support Subscription Notification Plugin 1.2
Hudson SSH Slaves plugin 0.13
Hudson Subversion Plug-in 1.17
According to IE8 Javascript error message, the error occurs in file hudson-behavior.js (attached) in function refillOnChange at line 1031 which is:
c.addEventListener("change",h,false);
An update: This issue seems related to the Copy Artifacts plugin for some reason. I removed the plugin from this job and the Javascript error went away. The Copy Artifacts plugin seems to be having some major issues in Hudson 1.380
However, in any event:
If a plugin misbehaves, the entire job should not be rendered unusable.
The loading overlay should not cover the entire screen and render the job uneditable.
So please change Hudson to be more robust. Thanks
I just had an opportunity to see this problem first hand. Here's the report of the details.
This user had a truncated YUI menu-min.js in his browser cache. Because of the way we serve JavaScript files, once this happens, the file won't be reloaded by the browser unless you do a deep refresh (SHIFT + reload icon, for example.)
menu-min.js fails to load, which in turn results in additional JavaScript problems as some of the forms try to use the menu. Presumably then hudson-behaviours.js fail to apply the rest, and the overlay remains.
It wasn't clear what caused the truncated menu-min.js file to be served in the first place. The container was Winstone, but a quick test based on wget worked, and shift+reload did fix the problem.
I think what's happening here is that every time some JavaScript problem happens in the config page, the failure mode is that 'OVERLAY' being stuck.
I wonder if it's possible to repoprt the JavaScript problem in a more explicit way so that we can better understand the root cause.
I had the same issue, and i can affirm that the bug is related to the Copy Artifact plugin.
I get the error only in IE8, and only after i added a Copy Artifact build step to a project (freestyle or maven project with m2-extra-steps).
I'm running the last 1.383 Hudson version under Tomcat 5.5 and the error still remains.
The js error is "Object doesn't support this property or method" in hudson-behavior.js line 1031 char 13 as noted above, and the SHIFT + reload doesn't help.
This was previously happening to me when I copied the CopyArtifact configuration into a job's config.xml, but is now doing it whenever I add the copy artifact step to my job configuration. I have ALMOST exactly the same error as szabobakter, except that it's line 1030 instead of 1031. I have a slightly different version, so that probably accounts for that.
Hudson v1.377
JBoss 5.1.0.GA
JDK 6
IE 8 (regular and in compatibility view).
If I view the page in Firefox 3.6.10, things appear properly. There is still a JS error on the page, but a different JS error and the Loading overlay goes away.
Let me know if I can provide you with any technical data to help resolve this issue.
happens for me also. Hudson 1.384. happens in IE, Crhome and Opera. When I scroll below "loading" overay and and sumit page I get "satus code 400:Exception: This page expects a form submission
Stacktrace:
(none)"
Here is original error from opera (most derscriptive one):
JavaScript - http://localhost:8383/job/deploy-scripts/configure
Inline script compilation
Syntax error at line 2062 while loading:
stributed under the
--------------------^
in multiline comment: unexpected end of script
JavaScript - http://localhost:8383/job/deploy-scripts/configure
Inline script compilation
Syntax error at line 12 while loading:
)&&(L==H)){K=true;}}
--------------------^
expected expression, got <end of file>
JavaScript - http://localhost:8383/job/deploy-scripts/configure
Uncaught exception: Error: YAHOO.lang.extend failed, please check that all dependencies are included.
Error thrown at line 7, column 5347 in <anonymous function: extend>(D, E, C) in http://localhost:8383/static/66ffcbeb/scripts/yui/yahoo/yahoo-min.js:
throw new Error("YAHOO.lang.extend failed, please check that "+"all dependencies are included.");
called from line 7, column 8881 in <anonymous function>() in http://localhost:8383/static/66ffcbeb/scripts/yui/menu/menu-min.js:
YAHOO.lang.extend(F,B,{CSS_CLASS_NAME:"yuimenu",ITEM_TYPE:null,GROUP_TITLE_TAG_NAME:"h6",OFF_SCREEN_POSITION:[-10000,-10000],_nHideDelayId:null,_nShowDelayId:null,_nSubmenuHideDelayId:null,_nBodyScrollId:null,_bHideDelayEventHandlersAssigned:false,_bHandledMouseOverEvent:false,_bHandledMouseOutEvent:false,_aGroupTitleElements:null,_aItemGroups:null,_aListElements:null,_nCurrentMouseX:0,_bStopMouseEventHandlers:false,_sClassName:null,lazyLoad:false,itemData:null,activeItem:null,parent:null,srcElement:null,mouseOverEvent:null,mouseOutEvent:null,mouseDownEvent:null,mouseUpEvent:null,clickEvent:null,keyPressEvent:null,keyDownEvent:null,keyUpEvent:null,itemAddedEvent:null,itemRemovedEvent:null,init:function(P,O){this._aItemGroups=[];
called from line 7, column 3394 in http://localhost:8383/static/66ffcbeb/scripts/yui/menu/menu-min.js:
(function(){YAHOO.widget.Menu=function(O,N){if(N)
YAHOO.widget.Menu.superclass.constructor.call(this,O,N);};function I(N){if(typeof N=="string"){return("dynamic,static".indexOf((N.toLowerCase()))!=-1);}}var C=YAHOO.util.Dom,M=YAHOO.util.Event,D=YAHOO.widget.Module,B=YAHOO.widget.Overlay,F=YAHOO.widget.Menu,K=YAHOO.widget.MenuManager,L=YAHOO.util.CustomEvent,E=YAHOO.lang,H=YAHOO.env.ua,G,A=
{"MOUSE_OVER":"mouseover","MOUSE_OUT":"mouseout","MOUSE_DOWN":"mousedown","MOUSE_UP":"mouseup","CLICK":"click","KEY_PRESS":"keypress","KEY_DOWN":"keydown","KEY_UP":"keyup","FOCUS":"focus","BLUR":"blur","ITEM_ADDED":"itemAdded","ITEM_REMOVED":"itemRemoved"},J={"VISIBLE":
{key:"visible",value:false,validator:E.isBoolean},"CONSTRAIN_TO_VIEWPORT":
{key:"constraintoviewport",value:true,validator:E.isBoolean,supercedes:["iframe","x","y","xy"]},"POSITION":
{key:"position",value:"dynamic",validator:I,supercedes:["visible","iframe"]},"SUBMENU_ALIGNMENT":
{key:"submenualignment",value:["tl","tr"],suppressEvent:true},"AUTO_SUBMENU_DISPLAY":
{key:"autosubmenudisplay",value:true,validator:E.isBoolean,suppressEvent:true},"SHOW_DELAY":
{key:"showdelay",value:250,validator:E.isNumber,suppressEvent:true},"HIDE_DELAY":
{key:"hidedelay",value:0,validator:E.isNumber,suppressEvent:true},"SUBMENU_HIDE_DELAY":
{key:"submenuhidedelay",value:250,validator:E.isNumber,suppressEvent:true},"CLICK_TO_HIDE":
{key:"clicktohide",value:true,validator:E.isBoolean,suppressEvent:true},"CONTAINER":
{key:"container",suppressEvent:true},"SCROLL_INCREMENT":
{key:"scrollincrement",value:1,validator:E.isNumber,supercedes:["maxheight"],suppressEvent:true},"MIN_SCROLL_HEIGHT":
{key:"minscrollheight",value:90,validator:E.isNumber,supercedes:["maxheight"],suppressEvent:true},"MAX_HEIGHT":
{key:"maxheight",value:0,validator:E.isNumber,supercedes:["iframe"],suppressEvent:true},"CLASS_NAME":
{key:"classname",value:null,validator:E.isString,suppressEvent:true},"DISABLED":{key:"disabled",value:false,validator:E.isBoolean,suppressEvent:true}};YAHOO.lang.extend(F,B,{CSS_CLASS_NAME:"yuimenu",ITEM_TYPE:null,GROUP_TITLE_TAG_NAME:"h6",OFF_SCREEN_POSITION:[-10000,-10000],_nHideDelayId:null,_nShowDelayId:null,_nSubmenuHideDelayId:null,_nBodyScrollId:null,_bHideDelayEventHandlersAssigned:false,_bHandledMouseOverEvent:false,_bHandledMouseOutEvent:false,_aGroupTitleElements:null,_aItemGroups:null,_aListElements:null,_nCurrentMouseX:0,_bStopMouseEventHandlers:false,_sClassName:null,lazyLoad:false,itemData:null,activeItem:null,parent:null,srcElement:null,mouseOverEvent:null,mouseOutEvent:null,mouseDownEvent:null,mouseUpEvent:null,clickEvent:null,keyPressEvent:null,keyDownEvent:null,keyUpEvent:null,itemAddedEvent:null,itemRemovedEvent:null,init:function(P,O)
{this._aItemGroups=[]; JavaScript - http://localhost:8383/job/deploy-scripts/configure Inline script compilation Syntax error at line 785 while loading: // can sandwitch --------^ expected '}', got <end of file>
JavaScript - http://localhost:8383/job/deploy-scripts/configure
Uncaught exception: ReferenceError: Undefined variable: crumb
Error thrown at line 1, column 0 in http://localhost:8383/job/deploy-scripts/configure:
crumb.init("", "");
JavaScript - http://localhost:8383/job/deploy-scripts/configure
Uncaught exception: ReferenceError: Undefined variable: createSearchBox
Error thrown at line 1, column 0 in http://localhost:8383/job/deploy-scripts/configure:
createSearchBox("/job/deploy-scripts/search/");
JavaScript - http://localhost:8383/job/deploy-scripts/configure
Uncaught exception: ReferenceError: Undefined variable: updateBuildHistory
Error thrown at line 1, column 0 in http://localhost:8383/job/deploy-scripts/configure:
updateBuildHistory("/job/deploy-scripts/buildHistory/ajax",3);
JavaScript - http://localhost:8383/job/deploy-scripts/configure
Uncaught exception: TypeError: 'Behaviour.list._each' is not a function
Error thrown at line 58, column 8 in <anonymous function: applySubtree>(startNode) in http://localhost:8383/static/66ffcbeb/scripts/behavior.js:
Behaviour.list._each(function(sheet) {
called from line 54, column 8 in <anonymous function: apply>() in http://localhost:8383/static/66ffcbeb/scripts/behavior.js:
this.applySubtree(document);
called from line 49, column 3 in <anonymous function: start>() in http://localhost:8383/static/66ffcbeb/scripts/behavior.js:
Behaviour.apply();
Code changed in hudson
User: : mindless
Path:
trunk/hudson/main/war/src/main/webapp/scripts/hudson-behavior.js
trunk/www/changelog.html
http://jenkins-ci.org/commit/37011
Log:
[FIXED JENKINS-6756] fix js error in IE for f:select and f:combobox
Page source with [LOADING] frame overlapping the completely loaded page.
Taken in
Jenkins ver. 1.530.
All plugins are up-to-date.
Browser:
Mozilla Firefox 23.0.1.
See
JENKINS-6542.. this means there was a javascript error during the page load, resulting in the overlay being left up. We need to determine what plugin or component created that error. Please check your browser for any reported javascript errors and post that here.. also please attach the "view source" for the page.