Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6756

Loading Overlay remains visible after page loading has finished

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • core
    • None
    • Firefox 3.6.3
      Internet Explorer 8
      Hudson ver. 1.357

    Description

      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.

      Attachments

        1. config.xml
          4 kB
        2. configure.htm
          465 kB
        3. Firefox.jpg
          Firefox.jpg
          152 kB
        4. hudson-behavior.js
          69 kB
        5. InternetExplorer.jpg
          InternetExplorer.jpg
          95 kB
        6. JavaScriptError.jpg
          JavaScriptError.jpg
          144 kB
        7. JavaScriptError.jpg
          JavaScriptError.jpg
          183 kB

        Issue Links

          Activity

            szabobakter szabobakter added a comment -

            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.

            szabobakter szabobakter added a comment - 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.
            rherrick rherrick added a comment -

            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.

            rherrick rherrick added a comment - 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.
            mponomarenko mponomarenko added a comment -

            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)

            {this.parent=N.parent;this.lazyLoad=N.lazyLoad||N.lazyload;this.itemData=N.itemData||N.itemdata;}

            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();

            mponomarenko mponomarenko added a comment - 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) {this.parent=N.parent;this.lazyLoad=N.lazyLoad||N.lazyload;this.itemData=N.itemData||N.itemdata;} 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

            scm_issue_link SCM/JIRA link daemon added a comment - 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
            salmira Tetiana Tvardovska added a comment - - edited

            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.

            salmira Tetiana Tvardovska added a comment - - edited 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.

            People

              mindless Alan Harder
              mirumpf Michael Rumpf
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: