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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
alfonsn
Posts: 31
Registered: ‎08-11-2011
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.

Please use plain text.
Contributor
alfonsn
Posts: 31
Registered: ‎08-11-2011
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...
Please use plain text.