This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | NullPointerException at java.awt.datatransfer.SystemFlavorMap.getAllNativesForType | ||
---|---|---|---|
Product: | platform | Reporter: | Petr Cyhelsky <cyhelsky> |
Component: | JDK Problems | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | kahatlen, lhochet, pandajava, robyter, sreimers |
Priority: | P2 | Keywords: | JDK_8 |
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 204404 |
Attachments: | stacktrace |
Description
Petr Cyhelsky
2013-10-07 11:43:20 UTC
Created attachment 140850 [details]
stacktrace
I cannot reproduce the bug with: Product Version: NetBeans IDE Dev (Build 201310080001) Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b51 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b109 System: Linux version 3.8.0-26-generic running on amd64; UTF-8; en_US (nb) But I can reproduce it when I change JDK to: Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b52 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b110 So it seems to be a JDK bug introduced in 1.8.0-ea-b110. (I cannot also copy text to clipboard when using this JDK.) a new JDK bug filed. https://bugs.openjdk.java.net/browse/JDK-8026262 *** Bug 237362 has been marked as a duplicate of this bug. *** Still see it on JDK8 ea b112 although it is said to be fixed. Happens using Copy&Paste History on Nb7.4 running on Windows 7 Stacktrace: java.lang.NullPointerException at java.awt.datatransfer.SystemFlavorMap.getAllNativesForType(SystemFlavorMap.java:1327) at java.awt.datatransfer.SystemFlavorMap.getNativesForFlavor(SystemFlavorMap.java:702) at sun.awt.datatransfer.DataTransferer.getFormatsForFlavors(DataTransferer.java:721) at sun.awt.windows.WDataTransferer.getFormatsForFlavors(WDataTransferer.java:177) at sun.awt.datatransfer.DataTransferer.getFormatsForTransferable(DataTransferer.java:659) at sun.awt.windows.WClipboard.setContentsNative(WClipboard.java:75) at sun.awt.datatransfer.SunClipboard.setContents(SunClipboard.java:110) at org.netbeans.modules.editor.impl.actions.clipboardhistory.CompletionLayoutPopup.pasteContent(CompletionLayoutPopup.java:646) at org.netbeans.modules.editor.impl.actions.clipboardhistory.CompletionLayoutPopup.access$400(CompletionLayoutPopup.java:82) at org.netbeans.modules.editor.impl.actions.clipboardhistory.CompletionLayoutPopup$ChMouseAdapter.mouseClicked(CompletionLayoutPopup.java:566) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270) at java.awt.Component.processMouseEvent(Component.java:6532) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6294) at java.awt.Container.processEvent(Container.java:2235) at java.awt.Component.dispatchEventImpl(Component.java:4885) at java.awt.Container.dispatchEventImpl(Container.java:2293) at java.awt.Component.dispatchEvent(Component.java:4707) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4877) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4542) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462) at java.awt.Container.dispatchEventImpl(Container.java:2279) at java.awt.Component.dispatchEvent(Component.java:4707) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:719) at java.awt.EventQueue$4.run(EventQueue.java:717) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:716) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:220) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:135) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:123) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:119) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:111) at java.awt.EventDispatchThread.run(EventDispatchThread.java:97) *** Bug 237177 has been marked as a duplicate of this bug. *** (In reply to Antonin Nebuzelsky from comment #3) > https://bugs.openjdk.java.net/browse/JDK-8026262 Resolved as of JDK8 b115. *** Bug 240108 has been marked as a duplicate of this bug. *** |