java.lang.RuntimeException: सिस्टम कर्सर लोड करने में विफल: DnD.Cursor.CopyDrop [बंद]


2

किसी को भी इस त्रुटि संदेश का अर्थ पता है?

java.lang.RuntimeException: failed to load system cursor: DnD.Cursor.CopyDrop

उबंटू 17.10 (Xfce), OpenJava1.8 के नए इंस्टाल के बाद, स्पलैश दिखाते हुए नेटबीन्स फ्रीज हो गए। एक और JavaApp, "टीवी-ब्राउज़र" में भी समस्याएं हैं। अन्य Java Apps ठीक से चलते हैं। ~/.netbeans/8.2/var/log/messages.logदिखाता है:

-----------------------------------------------------------------------
Log Session: Wednesday, November 29, 2017 3:02:48 PM CET
System Info: 
Product Version = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9)
Operating System = Linux version 4.13.0-17-generic running on amd64
Java; VM; Vendor = 1.8.0_151; OpenJDK 64-Bit Server VM 25.151-b12; Oracle Corporation
Runtime = OpenJDK Runtime Environment 1.8.0_151-8u151-b12-0ubuntu0.17.10.2-b12
Java Home = /usr/lib/jvm/java-8-openjdk-amd64/jre
System Locale; Encoding = de_DE (nb); UTF-8
Home Directory = /home/ralph
Current Directory = /home/ralph
User Directory = /home/ralph/.netbeans/8.2
Cache Directory = /home/ralph/.cache/netbeans/8.2
Installation = /usr/local/netbeans-8.2/nb
/usr/local/netbeans-8.2/ide
/usr/local/netbeans-8.2/extide
/usr/local/netbeans-8.2/java
/usr/local/netbeans-8.2/apisupport
/usr/local/netbeans-8.2/websvccommon
/usr/local/netbeans-8.2/profiler
/usr/local/netbeans-8.2/harness
/usr/local/netbeans-8.2/javafx
/usr/local/netbeans-8.2/platform

[..]

java.lang.RuntimeException: failed to load system cursor: DnD.Cursor.CopyDrop : cannot load system cursor: CopyDrop.32x32
at java.awt.dnd.DragSource.load(DragSource.java:135)
at java.awt.dnd.DragSource.<clinit>(DragSource.java:148)
Caused: java.lang.ExceptionInInitializerError
at org.netbeans.core.windows.view.ui.toolbars.DnDSupport.<clinit>(DnDSupport.java:118)
at org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.dndSupport(ToolbarConfiguration.java:132)
at org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.refresh(ToolbarConfiguration.java:312)
at org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.activate(ToolbarConfiguration.java:400)
at org.openide.awt.ToolbarPool.activate(ToolbarPool.java:245)
at org.openide.awt.ToolbarPool.setConfigurationNow(ToolbarPool.java:329)
at org.openide.awt.ToolbarPool.setConfiguration(ToolbarPool.java:301)
at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:567)
at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:542)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:187)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:275)
at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:264)
at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:201)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:121)
at org.netbeans.core.windows.Central.setVisible(Central.java:140)
at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:931)
at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:105)
at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:244)
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:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] 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)
java.lang.RuntimeException: cannot load system cursor: CopyDrop.32x32
at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(XToolkit.java:1541)
at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1803)
at java.awt.dnd.DragSource.load(DragSource.java:131)
at java.awt.dnd.DragSource.<clinit>(DragSource.java:148)
at org.netbeans.core.windows.view.ui.toolbars.DnDSupport.<clinit>(DnDSupport.java:118)
at org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.dndSupport(ToolbarConfiguration.java:132)
at org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.refresh(ToolbarConfiguration.java:312)
at org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.activate(ToolbarConfiguration.java:400)
at org.openide.awt.ToolbarPool.activate(ToolbarPool.java:245)
at org.openide.awt.ToolbarPool.setConfigurationNow(ToolbarPool.java:329)
at org.openide.awt.ToolbarPool.setConfiguration(ToolbarPool.java:301)
at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:567)
at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:542)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:187)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:275)
at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:264)
at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:201)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:121)
at org.netbeans.core.windows.Central.setVisible(Central.java:140)
at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:931)
at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:105)
at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:244)
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:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
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)
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:363)
at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(XToolkit.java:1539)
... 36 more
INFO [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: Unpaired license 00000008 without any module.


"OpenJava" क्या है? मुझे पता है कि "ओपन जेडडीके" के साथ "जेडीके" "जावा डेवलपमेंट किट" के लिए एक परिचित है, लेकिन मैंने दूसरे के बारे में कभी नहीं सुना।
डेविड फ़ॉस्टर

1
मैं @ElderGeek के साथ सहमत हूं। यह बग # 1232471 का एक डुप्लिकेट है जो "OpenJDK] 8u152 और 9" में तय किया गया प्रतीत होता है ।
डेविड फ़ॉस्टर 12

मतदाताओं को बंद करें। समाधान प्रस्तुत किया गया।
एल्डर गीक

जवाबों:


1

जैसा कि डेविड फ़ॉस्टर ने इस टिप्पणी में कहा है , ऐसा प्रतीत होता है कि OpenJDK 8 में इस बग को तोड़ दिया गया है और फिक्स OpenJDK 9 को स्थापित करने के लिए है। यह ब्रह्मांड भंडार में 17.10 के लिए उपलब्ध है।

सबसे पहले, भंडार सक्षम करता है, तो यह पहले से ही नहीं है।

दूसरा OpenJDK 9 कमांड के साथ इंस्टॉल करें sudo apt install openjdk-9-jdk

यदि किसी कारण से आप OpenJDK 8 को बनाए रखना चाहते हैं, तो आप अपने आप को कई जावा संस्करणों के बीच स्विच करने के तरीके से परिचित कर सकते हैं

हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.