搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 4 个回答
  • 1 人有此问题
  • 18 次查看
  • 最后回复者为 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.

所有回复 (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