08-12-2008, 07:55 AM
Join Date: Aug 2008
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | org.kxml2.wap.wml.Wml: Error!: invalid constant pool index: 0 in <clinit>
Please Login to Remove!
I have an JAD and an JAR working for an Nokia E90 Communicator (_nothing_ specially from/for E90 is used, so it runs also on other Handies..). Built with Eclipse and EclipseME.
Now I want to adapt the design for the Blackberry 8800. For that I took the JAR and JAD, copied it and tried rapc as described here:
C:\Programme\Research In Motion\BlackBerry JDE 4.5.0\bin>rapc import="..\lib\net_rim_api.jar" codename=MyName -midlet jad=MyName.jad MyName.jar
This is reading the resources, parsing the import, but ends then with:
Parsing import: ..\lib\net_rim_api.jar(net_rim_xml_org.cod)
org.kxml2.wap.wml.Wml: Error!: invalid constant pool index: 0 in <clinit>
Now I am not sure where the problem is. I think it has something to do with final constants? I googled for it, but did not found anything matching to my problem. The org.kxml2.wap.wml.Wml package is open source and indeed included, but did built without any problems under E90.
Last edited by Airport1 : 08-12-2008 at 07:58 AM.