Discussion:
More detail on preverification errors ?
Diego Tognola
2008-09-07 07:00:41 UTC
Permalink
Hi all,

I am trying to build Lwuit via EclipseME and am getting preverification
failures saying 'Illegal type in constant pool'.

How can I get more detail on why the preverification fails ? Any hints on what
this error message means ?

Thanks in advance,
Diego

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Craig Setera
2008-09-07 19:57:52 UTC
Permalink
I've seen this in the past if the code you are trying to preverify is
compiled by a compiler that is too new... Make sure that you are
compiling with the oldest compiler target level possible.
Post by Diego Tognola
Hi all,
I am trying to build Lwuit via EclipseME and am getting preverification
failures saying 'Illegal type in constant pool'.
How can I get more detail on why the preverification fails ? Any hints on what
this error message means ?
Thanks in advance,
Diego
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Diego Tognola
2008-09-08 02:48:16 UTC
Permalink
Bingo !!

For whatever reason, it was indeed set to 1.5, so changing down to 1.3 did it,
works like a charm now :-)

Thanks Craig,
Diego
Post by Craig Setera
I've seen this in the past if the code you are trying to preverify is
compiled by a compiler that is too new... Make sure that you are
compiling with the oldest compiler target level possible.
Post by Diego Tognola
Hi all,
I am trying to build Lwuit via EclipseME and am getting preverification
failures saying 'Illegal type in constant pool'.
How can I get more detail on why the preverification fails ? Any hints on
what this error message means ?
Thanks in advance,
Diego
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
jeroen somhorst
2008-09-08 07:07:31 UTC
Permalink
You can set it to 1.4 safely. I think its the most made error by j2me
developers to have the project compiled with 5.0 compliancy ;)
Post by Diego Tognola
Bingo !!
For whatever reason, it was indeed set to 1.5, so changing down to 1.3 did it,
works like a charm now :-)
Thanks Craig,
Diego
Post by Craig Setera
I've seen this in the past if the code you are trying to preverify is
compiled by a compiler that is too new... Make sure that you are
compiling with the oldest compiler target level possible.
Post by Diego Tognola
Hi all,
I am trying to build Lwuit via EclipseME and am getting preverification
failures saying 'Illegal type in constant pool'.
How can I get more detail on why the preverification fails ? Any hints
on
Post by Craig Setera
Post by Diego Tognola
what this error message means ?
Thanks in advance,
Diego
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
--
Yours Sincerely,

Dhr. J.Somhorst
Kraneveld 24
5941 NC VELDEN

Tel: 077 472 0350
Mob: 06 135 75 092
@ : ***@gmail.com
www: http://www.jeroensomhorst.eu/
Diego Tognola
2008-09-08 07:14:59 UTC
Permalink
Hmm..if it is that common - maybe worth an entry in the FAQs then ?

Thanks again,
Diego
Post by jeroen somhorst
You can set it to 1.4 safely. I think its the most made error by j2me
developers to have the project compiled with 5.0 compliancy ;)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Loading...