Archived:Calling HTTPSConnection.getSecurityInfo() method crashes the MIDlet (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
The article is believed to be still valid for the original topic scope.
The article is believed to be still valid for the original topic scope.
Article Metadata
Tested with
Devices(s): All devices
Compatibility
Platform(s): S60 2nd Edition and S60 3rd Edition
Article
Created: User:Technical writer 1
(22 Nov 2006)
Last edited: hamishwillee
(15 Jun 2012)
Contents |
Overview
The MIDlet crashes and sometimes an error message occurs when retrieving security info of https connection.
Description
There is a defect which causes a MIDlet to crash after the getSecurityInfo() method is called. Sometimes an error message is shown. Sometimes the crash happens when the getSecurityInfo() method is called and when System.gc() is called after that.
How to reproduce
If you have the following line in your code, the result will be an error message or crash of the MIDlet:
SecurityInfo info = conn.getSecurityInfo();
Solution
None.


When will this bug be fixed?
It's important for our MIDlet to be able to get security info of the connection.