Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:Calling HTTPSConnection.getSecurityInfo() method crashes the MIDlet (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: 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.

Article Metadata
Tested with
Devices(s): All devices
Created: User:Technical writer 1 (22 Nov 2006)
Last edited: hamishwillee (14 Aug 2013)



The MIDlet crashes and sometimes an error message occurs when retrieving security info of https connection.


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();



This page was last modified on 14 August 2013, at 06:19.
80 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.