Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      N/A

      Description

      Following javascript errors are seen on webmc. It seems to happen when user first logs on or changes tabs or when user logs out.

      frame.document.getElementsByTagName("form")[0] has no properties
      [Break on this error] [Ice.Script=new Object,Ice.Ajax.Client].as(function(This,Client){This.Loader=Obj...

      Also on logout following message is seen on server :

      SEVERE: Failed to close the presentation document because of : null
      Jun 5, 2008 2:26:49 PM com.icesoft.faces.presenter.presentation.Presentation end
      Presentation

        Activity

        Hide
        Brad Kroeger added a comment -

        Revision #16830

        Fixed the second part of this issue - SEVERE: Failed to close the presentation document because of : null
        Jun 5, 2008 2:26:49 PM com.icesoft.faces.presenter.presentation.Presentation end
        Presentation

        This was due to the source files not being deleted because the file naming convention had been changed. I re-factored this portion of the application and now all zip files and files extracted from zips are deleted when the presentation concludes.

        Show
        Brad Kroeger added a comment - Revision #16830 Fixed the second part of this issue - SEVERE: Failed to close the presentation document because of : null Jun 5, 2008 2:26:49 PM com.icesoft.faces.presenter.presentation.Presentation end Presentation This was due to the source files not being deleted because the file naming convention had been changed. I re-factored this portion of the application and now all zip files and files extracted from zips are deleted when the presentation concludes.
        Hide
        Brad Kroeger added a comment -

        I tried to reproduce the javascript error and did not get any errors in FF or IE. I got an Information message from the console:

        IE:
        [window] : Cannot set focus, no element for id [mainForm:logoutYesBtn]

        FF:
        Cannot set focus, no element for id [mainForm:logoutYesBtn] cannot find element with id: 'mainForm:logoutYesBtn'

        This is with:
        Tomcat 6.0.14
        ICEfaces 1.7.0 built 17 revision 16426

        Show
        Brad Kroeger added a comment - I tried to reproduce the javascript error and did not get any errors in FF or IE. I got an Information message from the console: IE: [window] : Cannot set focus, no element for id [mainForm:logoutYesBtn] FF: Cannot set focus, no element for id [mainForm:logoutYesBtn] cannot find element with id: 'mainForm:logoutYesBtn' This is with: Tomcat 6.0.14 ICEfaces 1.7.0 built 17 revision 16426
        Hide
        Brad Kroeger added a comment -

        I removed the current ice:forms and enclosed everything in one form, I still got the following informational message:

        [window] : Cannot set focus, no element for id [rootForm:logoutYesBtn]cannot find element with id: 'rootForm:logoutYesBtn'

        The application appears to be looking for an element from the previous facelet.

        This is not an error and the application is working fine.

        Show
        Brad Kroeger added a comment - I removed the current ice:forms and enclosed everything in one form, I still got the following informational message: [window] : Cannot set focus, no element for id [rootForm:logoutYesBtn] cannot find element with id: 'rootForm:logoutYesBtn' The application appears to be looking for an element from the previous facelet. This is not an error and the application is working fine.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mandeep Hayher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: