<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
In Alice 2, you can right-click on the “When the world starts” event and change it to “While the world is running.” I’m not sure why this feature is useful, but it doesn’t seem to work completely. If you put something in the “End” portion of this event, when
you Play the animation and then Stop it (or close the window), you get the Queen reporting a NullPointerException. (See attached screenshot.)
<div class=""><br class="">
</div>
<div class="">I’m not sure what the correct behavior should be. I would like it to do the thing I said in the event before the window closes, but then arbitrary user code could generate an infinite loop and make the window impossible to close. Maybe hitting
Stop during the End event could stop it for good, so you have to hit Stop at most twice to close the window.</div>
<div class=""><br class="">
</div>
<div class="">Or maybe just remove the End option in the event, so we don’t see the error.</div>
<div class=""><br class="">
</div>
<div class="">James<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
—<br class="">
James Vanderhyde<br class="">
Assistant Professor, Computer Science<br class="">
Program Director, Master of Applied Computer Science<br class="">
Saint Xavier University<br class="">
3700 W. 103rd St.<br class="">
Chicago, IL 60655<br class="">
773-298-3454</div>
</div>
<img apple-inline="yes" id="A3FD0ABB-C0DE-4419-9D3D-9CCFAF584EC5" width="640" height="480" src="cid:6F5B8DDC-40B3-47FB-A749-0C811FAAE39F@SXU.local" class=""><img apple-inline="yes" id="207EA91E-0691-41C2-83B2-752313C3CEED" width="243" height="79" src="cid:4E56EC2F-EAFC-44C6-8908-B5976C3142CE@SXU.local" class=""></div>
</body>
</html>