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
Highlighted
Developer
Posts: 34
Registered: ‎08-11-2011
My Device: BlackBerry Bold
My Carrier: Axis
Accepted Solution

BrowserField IllegalStateException when Invoking RequestContent Method

Hi everyone.

 

I'm getting an IllegalStateException when trying to display another HTML page on my BrowserField. This happens when the BrowserField manager is calling the removeField() method.

 

The log says: 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)+(480, 70) [480, 70]\n    net.rim.device.api.ui.component.NullField (0, 0)+(0, 0)\n

 

Has anyone experienced this kind of problem before?

 

Thanks before.

Developer
Posts: 34
Registered: ‎08-11-2011
My Device: BlackBerry Bold
My Carrier: Axis

Re: BrowserField IllegalStateException when Invoking RequestContent Method

Never mind. I've found the solution to this problem after doing some more searching on this forum.

Here's the link to the post with the solution: http://supportforums.blackberry.com/t5/Java-Development/BrowserField-refresh-throwing-IllegalStateEx...