Page 1 of 1

Exception in thread "AWT-EventQueue-0" wtf

Posted: Fri Jul 22, 2016 10:17 am
by KGB1st

Code: Select all

        Exception in thread "AWT-EventQueue-0" java.awt.AWTError: no screen devices
        
        at sun.awt.Win32GraphicsEnvironment.getDefaultScreenDevice(Win32GraphicsEnvironment.java:99)
        at sun.awt.windows.WToolkit.resetGC(WToolkit.java:153)
        at sun.awt.Win32GraphicsEnvironment.displayChanged(Win32GraphicsEnvironment.java:198)
        at sun.awt.windows.WToolkit$3.run(WToolkit.java:835)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Fri Jul 22, 2016 11:18 am
by HorridoJoho
Did you try to run the GUI tools included in L2J on a terminal only system without a GUI system?

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Fri Jul 22, 2016 11:52 am
by KGB1st
HorridoJoho wrote:Did you try to run the GUI tools included in L2J on a terminal only system without a GUI system?
No, I use Win10 x64. Maybe it happened when I tried to build L2j_server with gradle?

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Fri Jul 22, 2016 12:24 pm
by HorridoJoho
When did that happen? What did you do?

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Fri Jul 22, 2016 12:31 pm
by KGB1st
HorridoJoho wrote:When did that happen? What did you do?
not shure, maybe used gradle. This can occur when RAM's not enough?

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Sat Jul 23, 2016 1:59 pm
by HorridoJoho
Where was that error displayed? Eclipse console? System console? Server log files?

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Sat Jul 23, 2016 3:57 pm
by KGB1st
HorridoJoho wrote:Where was that error displayed? Eclipse console? System console? Server log files?
Server console.

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Sat Jul 23, 2016 3:59 pm
by UnAfraid
GPU driver crash?

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Sat Jul 23, 2016 4:45 pm
by KGB1st
UnAfraid wrote:GPU driver crash?
no. Server not crash too. It remained to work.

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Sun Jul 24, 2016 9:06 pm
by HorridoJoho
KGB1st wrote:Server console.
And when did the error apear? At server startup? While server is running?

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Tue Jul 26, 2016 2:30 am
by KGB1st
HorridoJoho wrote:
KGB1st wrote:Server console.
And when did the error apear? At server startup? While server is running?
no. when server in process.

Code: Select all

Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Could not update the devices array.
        at sun.awt.Win32GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.Win32GraphicsEnvironment.initDisplayWrapper(Win32GraphicsEnvironment.java:86)
        at sun.awt.Win32GraphicsEnvironment.<clinit>(Win32GraphicsEnvironment.java:69)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
        at sun.awt.windows.WToolkit$3.run(WToolkit.java:834)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32GraphicsEnvironment
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
        at sun.awt.windows.WToolkit$3.run(WToolkit.java:834)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32GraphicsEnvironment
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
        at sun.awt.windows.WToolkit$3.run(WToolkit.java:834)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
I've many of this errors.
Tonight was happened again. Maybe because I disable monitor, and grafics card left in background status? I've 390X

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Tue Jul 26, 2016 1:14 pm
by Sacrifice
KGB1st wrote:
HorridoJoho wrote:
KGB1st wrote:Server console.
And when did the error apear? At server startup? While server is running?
no. when server in process.

Code: Select all

Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Could not update the devices array.
        at sun.awt.Win32GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.Win32GraphicsEnvironment.initDisplayWrapper(Win32GraphicsEnvironment.java:86)
        at sun.awt.Win32GraphicsEnvironment.<clinit>(Win32GraphicsEnvironment.java:69)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
        at sun.awt.windows.WToolkit$3.run(WToolkit.java:834)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32GraphicsEnvironment
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
        at sun.awt.windows.WToolkit$3.run(WToolkit.java:834)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32GraphicsEnvironment
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
        at sun.awt.windows.WToolkit$3.run(WToolkit.java:834)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
I've many of this errors.
Tonight was happened again. Maybe because I disable monitor, and grafics card left in background status? I've 390X
Sure you have two graphic cards (external and internal (motherboard integrated)). Try to disable internal graphics card on BIOS and tell us if go better.

Re: Exception in thread "AWT-EventQueue-0" wtf

Posted: Wed Jul 27, 2016 11:00 am
by KGB1st
one GPU, sabertooth r2.0 doesn't have IGPU
P.S. I started to use WINLOCK and after this turn off my monitor, problem was missed. Maybe )