Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

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

  • 4 Antworten
  • 1 hat dieses Problem
  • 18 Aufrufe
  • Letzte Antwort von 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.

Alle Antworten (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