Alice Community

Alice Community (
-   How Do I? (
-   -   Exceptions on use of array (

mcgski 12-09-2011 09:17 PM

Exceptions on use of array
Trying a simple OO code set where I initialize an array of penguin objects with two instances of a penguin object and iterate through the list to call a method on the object. There is a custom method called flapWings() on the penguin class.

1. When the exception occurs, it's unable to report back to the server via the various methods (thus my post here)

2. While the syntax seems to work, the exception occurs non-the-less.

If you'd like the source code, let me know. Alice3 files are not supported here.

I'm running this on a Macbook Pro with OS X 10.6.8. Plenty of memory and disk space. I set the language to Java as I wanted to see more detail but the exception occurs in either language.

All times are GMT -5. The time now is 01:51 PM.

Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.