<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>756</bug_id>
          
          <creation_ts>2013-06-18 22:19:40 +0200</creation_ts>
          <short_desc>Spurious freeze and/or NullPointerException when running a JOGL NEWT application within Eclipse</short_desc>
          <delta_ts>2019-03-29 17:54:46 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Newt</product>
          <component>x11</component>
          <version>2.3.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Julien Gouesse">gouessej</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>gouessej</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2690</commentid>
    <comment_count>0</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2013-06-18 22:19:40 +0200</bug_when>
    <thetext>Hi

Several JOGL NEWT applications sometimes get frozen when NEWT tries to get the XRandR version number and I get (very rarely) this exception:
Exception in thread &quot;main&quot; java.lang.NullPointerException
	at jogamp.newt.MonitorModeProps.streamInMonitorDevice(MonitorModeProps.java:223)
	at jogamp.newt.ScreenImpl.getVirtualMonitorDevice(ScreenImpl.java:483)
	at jogamp.newt.ScreenImpl.initMonitorState(ScreenImpl.java:527)
	at jogamp.newt.ScreenImpl.createNative(ScreenImpl.java:184)
	at jogamp.newt.ScreenImpl.addReference(ScreenImpl.java:222)
	at engine.service.Ardor3DGameServiceProvider.&lt;init&gt;(Ardor3DGameServiceProvider.java:217)
	at engine.service.Ardor3DGameServiceProvider.main(Ardor3DGameServiceProvider.java:119)

This isn&apos;t always reproducible but it becomes very annoying and it happens more frequently in latest builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2731</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2013-06-30 22:13:55 +0200</bug_when>
    <thetext>Hi

I obtain this with the RC12:
Exception in thread &quot;main-Display-.x11_:0-1-EDT-1&quot; java.lang.RuntimeException: Waited 5000ms for: &lt;14627a, 4d41e2&gt;[count 1, qsz 0, owner &lt;main&gt;] - &lt;main-Display-.x11_:0-1-EDT-1&gt;
	at jogamp.common.util.locks.RecursiveLockImpl01Unfairish.lock(RecursiveLockImpl01Unfairish.java:198)
	at jogamp.nativewindow.ResourceToolkitLock.lock(ResourceToolkitLock.java:56)
	at javax.media.nativewindow.DefaultGraphicsDevice.lock(DefaultGraphicsDevice.java:136)
	at jogamp.newt.driver.x11.DisplayDriver.dispatchMessagesNative(DisplayDriver.java:101)
	at jogamp.newt.DisplayImpl.dispatchMessages(DisplayImpl.java:496)
	at jogamp.newt.DisplayImpl$5.run(DisplayImpl.java:419)
	at jogamp.newt.DefaultEDTUtil$EventDispatchThread.run(DefaultEDTUtil.java:308)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2844</commentid>
    <comment_count>2</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2013-08-04 21:38:58 +0200</bug_when>
    <thetext>I get this with JOGL 2.0.2:
[java] Exception in thread &quot;main-Display-.x11_:0-1-EDT-1&quot; java.lang.RuntimeException: Waited 5000ms for: &lt;e06940, 11e0c13&gt;[count 1, qsz 0, owner &lt;main&gt;] - &lt;main-Display-.x11_:0-1-EDT-1&gt;
     [java] 	at jogamp.common.util.locks.RecursiveLockImpl01Unfairish.lock(RecursiveLockImpl01Unfairish.java:198)
     [java] 	at jogamp.nativewindow.ResourceToolkitLock.lock(ResourceToolkitLock.java:56)
     [java] 	at javax.media.nativewindow.DefaultGraphicsDevice.lock(DefaultGraphicsDevice.java:136)
     [java] 	at jogamp.newt.driver.x11.DisplayDriver.dispatchMessagesNative(DisplayDriver.java:101)
     [java] 	at jogamp.newt.DisplayImpl.dispatchMessages(DisplayImpl.java:535)
     [java] 	at jogamp.newt.DisplayImpl$5.run(DisplayImpl.java:458)
     [java] 	at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:317)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4358</commentid>
    <comment_count>3</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2014-10-08 11:42:42 +0200</bug_when>
    <thetext>It&apos;s no longer reproducible with JOGL 2.2.1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>