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
New Developer
Posts: 5
Registered: ‎01-25-2009
My Device: Not Specified

Missing stack map?

I am trying to add a small jar file to my project. It only uses classes that are included in the BB's Java ME runtime. I am getting com.caucho.hessian.micro.MicroHessianInput: Error!: Missing stack map at label: 36. If I delete the class, it complains about the next class with a different label.

 

What is the stack map? What is wrong with this jar file?

Thanks for any help... 

Developer
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: Missing stack map?

Generally anything related to bytecode problems can be examined on sun.com and this

seems to give you some ideas,

 

http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS312&q=%22stack+map%22+site%3Asun.com&aq...

 

It looks like it came up a few times in the context of RIM.

 

You may want to get some class inspector or other utilities like jad to see what you have in your

other jar files.

[ wtf- wouldn't post and now formatting all MS-ed up? ]

Highlighted
New Developer
Posts: 5
Registered: ‎01-25-2009
My Device: Not Specified

Re: Missing stack map?

Thanks for the suggestion. As it turns out, running preverify on the jar file seemed to resolve the missing stack map error.