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

Missing stack map at label

by BlackBerry Development Advisor on ‎02-17-2010 01:34 PM - edited on ‎03-18-2011 04:09 PM by BlackBerry Development Advisor (4,018 Views)

Summary

 

This article applies to the BlackBerry® Java® Plug-in for Eclipse® and BlackBerry® Java® Development Enviroment (JDE)

 

 


Problem

 

When you compile an application from a command prompt using the rapc.exe file without providing a JAR file, the following error appears:

 

<package_path>: Error!: Missing stack map at label: 8

This occurs with the rapc.exe file included with the BlackBerry Java SDK and BlackBerry JDE 4.0+.

 

Cause

 

The JAR file has not been preverified before being used with the BlackBerry rapc compilier.

 

Resolution

 

Before using the RAPC compiler, run the preverify tool against the application JAR file. The preverify.exe file is located in the following directory:

BlackBerry Java Plug-in For Eclipse
.\Eclipse\plugins\net.rim.ejde.componentpack#.#.#_#.#.#.#\components\bin

 

BlackBerry JDE

 

.\installation_directory\bin\

Users Online
Currently online: 4 members 770 guests
Please welcome our newest community members: