Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
heynow
Posts: 23
Registered: ‎09-23-2009
My Device: Not Specified

BrowserField in OS 5

[ Edited ]

I'm using the new BrowserField component in OS 5 and am getting crashes when reloading content.

 

For instance if I load a URL

 

 

browserField.requestContent(someURL);

Everything works fine the first time but if I call it a second time with the same URL, deep inside BrowserField it throws an IllegalStateException.


BrowserField(Manager).removeField(int, Field) line: 3287


Field to be removed is Field with focus - index: 0 - fieldDebugTree: net.rim.device.api.ui.component.NullField (0, 0)+(0, 0) *focus*\n - managerDebugTree: net.rim.device.api.browser.field2.BrowserField (0, 0)+(360, 26) [360, 26]\n    net.rim.device.api.ui.component.NullField (0, 0)+(0, 0)\n

 

 

Any ideas on why this is happening?