glassfish
  1. glassfish
  2. GLASSFISH-16575

Object doesn't support this property or method at ... resource/common/js/adminjsf.js line 2091

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: admin_gui
    • Labels:
      None

      Description

      Though it seems consistent on some machines, it seems like a timing issue. Line 2091 is

      adminggui.ajax.pingHeader()

      inside the admingui.ajax.get function

      It seems that it's possible for this line of code to be executed prior to the loading of the definition of pingHeader (which is defined at the end of the object's declarations)

        Activity

        Hide
        Jason Lee added a comment -

        I'm not sure the no-op code would achieve much, because, as I understand things, Javascript is single threaded. When the browser finds a script tag, it loads (either from the page or the specified remote resource) the Javascript source and processes it before moving on to the next element on the page. I've done some searching for a definitive answer on that and haven't found anything to contradict it. If I'm wrong, and you know of a definitive refutation, I'd certainly love to see it.

        Show
        Jason Lee added a comment - I'm not sure the no-op code would achieve much, because, as I understand things, Javascript is single threaded. When the browser finds a script tag, it loads (either from the page or the specified remote resource) the Javascript source and processes it before moving on to the next element on the page. I've done some searching for a definitive answer on that and haven't found anything to contradict it. If I'm wrong, and you know of a definitive refutation, I'd certainly love to see it.
        Hide
        brimimc added a comment -

        No, it does seem limited to the embedded active X component.

        In fact we may have found the problem outside of glassfish. I'll verify this and get back to you.

        Show
        brimimc added a comment - No, it does seem limited to the embedded active X component. In fact we may have found the problem outside of glassfish. I'll verify this and get back to you.
        Hide
        Anissa Lam added a comment -

        any update ?
        We will close this issue on Friday, 6/17, if we don't hear anything. thanks.

        Show
        Anissa Lam added a comment - any update ? We will close this issue on Friday, 6/17, if we don't hear anything. thanks.
        Hide
        brimimc added a comment -

        Yes, go ahead and close it. It was due to xmlhttprequest being hijacked and not a problem in glassfish. Sorry for the bogus case.

        Show
        brimimc added a comment - Yes, go ahead and close it. It was due to xmlhttprequest being hijacked and not a problem in glassfish. Sorry for the bogus case.
        Hide
        Jason Lee added a comment -

        Closed per reporter's request.

        Show
        Jason Lee added a comment - Closed per reporter's request.

          People

          • Assignee:
            Jason Lee
            Reporter:
            brimimc
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: