BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-12-2008, 06:55 AM   #1
Airport1
New Member
 
Join Date: Aug 2008
Model: 8800
PIN: N/A
Carrier: T-Mobile
Posts: 10
Default 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:

pdastreet.com/forums/showthread.php?s=&threadid=47229

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)
Resolving
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 06:58 AM..
Offline  
Old 08-13-2008, 04:07 AM   #2
Airport1
New Member
 
Join Date: Aug 2008
Model: 8800
PIN: N/A
Carrier: T-Mobile
Posts: 10
Default

could you give me any - also the smallest would be nice - advice or direction I should research to solve this problem?

furthermore: how is it possible to include the resources if building an "raw" application from *.java files with rapc ? in the rapc documentation there is nothing about it?
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X  - Made By DELL picture

DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X - Made By DELL

$39.98



OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5 picture

OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5

$12.11



Dell OEM Latitude Rugged Extreme 5414 Driving Board Cable for Cable 5414VERTCBL picture

Dell OEM Latitude Rugged Extreme 5414 Driving Board Cable for Cable 5414VERTCBL

$8.95



Dell OEM Latitude Rugged Extreme 7404 Left and Right Mouse Buttons 00008 picture

Dell OEM Latitude Rugged Extreme 7404 Left and Right Mouse Buttons 00008

$5.95



Genuine Dell OEM G Series G7 7790 CPU and Graphics Heatsink Assembly XRF05 picture

Genuine Dell OEM G Series G7 7790 CPU and Graphics Heatsink Assembly XRF05

$20.30



Genuine OEM Dell 2375 B2375dnf B2375dfw 110V Fuser fixing N41P2 sku 724-BBCI picture

Genuine OEM Dell 2375 B2375dnf B2375dfw 110V Fuser fixing N41P2 sku 724-BBCI

$94.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.