--- old/src/macosx/classes/sun/lwawt/macosx/CDragSourceContextPeer.java 2013-07-11 13:02:53.000000000 +0400 +++ new/src/macosx/classes/sun/lwawt/macosx/CDragSourceContextPeer.java 2013-07-11 13:02:53.000000000 +0400 @@ -110,6 +110,7 @@ //It sure will be LWComponentPeer instance as rootComponent is a Window PlatformWindow platformWindow = ((LWComponentPeer)rootComponent.getPeer()).getPlatformWindow(); long nativeViewPtr = CPlatformWindow.getNativeViewPtr(platformWindow); + if (nativeViewPtr == 0L) return; // Unsupported // If there isn't any drag image make one of default appearance: if (fDragImage == null)