无法获取未定义或空引用的属性“重定向” [英] Unable to get property 'redirect' of undefined or null reference

查看:195
本文介绍了无法获取未定义或空引用的属性“重定向”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述









我开发了oracle opex的报告,它可以在UAT(所有浏览器)中正​​常工作,但是一旦在Prod中部署,它就会显示错误为  " Unable
获取未定义或空引用的属性'重定向'"
  在  IE11浏览器 (适用于所有
其他浏览器)



请帮我解决问题。



单击任何Oracle顶点 "按钮时的客户端,它不会重定向,而是在控制台中显示此类错误。 


< p style ="border:none;字体重量:继承;字体风格:继承; font-family:'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;边距:0像素;概要:0像素;填充右:0像素; font-size:14px">





谢谢和问候, 



Bharath

解决方案


IE中的文件>属性菜单将告诉您主机映射到哪个IE安全区域。默认情况下,localhost映射到Internet区域...您可能已使用localhost为Intranet站点开发,该localhost与您的生产环境不同。 。
还确保您使用相同(默认)安全区域设置(Internet选项>安全选项卡,单击"将所有区域重置为默认值")配置您的浏览器。


要调试脚本错误,请在f12>调试选项卡中,从下拉列表中选择"中断所有例外"(看起来像停止标志)。将开发工具加密并返回到您的网页并继续测试....发生脚本错误,执行将
NOW中断并将错误消息写入开发工具的控制台选项卡....双击开发工具的控制台选项卡中的错误消息,跳转到您的行中C ode检查局部变量。


问候。


此论坛适用于有关构建Internet Explorer的活动,WebSlices和附加组件的讨论。 / p>


Hi,

I developed reports uing oracle apex which works fine in UAT(All Browsers) but once deployed in Prod it shows the error as "Unable to get property 'redirect' of undefined or null reference"  in IE11 browser only(Works fine with all other browsers)

Please help me out solving the issue.

Clients when clicked on any of the Oracle apex  "buttons" it is not redirecting instead it is showing such error in console. 

Thanks and Regards, 

Bharath

解决方案

Hi,

the File>Properties menu in IE will tell you which IE security zone a host maps to. By default localhost maps to the Internet zone... you have probably developed for an Intranet site using a localhost, which differs from your production environment... also ensure that you have configured your browsers with the same(default) security zone settings (Internet Options>Security tab, click "Reset all zones to default").

To debug scripting errors, f12>Debug tab, select "Break on all exceptions" from the dropdown (looks like a Stop sign). PIN the dev tool and return to your web page and continue your testing.... when any scripting error occurs, execution will NOW break and an error message will be written to the Console tab of the dev tool.... double click error messages in the Console tab of the dev tool to jump to the line in your code to inspect the local variables.

Regards.

This forum is for Discussions about building Activities, WebSlices and add-ons for Internet Explorer.


这篇关于无法获取未定义或空引用的属性“重定向”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