Java Exceptions

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: roger, imaqine, 99jonathan

privat@michaelbentsen.com
New User
Posts: 1
Joined: Thu Aug 30, 2007 11:02 pm
Location: Oslo, Norway
Contact:

Java Exceptions

Postby privat@michaelbentsen.com » Fri Aug 31, 2007 12:12 am

Hello!

I finally got everything up and running and are trying to compile and run a simple java program which uses the Stack class (it's actually a small program that solves the tower of hanoi problem).

At first the program just crashed with a Java Exception message. After removing almost all of the code, only the LCD.drawString calls left in addition to the class and methods the program finally runs..

Is there any docs on the possible Java Exceptions?

I got this:

Java Exception:
Class: 11
Method: 77

I would believe the problem might be with type casting, but I'm not sure..

99jonathan
Moderator
Posts: 122
Joined: Thu Mar 01, 2007 5:30 am

Postby 99jonathan » Fri Aug 31, 2007 3:38 am

to better isolate the problem, try only deleting certain sections of the code. If the problem is still there, remove another section. Finally, the exception will stop and you will find ur problem. Work in small chunks.

roger
Moderator
Posts: 369
Joined: Fri Jun 01, 2007 4:31 am
Location: Berkeley, CA

Postby roger » Fri Aug 31, 2007 4:21 am

You can also look at the answer (just posted) in FAQ


Return to “NXJ Software”

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests