[Source] troubleshooting Netbeans configuration and Xj3D build_nps.xml under 64-bit Windows 7

Don Brutzman brutzman at nps.edu
Sun Dec 11 13:21:14 PST 2011


Everything in NPS build currently compiles correctly on 64-bit Windows 7

Launching brings up the Swing interface, but the Xj3D render area is
simply grey

Since it looked like Alan updated the Windows 7 64-bit .dlls under
	C:\Xj3D.trunk\natives\Windows 7\amd64

> C:\Xj3D.trunk\natives\Windows 7\amd64>ls -l
> total 496
> -rwx------+ 1 Administrators None   1376 Dec 10 06:29 adh
> -rwx------+ 1 Administrators None   7680 Dec 10 06:29 gluegen-rt.dll
> -rwx------+ 1 Administrators None 351232 Dec 10 06:29 jogl.dll
> -rwx------+ 1 Administrators None   9216 Dec 10 06:29 jogl_awt.dll
> -rwx------+ 1 Administrators None 131072 Dec 10 06:29 jogl_cg.dll

i copied them to (differently named) subdirectory
	C:\Xj3D.nps\natives\x86_64\win

Then launched Xj3D via task run.ogl.browser and opened
file:/C:/Xj3D.nps/examples/sai/moving_box.x3dv

However that did not fix the problem.  Still getting no render display
(only grey pixels) with the same aviatrix3d exception trace as reported
before:

> run.ogl.browser:
> Dec 11, 2011 1:14:42 PM org.odejava.Odejava <clinit>
> INFO: OdeJava natives version 0.3.4 loaded.
> org.web3d.vrml.renderer.common.nodes.shape.useTextureCache set to: true
> org.web3d.vrml.renderer.common.nodes.shape.useTextureCache set to: true
> Exception in thread "AV3D Runtime" java.lang.RuntimeException: java.lang.IllegalArgumentException: argument type mismatch
> 	at com.sun.opengl.impl.JAWT_DrawingSurfaceInfo.newPlatformInfo(JAWT_DrawingSurfaceInfo.java:86)
> 	at com.sun.opengl.impl.JAWT_DrawingSurfaceInfo.platformInfo(JAWT_DrawingSurfaceInfo.java:52)
> 	at com.sun.opengl.impl.windows.WindowsOnscreenGLDrawable.lockSurface(WindowsOnscreenGLDrawable.java:189)
> 	at com.sun.opengl.impl.windows.WindowsOnscreenGLContext.makeCurrentImpl(WindowsOnscreenGLContext.java:57)
> 	at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
> 	at org.j3d.aviatrix3d.output.graphics.BaseSurface.initCanvas(BaseSurface.java:912)
> 	at org.j3d.aviatrix3d.output.graphics.BaseSurface.draw(BaseSurface.java:640)
> 	at org.j3d.aviatrix3d.output.graphics.BaseAWTSurface.draw(BaseAWTSurface.java:173)
> 	at org.j3d.aviatrix3d.output.graphics.DebugAWTSurface.draw(DebugAWTSurface.java:327)
> 	at org.j3d.aviatrix3d.pipeline.graphics.DefaultGraphicsPipeline.render(DefaultGraphicsPipeline.java:271)
> 	at org.j3d.aviatrix3d.management.SingleDisplayCollection.process(SingleDisplayCollection.java:217)
> 	at org.j3d.aviatrix3d.management.SingleThreadRenderManager.run(SingleThreadRenderManager.java:818)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.IllegalArgumentException: argument type mismatch
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at com.sun.opengl.impl.JAWT_DrawingSurfaceInfo.newPlatformInfo(JAWT_DrawingSurfaceInfo.java:83)
> 	... 12 more

not sure what to try next.  recompiling aviatrix on windows 7 64 bit??
gosh i hope not...

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the Source mailing list