My Oracle Support Banner

Oracle Universal Installer Crashes: Could not initialize class java.awt.dnd.DragSource (Doc ID 2154348.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Linux x86-64

Symptoms

During Grid Infrastructure install, after selecting "Advanced Installation" from OUI then clicking Next, the installer crashes with the following error(s)

 

installActions<time_stamp>.log

====================

...

SEVERE: [FATAL] java.lang.NoClassDefFoundError: Could not initialize class java.awt.dnd.DragSource
SUMMARY:
- Could not initialize class java.awt.dnd.DragSource.
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:522

oraInstall<time_stamp>.err

====================

java.lang.RuntimeException: cannot load system cursor: CopyDrop.32x32
at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(XToolkit.java:1136)     <-----HERE
at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1759)
at java.awt.dnd.DragSource.load(DragSource.java:119)
at java.awt.dnd.DragSource.<clinit>(DragSource.java:135)
at oracle.bali.ewt.shuttle.ShuttleDnDSupport._init(ShuttleDnDSupport.java:363)
at oracle.bali.ewt.shuttle.ShuttleDnDSupport.<init>(ShuttleDnDSupport.java:59)
at oracle.bali.ewt.shuttle.Shuttle._createShuttleDnDSupport(Shuttle.java:3394)
at oracle.bali.ewt.shuttle.Shuttle._setPicker(Shuttle.java:1662)
at oracle.bali.ewt.shuttle.Shuttle._setToPicker(Shuttle.java:1575)
at oracle.bali.ewt.shuttle.Shuttle.setToPicker(Shuttle.java:572)
at oracle.install.ivw.common.view.ProductLanguagePane.buildUI(ProductLanguagePane.java:157)
at oracle.install.ivw.common.view.ProductLanguagePane.<init>(ProductLanguagePane.java:94)
at oracle.install.ivw.common.view.ProductLanguageGUI.<init>(ProductLanguageGUI.java:55)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:357)
at java.lang.Class.newInstance(Class.java:310)
at oracle.install.commons.flow.ViewManager.getView(ViewManager.java:58)
at oracle.install.commons.flow.State.getView(State.java:113)
at oracle.install.commons.flow.jewt.WizardBottomPanelHandler.updatePanel(WizardBottomPanelHandler.java:84)
at oracle.install.commons.flow.jewt.WizardBottomPanelHandler$1.call(WizardBottomPanelHandler.java:63)
at oracle.install.commons.flow.jewt.WizardBottomPanelHandler$1.call(WizardBottomPanelHandler.java:61)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:679)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:640)
at java.awt.EventQueue$2.run(EventQueue.java:638)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.awt.AWTException: Exception: class java.lang.IllegalArgumentException Width (0) and height (0) must be non-zero occurred while creating cursor CopyDrop.32x32
at java.awt.Cursor.getSystemCustomCursor(Cursor.java:339)       <-----AWT trying to draw GUI on Display with invalid width and height values
at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(XToolkit.java:1134)
... 39 more

No additional information is given when clicking the Details button.

Additionally, choosing 'Typical Installation' in OUI works with no issue.

 

  

  

Changes

 None

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.