<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Sure, here it is:<br>
    <br>
    java.lang.NoSuchFieldException: scale<br>
        at java.lang.Class.getDeclaredField(Class.java:2070)<br>
        at
vtk.rendering.vtkInteractorForwarder.getGraphicDeviceScale(vtkInteractorForwarder.java:372)<br>
        at
vtk.rendering.vtkInteractorForwarder.getDisplayScale(vtkInteractorForwarder.java:367)<br>
        at
vtk.rendering.vtkInteractorForwarder.<init>(vtkInteractorForwarder.java:52)<br>
        at
vtk.rendering.vtkAbstractComponent.<init>(vtkAbstractComponent.java:60)<br>
        at
vtk.rendering.jogl.vtkAbstractJoglComponent.<init>(vtkAbstractJoglComponent.java:27)<br>
        at
vtk.rendering.jogl.vtkJoglPanelComponent.<init>(vtkJoglPanelComponent.java:21)<br>
        at
vtk.rendering.jogl.vtkJoglPanelComponent.<init>(vtkJoglPanelComponent.java:17)<br>
        at
vtk.rendering.jogl.vtkJoglPanelComponent.<init>(vtkJoglPanelComponent.java:13)<br>
        at org.scec.vtk.main.MainGUI.<init>(MainGUI.java:152)<br>
        at
org.scec.vtk.main.MainSplashScreen.<init>(MainSplashScreen.java:34)<br>
        at
    org.scec.vtk.main.MainSplashScreen$1.run(MainSplashScreen.java:69)<br>
        at
    java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)<br>
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)<br>
        at java.awt.EventQueue.access$500(EventQueue.java:97)<br>
        at java.awt.EventQueue$3.run(EventQueue.java:709)<br>
        at java.awt.EventQueue$3.run(EventQueue.java:703)<br>
        at java.security.AccessController.doPrivileged(Native Method)<br>
        at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)<br>
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)<br>
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)<br>
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)<br>
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)<br>
        at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)<br>
        at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)<br>
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)<br>
    <br>
    More details on my system:<br>
    <br>
    Xubuntu 16.06 64 bit, NVidia Quadro M2000M, NVidia driver version
    367.57<br>
    java -version:<br>
    openjdk version "1.8.0_121"<br>
    OpenJDK Runtime Environment (build
    1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)<br>
    OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)<br>
    <br>
    Kevin<br>
    <br>
    <div class="moz-cite-prefix">On 02/14/2017 02:41 PM, Sebastien
      Jourdain wrote:<br>
    </div>
    <blockquote
cite="mid:CABObKxdJk7MeT=NomKxc6wS9wkbfmunWCXckZpbu5cFoPPyhdQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">Thanks Kevin,
        <div><br>
        </div>
        <div>could you send me the exact exception/stack trace that you
          are getting on linux?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div>Seb</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Feb 14, 2017 at 2:11 PM, Kevin
          Milner <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:kmilner@usc.edu" target="_blank">kmilner@usc.edu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Thanks to everyone
              for their help! So I finally have everything figured out.
              It turns out that Sebastien's fix (commit
              b6df993770cfcd9a69a48a2730415a<wbr>992d698c5b) does indeed
              fix the problem with picking on retina displays. When I
              noticed a discrepancy between the reported click position
              and the JFrame size, I implemented a fix to what I thought
              was a bug, but actually defeated Sebastien's fix. So I can
              now confirm that the current git/master version works
              successfully on both retina and non-retina Macs.<br>
              <br>
              One note about the fix though is that it uses the "scale"
              field in GraphicsDevice, which is accessed via Java
              reflection, and does not exist in my linux distribution.
              This causes an exception to be dumped to the console every
              time I click in the 3D viewer. I just commented out the
              e.printStackTrace(); at line 382 of vtk.rendering.<wbr>vtkInteractorForwarder
              to remove the excessive printing. You should probably fix
              that before the next release. Other possible ways to
              detect a retina display/scale factor which might not have
              the linux issue are discussed here:
              <a moz-do-not-send="true"
                class="m_1168284626020685411moz-txt-link-freetext"
