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
Developer
pradeep_ch
Posts: 543
Registered: ‎12-23-2010
My Device: Z10
My Carrier: Airtel
Accepted Solution

Map Exception in 9930(OS 7.0) simulator?

Hi Everybody,

 

I am getting the following exception in 9930(OS 7.0.0.574) Simulator , when I try to invoke maps.

 

ServerExchangeThread:ConnectionFactory.getConnection( http://maps.blackberry.com/map2/ ) returned null
ServerExchangeThread:Network connection error: NULL ConnectionDescriptor
:err dict dl, MapException()
No stack trace

 

Is there any changes I need to do in Maps for OS 7.0.?

 

Thanks in Advance.

 

 

Please use plain text.
Developer
rabiray
Posts: 141
Registered: ‎07-13-2011
My Device: BB Bold
My Carrier: Vodafone

Re: Map Exception in 9930(OS 7.0) simulator?

Hi Pradeep,

 

Can you check the configuration for HTTP HANDLER in rimpublic.property under MDS folder.

 

Hope this helps.

 

Cheers

Rabi

Please use plain text.
Developer
pradeep_ch
Posts: 543
Registered: ‎12-23-2010
My Device: Z10
My Carrier: Airtel

Re: Map Exception in 9930(OS 7.0) simulator?

Yes,

 

What i need to check here.

 

application.handler.http.logging = true
application.handler.http.CookieSupport = true
application.handler.http.AuthenticationSupport = true
application.handler.http.AuthenticationTimeout = 3600000
application.handler.http.device.connection.timeout = 140000
application.handler.http.server.connection.timeout = 150000
application.handler.http.device.credentialTimeout = 60000
application.handler.http.authentication.mechName2oid = Negotiate=number, NTLM=number, Basic=number

 

Thanks.

Please use plain text.
Developer
rabiray
Posts: 141
Registered: ‎07-13-2011
My Device: BB Bold
My Carrier: Vodafone

Re: Map Exception in 9930(OS 7.0) simulator?

Hi Pradeep,

 

As we use proxy settings in our office to connect to internet, we need to set these settings in to rimproperty file.

Here is a sample for your reference.

 

application.handler.http.proxyEnabled = true
application.handler.http.proxyHost=<type your proxy host>
application.handler.http.proxyPort=<port>
application.handler.http.proxyUser=<proxy user> --- This is my nextwork login
application.handler.http.proxyPass = <proxy password> and network password

 

Thanks

Rabi

Please use plain text.
Developer
pradeep_ch
Posts: 543
Registered: ‎12-23-2010
My Device: Z10
My Carrier: Airtel

Re: Map Exception in 9930(OS 7.0) simulator?

Hi Rabi,

 

It is running fine in 6.0 and 5.0 OS simulators like 9800,9700.

Then wat is the problem with OS 7.0.

 

Do you have any idea?.

 

Thanks.

 

 

Please use plain text.
Developer
rabiray
Posts: 141
Registered: ‎07-13-2011
My Device: BB Bold
My Carrier: Vodafone

Re: Map Exception in 9930(OS 7.0) simulator?

Hi 

I hope you have compared the properties file of all the 3 component packs.(5.0/6.0/7.0)

 

The maps in simulator is a nightmare....I always use the real device to test the map application.

 

Thanks

Rabi

Please use plain text.
Developer
pradeep_ch
Posts: 543
Registered: ‎12-23-2010
My Device: Z10
My Carrier: Airtel

Re: Map Exception in 9930(OS 7.0) simulator?

I just turn of the radio and reset.

Now maps working fine.

 

Thanks.

Please use plain text.