Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

I have an application with multiple pane loading in parallel. I am intermittently getting this error message: init: $(...)[0] is undefined

  • 4 odpowiedzi
  • 1 osoba ma ten problem
  • 18 wyświetleń
  • Ostatnia odpowiedź od djmontag

more options

I am loading a an application web site that has loads multiple panes of related information and one pane of the other will not load and this error message appears: init: $(...)[0] is undefined. Then one of the panes will not display the information as desired. I click the refresh button, and sometimes this clears the issue and both panes display correctly. If I repeatedly click on the refresh page, the error will appear again and one side will not display again. Then I click again it may or may not clear the issue an both panes may appear as expected. The issue is about 50 - 50, display good no errors and 50% of the time on a refresh action the error will appear and one pane will not display.

I am loading a an application web site that has loads multiple panes of related information and one pane of the other will not load and this error message appears: init: $(...)[0] is undefined. Then one of the panes will not display the information as desired. I click the refresh button, and sometimes this clears the issue and both panes display correctly. If I repeatedly click on the refresh page, the error will appear again and one side will not display again. Then I click again it may or may not clear the issue an both panes may appear as expected. The issue is about 50 - 50, display good no errors and 50% of the time on a refresh action the error will appear and one pane will not display.

Wszystkie odpowiedzi (4)

more options

When you say an application website, do you mean an application on a local server or your own machine?

multiple panes sounds like it may be using iFrames, the error is a 'promise' that is not being fulfilled, in modern web programming we can use variables before we have actually declared them, i.e. a 'promise' to the webpage that we will declare them later on, but if this doesnt happen for some reason, then the 'promised variable' is 'never defined' and so we have an error.

the fact it happens intermittently could be for a myriad of reasons, if its a remote website it could be dropped information causing it.

without using the browser console or digging into the code its hard to tell, more information please!

more options

This is a web application running on a networked Linux server. It is a Java based running as a TomEE Java virtual machine using an Apache platform for hosting ssl config. Let me know if this helps or if you would like more information.

more options

I wonder if this has anything to do with it?

https://java.com/en/download/faq/firefox_java.xml

more options

Thank you for the follow up. If the issue was related to Mozilla discontinued Suppot for NPAPI I would expect to see this same experience with Chome and Edge. Although we are not seeing the same issue with these browsers.

Thsnks