[ 
https://issues.apache.org/jira/browse/CB-6479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-6479.
----------------------------------
    Resolution: Cannot Reproduce
      Assignee: Shazron Abdullah

Re-open if this still happens on iOS 8.

> App Crash: Requesting the window of a view with a nil layer
> -----------------------------------------------------------
>
>                 Key: CB-6479
>                 URL: https://issues.apache.org/jira/browse/CB-6479
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.3.0
>         Environment: IOS 6 and 7 on ipod, ipad and on simulator.
>            Reporter: Jake Williams
>            Assignee: Shazron Abdullah
>              Labels: crash
>
> We're getting an error sometimes while making page changes in our app.  We're 
> using an iframe to have an outer page with a navigation footer and inner 
> pages that change and have animations.  Occasionally when changing the page 
> in the iframe, if you click before the page has finished 
> transitioning/loading, it will throw an error.
> Terminating app due to uncaught exception 'NSInternalInconsistencyException', 
> reason: 'Requesting the window of a view (<UIWebOverflowContentView:...>) 
> with a nil layer.  This view probably hasn't received initWithFrame: or 
> initWithCoder:.'
>  https://groups.google.com/forum/#!topic/PhoneGap/bhU_Ug8wPr0  
> This guy seemed to have the same issue.  I've been unable to setup a delay 
> that fixes the issue and we're at the top of pages that aren't tall enough to 
> have scrolling when the error occurs.  I tried covering the page with a 
> loading div to prevent clicks, but that didn't work.  I haven't figured out a 
> good way to delay the page load or stop button clicks while we wait for 
> objective-c to catch up either.  I've also been unable to find a way to catch 
> or handle the error in objective c, mainly because I have had no luck 
> actually finding the code that's causing the issue, I assume it's in cordova 
> or a framework, but haven't been able to figure out where it is.
> I've reported the issue here 
> https://groups.google.com/forum/#!topic/phonegap/5UBdxxu7RBU but haven't 
> gotten any suggestions for fixes yet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to