03-23-2010 08:52 PM
I am trying to run the SQLiteDemo on my BlackBerry (5.0) simulator (using JDE Eclipse Plugin). The project will build with no problems. When I try to run the project from the simulator, however, I receive an IllegalArgumentException on CodeSigningKey.get(int, String) at line # 308 of CodeSigningKey.class (of which the source is not found).
I am guessing that this comes from the following line of code in SQLiteDemo.java:
// Retrieve the code signing key for the XYZ key file CodeSigningKey codeSigningKey = CodeSigningKey.get(CodeModuleManager.getModuleHand
le( "SQLiteDemo" ), "XYZ");
The values of int, String at this point are:
moduleHandle = 0
signerId = XYZ
I am using the XYZ.key which was provided in the sqlitedemo.zip from BlackBerry. Does anyone know why I am receiving this error?
Solved! Go to Solution.