[
https://issues.apache.org/jira/browse/OFBIZ-4911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471314#comment-13471314
]
Andreas Allacher commented on OFBIZ-4911:
-----------------------------------------
I was using Ubuntu 12.04 (64Bit) with Firefox 15.0.1 when I ran into this
problem.
As said I wasn't able to reproduce it the next day but maybe I will be again
tomorrow (don't have access to the system currently).
In any case: I don't see why it is a problem to not only check window.opener
but also for window.opener.lookups - it actually makes quite a lot of sense
after all that is the property that script is going to access.
> very trivial update to fieldlookup.js in case of "null object" failure for
> wierd unknonw reason
> -----------------------------------------------------------------------------------------------
>
> Key: OFBIZ-4911
> URL: https://issues.apache.org/jira/browse/OFBIZ-4911
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Leon
> Assignee: Jacques Le Roux
> Priority: Trivial
> Fix For: SVN trunk
>
> Attachments: OFBIZ-4911.patch
>
>
> I cannot find the root cause and it's hard to reproduce, but it does happen
> sometimes. The web browser reports "null object" exception when it tries to
> evaluate following codes in fieldlookup.js:
> {quote}
> var obj_caller = (window.opener? window.opener.lookups[num_id]: null);
> {quote}
> window.opener is there but window.opener.lookups is null.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira