Revision as of 18:12, 17 July 2012 by Oskar Bukolt (Talk | contribs)

Nokia Maps API for Java ME cannot be used on Nokia C2-03 (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search



Nokia Maps API for Java ME cannot be used on Nokia C2-03 and the following error is thrown: "Runtime java/lang/RuntimeException Copyright not available".


A java application that uses the Nokia Maps API for Java ME to display a simple Map of the Globe throws the exception as described in the overview when it is launched and crashes. The only available option then is to Quit the application.

How to reproduce

The code below attempts to display a Map centered around Rome, Italy

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
import com.nokia.maps.map.MapCanvas;
import com.nokia.maps.common.GeoCoordinate;
import com.nokia.maps.map.MapDisplay;
public class MapDisplayMIDlet extends MIDlet {
MapCanvas mapCanvas = null;
MapDisplay mapdisplay;
GeoCoordinate geo; //the coordinates of the map's center
protected void startApp() throws MIDletStateChangeException {
Display display = Display.getDisplay(this);
mapCanvas = new MapCanvas(display);
mapdisplay = mapCanvas.getMapDisplay();
//Gets the coordinates for Rome, Italy
geo = new GeoCoordinate(41.90311, 12.49576, 0.0f);
//Sets the center of the map to the given coordinates
protected void destroyApp(boolean unconditional)
throws MIDletStateChangeException {
protected void pauseApp() {

The source code above can be downloaded from here: Media:MapDisplayMIDletSource.zip

The installation files for the source code above can be downloaded from here: Media:MapDisplayMIDletBinaries.zip

The following steps are needed in order to reproduce this error:

  1. a Nokia C2-03 should be used
  2. a proper data package connection should be active

Actual Result

The MIDlet crashes with the following Exception upon launch: "Runtime java/lang/RuntimeException Copyright not available"

Expected Result

The application should request permission to connect to the internet and eventually a Map centered around Rome, Italy should be displayed.

Affected Devices

This error affects Nokia C2-03.


No known solution is available

Article Metadata
Code ExampleTested with
Devices(s): Nokia C2-03
Platform(s): Series 40
Keywords: Nokia Maps, Java ME, Java, C2-03, Exception, error, problem, issue
Created: skalogir (24 Feb 2012)
Last edited: Oskar Bukolt (17 Jul 2012)
59 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.