Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Verification error with final declaration

[ Edited ]

Quote from the previous forums:


manupeco

Posts: 4
Registered: Jul, 2007

Verification error with final declaration
Posted: Jul 31, 2008 5:34 AM
 
Hi,
I have a class which only contains declaration of public static final int constants (they are more or less 850).

The constants are in the following form:

public static final int <Variable_name> = 12508;

If I run the application with this class on a BB Pearl everything is ok. If I run it on a BB 8700g I get a verification error.

The solution to get the app working also on a BB 8700g has been transform all the constants to only static without final declaration:

public static int <Variable_name> = 12508;

Does anyone have idea about this problem?

Thanks
Emanuele Pecorari
My Linkedin profile: http://www.linkedin.com/in/emanuelepecorari
My Blog: http://j2mesoccer.splinder.com


 

Please see the following developers knowledge base article.

 

What Is - Control Flow Verification Information Too Large
Article Number: DB-00661

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800738/800901/What_Is...

Message Edited by MSohm on 08-19-2008 09:47 AM
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
Radres
Posts: 1
Registered: ‎08-18-2008
My Device: Not Specified

Re: Verification error with final declaration

You posted a link to the original comment, which posts a link back here.  Do you have a link to the actual knowledge base article?

Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Verification error with final declaration

Sorry about that, I have corrected the link.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
laran
Posts: 5
Registered: ‎09-15-2008
My Device: Not Specified

Re: Verification error with final declaration

I'm trying to use ksoap2 to work with a web service. A lot of the code in the ksoap2 library contains the final keyword.

 

Is the final keyword just totally not supported? I get the verification error with no good exception to tell me why or what caused it.

 

Are there any other known causes for this? 

Please use plain text.