Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 4 trả lời
  • 1 gặp vấn đề này
  • 18 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Tất cả các câu trả lời (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