java.lang.IllegalStateException: Buffers have not been creat

Questions about YourKit Java Profiler
Post Reply
andriy
Posts: 8
Joined: Tue Apr 28, 2009 4:59 pm

java.lang.IllegalStateException: Buffers have not been creat

Post by andriy »

Profiler were opened on the second display.

Agter remote connectiong to the computer I get this exception. ( in remote connectiong i have only single display)

Product: YourKit Java Profiler 8.0.7
Build: 4080
JDK: 1.6.0_12
VM: Java HotSpot(TM) Client VM
Vendor: Sun Microsystems Inc.
OS: Windows XP
OS version: 5.1
OS arch: x86
java.lang.IllegalStateException: Buffers have not been created
at sun.awt.windows.WComponentPeer.getBackBuffer(Unknown Source)
at java.awt.Component$FlipBufferStrategy.getBackBuffer(Unknown Source)
at java.awt.Component$FlipBufferStrategy.updateInternalBuffers(Unknown Source)
at java.awt.Component$FlipBufferStrategy.revalidate(Unknown Source)
at java.awt.Component$FlipBufferStrategy.revalidate(Unknown Source)
at java.awt.Component$FlipBufferStrategy.getDrawGraphics(Unknown Source)
at javax.swing.BufferStrategyPaintManager.prepare(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.yourkit.c$b.dispatchEvent(a:6)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.yourkit.ui.p$a.show(a:24)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.yourkit.ui.bc$1.run(a:52)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.yourkit.c$b.dispatchEvent(a:6)
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)
Anton Katilin
Posts: 6139
Joined: Wed Aug 11, 2004 8:37 am
Contact:

Re: java.lang.IllegalStateException: Buffers have not been creat

Post by Anton Katilin »

Hello

Thank you for reporting.

It is known that Java UI library AWT/Swing can incorrectly handle changes of monitor configuration. Workaround is not to change monitor configuration when a UI Java application is running.

Instead of running the profiler UI remotely, run it locally and connect to a remote profiled application from within the profiler UI.

Best regards,
Anton
Post Reply