Shop OBEX P1 Docs P2 Docs Learn Events
Unknown Unhandeled Exception — Parallax Forums

Unknown Unhandeled Exception

abracadabraabracadabra Posts: 1
edited 2005-09-13 14:21 in General Discussion
I have interfaced the javalin stamp with a vector compass and whenever I run the code for a few seconds...I get unknown unhandled exception...

Can someone please help

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2004-09-02 05:27
    Please give the full error text for this error.

    regards peter
  • eshieheshieh Posts: 5
    edited 2004-09-02 17:14
    [noparse][[/noparse] Error IDE-0042] Unknown unhandled exception in JVM (924).
    [noparse][[/noparse] Error IDE-0015] Stack trace is corrupt.
    [noparse][[/noparse] Error IDE-0024] Unknown bytecode in the JEM file (dup_x2).
    Thanks!
    If you need my code, let me know and i will gladly post it.
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2004-09-02 18:46
    Yes, post that code. Some unhandled exceptions appear to

    origin from a static definition but without code I can't tell.

    Also, stack trace error: do you use recursive programming (although

    that should lead to Out of memory if the recursion never stops).

    Can you trace the origin of the error by commenting out the most

    recent additions to your code?

    trgards peter
  • mikeljmikelj Posts: 1
    edited 2005-07-12 08:42
    So was there any outcome to the above?

    I have been tinkering away for the last week prototyping and now am getting similar messages with these two lines...
    System.out.print("Extracted var1=");
    System.out.println(var1.toString());

    where var1 is "static StringBuffer var1 = new StringBuffer(80);"

    Messages are...
    IDE-0028 Unhandled exception in JVM
    IDE-0015 Stack trace is corrupt
    IDE-0024 Unknown bytecode in JEM dups_x2

    No recursion, 18000 bytes free, nothing reaching their limits.

    Since they are debug statements, I have removed them and the problem has gone away.
  • Scott MScott M Posts: 43
    edited 2005-07-28 13:53
    I used to get all sorts of spurious problems, when I tried to run two Javelins on a single, small power supply. I upgraded to a switching power supply providing over an amp, and all the problems stopped. I recommend supplying more current and seeing if life gets better.
  • JavalinJavalin Posts: 892
    edited 2005-09-13 14:21
    Also worth checking that anything connected to the IO pins is not drawing tooo much current. Can cause odd issues!!
Sign In or Register to comment.