BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-18-2010, 06:50 AM   #1 (permalink)
New Member
 
Join Date: Dec 2008
Model: 8130
PIN: N/A
Carrier: vodafone
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default BrowserContent is null (The rendering application must be not-null).

Please Login to Remove!

Hi



I developed the application with JDE 4.3 and run the application on 4.3/4.7 and 6.0 version simulators.



In the application i have the browser content for rendering the html content. I used the following code in my application.



connection = {get the connection - sepearate code}

String url = null;

RenderingSession rs = RenderingSession.getNewInstance();

BrowserContent bc = null;

try
{
bc = renderingSession.getBrowserContent(connection, url, null, 0);

Field f= browserContent.getDisplayableContent();

if (f!= null)
{
browserContentManager.add(f);
}
bc.finishLoading();
}
catch (RenderingException e)
{
System.out.println(e);
}





The above code is working fine on both 4.3 and 4.7 version simulators and devices. And i tested the application with blackberry JDE 6.0 version and i got an exception. The html content is not displaying on both simulator/device. I debuging the application from that i am getting null in bc (bc = renderingSession.getBrowserContent(connection, url, null, 0) . I have the connection but the browser content returns null, and the exception is net.rim.device.api.browser.field.RenderingExceptio n (The rendering application must be not-null).





But the same application was worked on jde 4.3 and 4.7 versions simualtor/devices.



Anybody know why it is not working in jde 6.0 and how to make it work in v6.0.



Thanks

mindus
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

2x Desoldering Vacuum Pump "Solder Sucker" Solder Removal Tool
$6.99
2x Desoldering Vacuum Pump 1Pcs IC SMD Vacuum Sucking Pen Easy Pick Picker Up Hand Tool
$1.91
1Pcs IC SMD Vacuum Sucking Pen Easy Pick Picker Up Hand Tool pictureAirtech WL6400 Wrightlon 0.002"x60"x1000LF Nylon Vacuum Bagging Film Roll
$499.99
Airtech WL6400 Wrightlon 0.002Becker KVT 3.80 Oil Less Vacuum Pump 1420/1710 Speed 1.65/2.2kW 67/79 Inlet Cap
$3200.0
Becker KVT 3.80 Oil Less Vacuum Pump 1420/1710 Speed 1.65/2.2kW 67/79 Inlet Cap  pictureLeybold Turbovac TW 700L-TDL 800051V0001 59V 48000 RPM Turbo-Molecular Pump
$2500.0
Leybold Turbovac TW 700L-TDL 800051V0001 59V 48000 RPM Turbo-Molecular Pump  picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.