Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Questions and Comments (http://www.alice.org/community/forumdisplay.php?f=9)
-   -   Error Message (http://www.alice.org/community/showthread.php?t=8371)

acharchalis 04-17-2012 02:06 PM

Error Message
 
I have Alice on Macs in our computer lab. Several of them have been getting this error message (not all copied here - too long) and then they freeze up. What is this?

Alice version: 2.2 03/01/2012
os.name: Mac OS X
os.version: 10.5.8
os.arch: x86_64
java.vm.name: Java HotSpot(TM) 64-Bit Server VM
java.vm.version: 20.1-b02-384
user.dir: /Alice 2.2/Alice.app/Contents/Required

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.IndexedTriangleArrayProxy.render(IndexedTriangleArrayProxy.java:41)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.VisualProxy.render(VisualProxy.java:118)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.ContainerProxy.render(ContainerProxy.java:67)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.TransformableProxy.render(TransformableProxy.java:43)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.ContainerProxy.render(ContainerProxy.java:67)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.TransformableProxy.render(TransformableProxy.java:43)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.ContainerProxy.render(ContainerProxy.java:67)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.CameraProxy.performClearAndRenderOffscreen(CameraProxy.java:101)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.RenderTarget.performClearAndRenderOffscreen(RenderTarget.java:50)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.RenderContext.display(RenderContext.java:64)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
at javax.media.opengl.GLCanvas.update(GLCanvas.java:354)
at sun.awt.RepaintArea.updateComponent(RepaintArea.java:267)
at sun.awt.RepaintArea.paint(RepaintArea.java:233)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:263)
at java.awt.Component.dispatchEventImpl(Component.java:4811)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:679)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:652)
at java.awt.EventQueue$2.run(EventQueue.java:650)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.IndexedTriangleArrayProxy.render(IndexedTriangleArrayProxy.java:41)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.VisualProxy.render(VisualProxy.java:118)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrender

aikmin 04-18-2012 06:06 AM

64 bit problem
 
The libraries are for 32 bit OS and will not work on 64 bit OS without some extra settings. You will need to make your Alice run as a 32 bit app.

See link [url]http://www.simplehelp.net/2009/09/15/how-to-run-os-x-programs-in-32-bit-mode/[/url]


All times are GMT -5. The time now is 08:12 PM.

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