"Bad stack Map" error in MIDP 2.0

We have a problem in MIDP application where whole thing crashes when we use "long" in a call to a thread . It crashes on load time with a "Bad stack Map" error . kindly let me know if any body have come across this kind error. regards,
[249 byte] By [cool_buddya] at [2007-11-27 8:57:50]
# 1
could you please show us the incremented code and the stack trace of the exceptionit may comes from the emulator, which one are you using?Message was edited by: supareno
suparenoa at 2007-7-12 21:22:54 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

Hi thanks for the quickly reply.

we are using S80 Emulator and below is the error log ..

Emulator command: C:\Java\Nokia\Devices\S80_DP2_0_MIDP_SDK\bin\Epoc32\release\wins\udeb\hmidp20.exe -classpath c:\tmp\midp\ProblemDemo.jar -descriptor c:\tmp\midp\ProblemDemo.jad ProblemDemo

java.lang.Error: Bad stack map - unexpected size

- java.lang.Class.forName(), bci=0

- com.symbian.midp.runtime.MIDletExecutor$MIDletConstructorThread.run(), bci=43

I replaced "long" with "int" but still the problem persits ..

any suggestions .. please ....

cool_buddya at 2007-7-12 21:22:54 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
> any suggestions .. please ....sorry, i don't have any suggestion
suparenoa at 2007-7-12 21:22:54 > top of Java-index,Java Mobility Forums,Java ME Technologies...