Login  Register

Re: queryProperties...

Posted by Sven Gothel on May 12, 2014; 4:58pm
URL: https://forum.jogamp.org/Java3D-1-6-crashes-JVM-tp4031293p4032317.html

On 05/12/2014 06:17 PM, hharrison [via jogamp] wrote:

> Digging into the JDK...around line 2795:
>
> 2793    private void  [More ...] addToWindowList() {
> 2794    synchronized (Window.class) {
> 2795          Vector<WeakReference<Window>> windowList =
> (Vector<WeakReference<Window>>)appContext.get(Window.class);
> 2796          if (windowList == null) {
>
> Sooo, another null appcontext problem, I'll see if I can also do the
> workaround in the queryproperties case, as the pipeline
> may not be initialized yet either....fun!
>
> Harvey
Maybe you can consider my remarks here
  <https://jogamp.org/bugzilla/show_bug.cgi?id=1004#c4>

.. i.e. launching your Java3D master-thread (sic)
or any thread utilizing AWT w/ an AppContext aware ThreadGroup,
see AppContextInfo.
This approach does not need to patch the AppContext ThreadGroup mapping.

~Sven



signature.asc (894 bytes) Download Attachment