Skip to main content

While compiling midp got such error. How to fix it?

1 reply [Last post]
geelpheels
Offline
Joined: 2006-05-05
Points: 0

If romizer fails, increase your heap size.
E.g., =HeapCapacity80M

Starting free heap = 78573 KB
Loading classes...Done! in 0.546 seconds
... reading system property: microedition.encoding
No such method: #com/sun/midp/security/Permissions.#getId#\x80\x81I\x80\x8a "(Lj
ava/lang/String;)I"
(used in #com/sun/midp/installer/AccessControl)
Dump of constant pool
ConstantPool = (
klass Near
length 56
tags Byte Array [56]
[0] 0 // Invalid
[1] 7995720 // ResolvedStaticMethod
[2] 262502 // Resolved FieldRef: com/sun
/midp/installer/AccessControl.suite (offset=4)
[3] String "com.sun.j2me.trustedApp" // String
[4] 7553772 // ResolvedStaticMethod
[5] 11010061 // Resolved InterfaceMethodRe
f: com/sun/midp/midlet/MIDletSuite.isTrusted
[6] 47 // Class
[7] String "suite not trusted" // String
[8] 7604056 // ResolvedStaticMethod
[9] 2228257 // (Unresolved) Methodref: co
m/sun/midp/security/Permissions.getId:(Ljava/lang/String;)I
[10] 2293788 // (Unresolved) InterfaceMeth
odref: com/sun/midp/midlet/MIDletSuite.checkIfPermissionAllowed:(I)V
[11] 2359324 // (Unresolved) InterfaceMeth
odref: com/sun/midp/midlet/MIDletSuite.checkForPermission:(ILjava/lang/String;Lj
ava/lang/String;)V
[12] 358 // Class
[13] 91 // Class
[14] #suite // Utf8
[15] #\x81\xa8 "Lcom/sun/midp/midlet/MIDletSuite;"
// Utf8
[16] # // Utf8
[17] #\x80\x81V\x81\xa8 "(Lcom/sun/midp/midlet/MIDletSuite;)V"
// Utf8
[18] #Code // Utf8
[19] #checkPermissionImpl // Utf8
[20] #\x80\x83V\x80\x8a\x80\x8a\x80\x8a "(Ljava/lang/String;Ljava/lang/String;
Ljava/lang/String;)V"
// Utf8
[21] #Exceptions // Utf8
[22] #java/lang/InterruptedException // UnresolvedClass
[23] 2621456 // NameAndType
[24] 983054 // NameAndType
[25] -559038737 // Invalid
[26] 10 // Class
[27] 2818090 // NameAndType
[28] 168 // Class
[29] 3014701 // NameAndType
[30] #java/lang/SecurityException // Utf8
[31] -559038737 // Invalid
[32] 3080208 // NameAndType
[33] 579 // Class
[34] 3276849 // NameAndType
[35] 3407923 // NameAndType
[36] 3538997 // NameAndType
[37] #com/sun/midp/installer/AccessControl // Utf8
[38] #com/sun/j2me/security/AccessControlContextAdapter
// Utf8
[39] #java/lang/InterruptedException // Utf8
[40] #\x80\x80V "()V" // Utf8
[41] #java/lang/String // Utf8
[42] #equals // Utf8
[43] #\x80\x81Z\x80\x80 "(Ljava/lang/Object;)Z" // Utf8
[44] #com/sun/midp/midlet/MIDletSuite // Utf8
[45] #isTrusted // Utf8
[46] #\x80\x80Z "()Z" // Utf8
[47] #\x80\x81V\x80\x8a "(Ljava/lang/String;)V" // Utf8
[48] #com/sun/midp/security/Permissions // Utf8
[49] #getId // Utf8
[50] #\x80\x81I\x80\x8a "(Ljava/lang/String;)I" // Utf8
[51] #checkIfPermissionAllowed // Utf8
[52] #\x80\x81VI "(I)V" // Utf8
[53] #checkForPermission // Utf8
[54] #\x80\x83VI\x80\x8a\x80\x8a "(ILjava/lang/String;Ljava/lang/String;)V"
// Utf8
[55] #StackMap // Utf8
)
TraceExceptions: #java/lang/Error msg: String "java.lang.NoSuchMethodError"
ROMizing failed with Exception:
java.lang.Error: java.lang.NoSuchMethodError
(stack trace incomplete)

Uncaught exception: java.lang.Error: java.lang.NoSuchMethodError
- com.sun.cldchi.jvm.JVM.createSysImage(), bci=0
- com.sun.cldchi.jvm.JVM.createSysImage(), bci=0
- com.sun.cldchi.jvm.JVM.createSysImage(), bci=0
- com.sun.cldchi.jvm.JVM.createSysImage(), bci=0
- com.sun.cldchi.jvm.JVM.createSysImage(), bci=0
- com.sun.cldchi.jvm.JVM.createSysImage(), bci=0
- com.sun.cldchi.jvm.JVM.createSysImage(), bci=0
- com.sun.cldchi.jvm.JVM.createSysImage(), bci=0
... D:/phoneme_feature_mr3/phoneme_feature_wince_arm_evc/build_output/midp/obj/
arm/midp_constants_data.o

Thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
geelpheels
Offline
Joined: 2006-05-05
Points: 0

Sorry, this error should not occur.