JRViewerVR from jnlp on java 1.8.0_72

All about the Viewer VR.
Post Reply
pflagerd
Posts: 4
Joined: Tue 6. Oct 2015, 18:53

JRViewerVR from jnlp on java 1.8.0_72

Post by pflagerd » Fri 17. Jun 2016, 01:59

The java console shows this. It appears to be harmless, but I thought you might want to know:

====START JAVA CONSOLE OUTPUT=============================>
Java Web Start 11.72.2.15
Using JRE version 1.8.0_72-b15 Java HotSpot(TM) 64-Bit Server VM
User home directory = C:\Users\oy753c
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
Jun 16, 2016 4:39:33 PM de.jtem.jrworkspace.plugin.simplecontroller.SimpleController setupAppleHandlers
INFO: could not setup mac os handlers, may be not on a mac.
JNLPClassLoader: Finding library java.dll
JNLPClassLoader: Finding library jawt.dll
JNLPClassLoader: Finding library jawt.dll
JNLPClassLoader: Finding library OpenGL32.dll
JNLPClassLoader: Finding library libGLESv3.so.3.dll
JNLPClassLoader: Finding library libGLESv3.so.dll
JNLPClassLoader: Finding library GLESv3.dll
JNLPClassLoader: Finding library GLES30.dll
JNLPClassLoader: Finding library libGLESv3.dll
JNLPClassLoader: Finding library libGLES30.dll
JNLPClassLoader: Finding library libGLESv2.so.2.dll
JNLPClassLoader: Finding library libGLESv2.so.dll
JNLPClassLoader: Finding library GLESv2.dll
JNLPClassLoader: Finding library GLES20.dll
JNLPClassLoader: Finding library GLESv2_CM.dll
JNLPClassLoader: Finding library libGLESv2.dll
JNLPClassLoader: Finding library libGLESv2_CM.dll
JNLPClassLoader: Finding library libGLES20.dll
JNLPClassLoader: Finding library libEGL.so.1.dll
JNLPClassLoader: Finding library libEGL.so.dll
JNLPClassLoader: Finding library EGL.dll
JNLPClassLoader: Finding library libEGL.dll
JNLPClassLoader: Finding library libGLESv1_CM.so.2.dll
JNLPClassLoader: Finding library libGLESv1_CM.so.dll
JNLPClassLoader: Finding library GLESv1_CM.dll
JNLPClassLoader: Finding library GLES_CM.dll
JNLPClassLoader: Finding library GLES_CL.dll
JNLPClassLoader: Finding library libGLESv1_CM.dll
JNLPClassLoader: Finding library libGLES_CM.dll
JNLPClassLoader: Finding library libGLES_CL.dll
JNLPClassLoader: Finding library libEGL.so.1.dll
JNLPClassLoader: Finding library libEGL.so.dll
JNLPClassLoader: Finding library EGL.dll
JNLPClassLoader: Finding library libEGL.dll
JNLPClassLoader: Finding library OpenGL32.dll
JNLPClassLoader: Finding library libEGL.so.1.dll
JNLPClassLoader: Finding library libEGL.so.dll
JNLPClassLoader: Finding library EGL.dll
JNLPClassLoader: Finding library libEGL.dll
JOGL3Viewer constuctor called
Check for GL4
Natives[GL4bc true [4.3 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)], GL4 true [4.3 (Core profile, arb, compat[ES2, ES3], FBO, hardware)], GLES3 false, GL3bc true [4.3 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)], GL3 true [4.3 (Core profile, arb, compat[ES2, ES3], FBO, hardware)], GL2 true [4.3 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)], GLES2 false, GLES1 false, count 5 / 8], Common[, GL4ES3 true, GL2GL3 true, GL2ES2 true, GL2ES1 true], Mappings[GL3bc GLProfile[GL3bc/GL4bc.hw], GL2ES1 GLProfile[GL2ES1/GL4bc.hw], GL4ES3 GLProfile[GL4ES3/GL4.hw], GL2ES2 GLProfile[GL2ES2/GL4.hw], GL4bc GLProfile[GL4bc/GL4bc.hw], GL2 GLProfile[GL2/GL4bc.hw], GL4 GLProfile[GL4/GL4.hw], GL3 GLProfile[GL3/GL4.hw], GL2GL3 GLProfile[GL2GL3/GL4bc.hw], , default GLProfile[GL4bc/GL4bc.hw], count 9 / 12]
Using: GL4
java.lang.NullPointerException
at de.jreality.jogl3.helper.PostProcessingHelper.getAvailableShaderList(PostProcessingHelper.java:405)
at de.jreality.plugin.menu.PostProcessingHelperMenu.makeMenu(PostProcessingHelperMenu.java:77)
at de.jreality.plugin.menu.PostProcessingHelperMenu.install(PostProcessingHelperMenu.java:50)
at de.jtem.jrworkspace.plugin.simplecontroller.SimpleController.activatePlugin(SimpleController.java:647)
at de.jtem.jrworkspace.plugin.simplecontroller.SimpleController$3.run(SimpleController.java:425)
at de.jtem.jrworkspace.plugin.simplecontroller.StartupChain.run(StartupChain.java:23)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
<===END JAVA CONSOLE OUTPUT==============================

MarcelP
Posts: 15
Joined: Mon 15. Dec 2014, 12:20

Re: JRViewerVR from jnlp on java 1.8.0_72

Post by MarcelP » Mon 11. Jul 2016, 16:25

Oh thanks for pointing this one out.

Our shaders are read from a folder and each OS has a slightly different syntax for that task. What OS are you using?

Try preventing the PostProcessingHelperMenu from getting added as a plugin. I think it happens in the JRViewer

public void addBasicUI() {
c.registerPlugin(new Inspector());

c.registerPlugin(new BackgroundColor());
c.registerPlugin(new DisplayOptions());
c.registerPlugin(new ViewMenuBar());
c.registerPlugin(new ViewToolBar());

c.registerPlugin(new ExportMenu());
c.registerPlugin(new CameraMenu());
c.registerPlugin(new PropertiesMenu());
c.registerPlugin(new PostProcessingHelperMenu()); COMMENT OUT THIS LINE
}

Post Reply