dang
03-23-2007, 07:26 PM
I'm trying to allow our students to post their Alice projects on their web pages using "File -> Export As A Web Page..." and am having zero luck with it actually working on the client side. I've tried roughly all combinations I can manage in our computer lab and I get either:
a) a black area where the applet should be showing or
b) the "downloading..." / "extracting..." progress bars march across the screen... and never go away (exception from console below...)
c) the browser crashes while attempting to run the applet
I've tried combinations of the following on our lab machines which are running Windows XP Professional Service Pack 2, all getting either a) or b) or c) above when trying to view any/all of the sample alice worlds exported as a web page:
- Java SE 5, Java SE 6
- Java3D 1.3.1 for DirectX, Java3D 1.3.1 for GL, Java3D 1.5.0
- Java Media Framework 2.1.1e
- Firefox 1.5, Firefox 2.0, IE 6, IE 7, Sea Monkey 1.0, Sea Monkey 1.1
I like the idea of having the students being able to put their projects on thei r web pages for other to see, but I'll need some coaching on what works and what doesn't work using the above software and versions without getting a), b) or c) behavior.
When option b) happens, the Java console shows something like this....
"Exception in thread "Thread-6" javax.media.j3d.BadTransformException: non-congruent transform above ViewPlatform
at javax.media.j3d.TransformGroupRetained.setLive(Tra nsformGroupRetained.java:607)
at javax.media.j3d.GroupRetained.childDoSetLive(Group Retained.java:2153)
at javax.media.j3d.GroupRetained.doSetLive(GroupRetai ned.java:2208)
at javax.media.j3d.BranchGroupRetained.setLive(Branch GroupRetained.java:168)
at javax.media.j3d.GroupRetained.childCheckSetLive(Gr oupRetained.java:2160)
at javax.media.j3d.GroupRetained.checkSetLive(GroupRe tained.java:1542)
at javax.media.j3d.GroupRetained.checkSetLive(GroupRe tained.java:1465)
at javax.media.j3d.GroupRetained.doAddChild(GroupReta ined.java:494)
at javax.media.j3d.GroupRetained.addChild(GroupRetain ed.java:467)
at javax.media.j3d.Group.addChild(Group.java:271)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.java3d renderer.ContainerProxy.onChildAdded(ContainerProx y.java:38)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.java3d renderer.ContainerProxy.initialize(ContainerProxy. java:52)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.Abstra ctProxyRenderer.getProxyFor(AbstractProxyRenderer. java:56)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.Abstra ctProxyRenderer.createNecessaryProxies(AbstractPro xyRenderer.java:88)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.Abstra ctProxyRenderTarget.addCamera(AbstractProxyRenderT arget.java:39)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.java3d renderer.OnscreenRenderTarget.addCamera(OnscreenRe nderTarget.java:92)
at edu.cmu.cs.stage3.alice.core.RenderTarget.commit(R enderTarget.java:96)
at edu.cmu.cs.stage3.alice.core.World.setRenderTarget Factory(World.java:353)
at edu.cmu.cs.stage3.alice.player.AbstractPlayer.load World(AbstractPlayer.java:61)
at edu.cmu.cs.stage3.alice.player.AbstractPlayer.load World(AbstractPlayer.java:83)
at edu.cmu.cs.stage3.alice.player.PlayerApplet$2.run( PlayerApplet.java:231)
at java.lang.Thread.run(Unknown Source)"
Thanks in advance.
Best regards,
-- DanG
a) a black area where the applet should be showing or
b) the "downloading..." / "extracting..." progress bars march across the screen... and never go away (exception from console below...)
c) the browser crashes while attempting to run the applet
I've tried combinations of the following on our lab machines which are running Windows XP Professional Service Pack 2, all getting either a) or b) or c) above when trying to view any/all of the sample alice worlds exported as a web page:
- Java SE 5, Java SE 6
- Java3D 1.3.1 for DirectX, Java3D 1.3.1 for GL, Java3D 1.5.0
- Java Media Framework 2.1.1e
- Firefox 1.5, Firefox 2.0, IE 6, IE 7, Sea Monkey 1.0, Sea Monkey 1.1
I like the idea of having the students being able to put their projects on thei r web pages for other to see, but I'll need some coaching on what works and what doesn't work using the above software and versions without getting a), b) or c) behavior.
When option b) happens, the Java console shows something like this....
"Exception in thread "Thread-6" javax.media.j3d.BadTransformException: non-congruent transform above ViewPlatform
at javax.media.j3d.TransformGroupRetained.setLive(Tra nsformGroupRetained.java:607)
at javax.media.j3d.GroupRetained.childDoSetLive(Group Retained.java:2153)
at javax.media.j3d.GroupRetained.doSetLive(GroupRetai ned.java:2208)
at javax.media.j3d.BranchGroupRetained.setLive(Branch GroupRetained.java:168)
at javax.media.j3d.GroupRetained.childCheckSetLive(Gr oupRetained.java:2160)
at javax.media.j3d.GroupRetained.checkSetLive(GroupRe tained.java:1542)
at javax.media.j3d.GroupRetained.checkSetLive(GroupRe tained.java:1465)
at javax.media.j3d.GroupRetained.doAddChild(GroupReta ined.java:494)
at javax.media.j3d.GroupRetained.addChild(GroupRetain ed.java:467)
at javax.media.j3d.Group.addChild(Group.java:271)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.java3d renderer.ContainerProxy.onChildAdded(ContainerProx y.java:38)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.java3d renderer.ContainerProxy.initialize(ContainerProxy. java:52)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.Abstra ctProxyRenderer.getProxyFor(AbstractProxyRenderer. java:56)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.Abstra ctProxyRenderer.createNecessaryProxies(AbstractPro xyRenderer.java:88)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.Abstra ctProxyRenderTarget.addCamera(AbstractProxyRenderT arget.java:39)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.java3d renderer.OnscreenRenderTarget.addCamera(OnscreenRe nderTarget.java:92)
at edu.cmu.cs.stage3.alice.core.RenderTarget.commit(R enderTarget.java:96)
at edu.cmu.cs.stage3.alice.core.World.setRenderTarget Factory(World.java:353)
at edu.cmu.cs.stage3.alice.player.AbstractPlayer.load World(AbstractPlayer.java:61)
at edu.cmu.cs.stage3.alice.player.AbstractPlayer.load World(AbstractPlayer.java:83)
at edu.cmu.cs.stage3.alice.player.PlayerApplet$2.run( PlayerApplet.java:231)
at java.lang.Thread.run(Unknown Source)"
Thanks in advance.
Best regards,
-- DanG