href="https://urldefense.proofpoint.com/v2/url?u=http-3A__stackoverflow.com_questions_14716743_how-2Dcan-2Di-2Ddetect-2Dwhether-2Da-2Dmac-2Dhas-2Da-2Dretina-2Ddisplay-2Dfrom-2Djava&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=Ut0P5Kplo2cIO9V0et1UBQ&m=Iu9g6yhZzCljBhje3EdkFvvXsKQCcza1TJHRaXwAic4&s=FOi5m6AHOz6BW_8M5-3tcrZ_51YjoqjqXi2wchj61M0&e="
                target="_blank">http://stackoverflow.com/<wbr>questions/14716743/how-can-i-<wbr>detect-whether-a-mac-has-a-<wbr>retina-display-from-java</a><br>
              <br>
              Thanks much for the help!<span class="HOEnZb"><font
                  color="#888888"><br>
                  Kevin</font></span>
              <div>
                <div class="h5"><br>
                  <br>
                  <div class="m_1168284626020685411moz-cite-prefix">On
                    02/10/2017 06:05 PM, Sebastien Jourdain wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Hi Kevin,
                      <div><br>
                      </div>
                      <div>I finally build VTK on my mac (macOS
                        Sierra 10.12.3 - 16D32)</div>
                      <div><br>
                      </div>
                      <div>I can run vtk.sample.Demo with the usual
                        external window issue except on that time the
                        actual rendering window is half the size of the
                        actual JFrame. </div>
                      <div><br>
                      </div>
                      <div>For the Jogl I get a segfault right away.</div>
                      <div><br>
                      </div>
                      <div>
                        <div>$ java -cp
                          vtk-7.1.jar:/Users/seb/.m2/<wbr>repository/org/jogamp/gluegen/<wbr>gluegen-rt/2.3.2/gluegen-rt-2.<wbr>3.2.jar:/Users/seb/.m2/<wbr>repository/org/jogamp/jogl/<wbr>jogl-all/2.3.2/jogl-all-2.3.2.<wbr>jar
                          -Djava.library.path=$PWD/<wbr>natives-Darwin-x86_64/
                          vtk.sample.rendering.<wbr>JoglConeRendering</div>
                        <div>#</div>
                        <div># A fatal error has been detected by the
                          Java Runtime Environment:</div>
                        <div>#</div>
                        <div>#  SIGSEGV (0xb) at pc=0x000000012cdaeb99,
                          pid=51716, tid=7171</div>
                        <div>#</div>
                        <div># JRE version: Java(TM) SE Runtime
                          Environment (8.0_25-b17) (build 1.8.0_25-b17)</div>
                        <div># Java VM: Java HotSpot(TM) 64-Bit Server
                          VM (25.25-b02 mixed mode bsd-amd64 compressed
                          oops)</div>
                        <div># Problematic frame:</div>
                        <div># C  [libawt_lwawt.dylib+0x44b99]
                           JNI_OnLoad+0x91</div>
                        <div>#</div>
                        <div># Failed to write core dump. Core dumps
                          have been disabled. To enable core dumping,
                          try "ulimit -c unlimited" before starting Java
                          again</div>
                        <div>#</div>
                        <div># An error report file with more
                          information is saved as:</div>
                        <div># /Users/seb/Documents/code/VTK/<wbr>install/hs_err_pid51716.log</div>
                        <div>#</div>
                        <div># If you would like to submit a bug report,
                          please visit:</div>
                        <div>#   <a moz-do-not-send="true"
href="https://urldefense.proofpoint.com/v2/url?u=http-3A__bugreport.sun.com_bugreport_crash.jsp&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=Ut0P5Kplo2cIO9V0et1UBQ&m=cpXdD9Shwlw-tbBdzMG5o9U9ZIq7Zn7bL3WkZ_xxvmk&s=xF95XsSLi5_QuJhTNA_YMjO19Br-tB5i36_ifgJd0iI&e="
                            target="_blank">http://bugreport.sun.com/<wbr>bugreport/crash.jsp</a></div>
                        <div># The crash happened outside the Java
                          Virtual Machine in native code.</div>
                        <div># See problematic frame for where to report
                          the bug.</div>
                        <div>#</div>
                        <div>Abort trap: 6</div>
                      </div>
                      <div><br>
                      </div>
                      <div>I don't know if the issue come from jogl or
                        VTK with macOS Sierra.</div>
                      <div><br>
                      </div>
                      <div>Anyway, wanted to let you know,</div>
                      <div><br>
                      </div>
                      <div>Seb</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Tue, Feb 7, 2017 at
                        7:02 AM, Sean McBride <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:sean@rogue-research.com"
                            target="_blank">sean@rogue-research.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex"><span>On Mon, 6 Feb
                            2017 14:10:03 -0800, Kevin Milner said:<br>
                            <br>
                            >Any ideas on how to get this working on
                            new Macs?<br>
                            <br>
                          </span>So you have 2 differences now:
                          different OS version, different screens
                          (Retina vs not).  You should try to eliminate
                          one.  You can force a non-Retina to act like a
                          retina with Quartz Debug:<br>
                          <br>
                          <<a moz-do-not-send="true"
href="https://urldefense.proofpoint.com/v2/url?u=https-3A__developer.apple.com_library_content_documentation_GraphicsAnimation_Conceptual_HighResolutionOSX_Testing_Testing.html&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=Ut0P5Kplo2cIO9V0et1UBQ&m=cpXdD9Shwlw-tbBdzMG5o9U9ZIq7Zn7bL3WkZ_xxvmk&s=0iUBZa-RgXAC9Xhb0drglax92fWfwGGTj-Uc7CM4VQE&e="
                            rel="noreferrer" target="_blank">https://developer.apple.com/l<wbr>ibrary/content/documentation/G<wbr>raphicsAnimation/Conceptual/Hi<wbr>ghResolutionOSX/Testing/Testin<wbr>g.html</a>><br>
                          <br>
                          and/or upgrade that Mac from 10.9 (which BTW
                          doesn't get security updates anymore) to
                          something newer.<br>
                          <div class="m_1168284626020685411HOEnZb">
                            <div class="m_1168284626020685411h5"><br>
                              Cheers,<br>
                              <br>
                              --<br>
                              ______________________________<wbr>______________________________<br>
                              Sean McBride, B. Eng                 <a
                                moz-do-not-send="true"
                                href="mailto:sean@rogue-research.com"
                                target="_blank">sean@rogue-research.com</a><br>
                              Rogue Research                        <a
                                moz-do-not-send="true"
href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.rogue-2Dresearch.com&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=Ut0P5Kplo2cIO9V0et1UBQ&m=cpXdD9Shwlw-tbBdzMG5o9U9ZIq7Zn7bL3WkZ_xxvmk&s=9cy936hCnvRuTo7DSMoAfRvhAa8WKZXt1uiyI9dGtws&e="
                                rel="noreferrer" target="_blank">www.rogue-research.com</a><br>
                              Mac Software Developer             
                              Montréal, Québec, Canada<br>
                              <br>
                              <br>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>