>Date: Thu, 13 Jun 2002 16:17:24 -0700 >From: Giles <[EMAIL PROTECTED]> >Subject: [JAVA3D] TextureCache Problems >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Content-transfer-encoding: 7bit >X-Accept-Language: en-us, en >Delivered-to: [EMAIL PROTECTED] >User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 > >I'm implementing a textureCache for Xj3D. When I run the content the >second time without closing the application I get this error. I'm not >having a problem sharing textures during the first run, but it seems >after I free the SG and then reload it it I get this error. Can you >tell me what this line is doing? It will be very hard for me to isolate >this bug but maybe a hint from the code will help me figure out what is >going on > >java.lang.NullPointerException > at javax.media.j3d.MasterControl.viewActivate(MasterControl.java:2444) > at >javax.media.j3d.MasterControl.handlePendingRequest(MasterControl.java:2931) > at javax.media.j3d.MasterControl.doWork(MasterControl.java:2855) > at javax.media.j3d.MasterControlThread.run(MasterControlThread.java:28) > >--
This happen when view.physicalEnvironment.inputDeviceScheduler = null during View initialization for the Canvas3D. (in viewActivate) The inputDeviceScheduler is suppose to set correctly before (in registerView) Do you have other thread to change physicalEnvironment of View while the Java3D MasterControlThread initialize the View ? - Kelvin --------------- Java 3D Team Sun Microsystems Inc. =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".