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.

Bug 230061 - copy/paste does not work on OS X with JDK 8 for some file types
Summary: copy/paste does not work on OS X with JDK 8 for some file types
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 7.4
Hardware: All Mac OS X
: P1 normal with 4 votes (vote)
Assignee: Jan Peska
URL:
Keywords: JDK_8
: 230876 232021 234521 235724 236891 238016 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-21 17:06 UTC by athompson
Modified: 2013-11-13 11:45 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JDK 8 in a JavaFX project (201.88 KB, image/png)
2013-09-15 14:41 UTC, athompson
Details
screenshot-1 (188.73 KB, image/png)
2013-09-18 10:47 UTC, maxnitribitt
Details
screenshot-2 (225.15 KB, image/png)
2013-09-18 10:48 UTC, maxnitribitt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description athompson 2013-05-21 17:06:45 UTC
This may be related to issue #218447. I'm also assuming that this is OS X specific but I haven't tested. This has been around for a while.

Pasting does not work properly with some file types on OS X (including java files). Specifically, if you copy or cut code from a java file, then try to paste that code to a java file, the paste command doesn't work.

Oddly, if you copy/cut code as above, but paste to a text file (or outside of Netbeans), that works. You can also copy text from a text file (or from outside of Netbeans) and paste into a java file. So a workaround is to copy/cut the code from a java file, paste to a text file, reselect and copy the code from the text file, and paste into the java file.

Even more oddly, at one point the file types that had the copy/paste problem "switched".  That is, I could copy/paste in java files fine but couldn't copy/paste in XML files.

Even though there is a workaround, I think this is a P1 because it's very basic functionality.
Comment 1 athompson 2013-05-21 17:09:07 UTC
Selecting Paste from the edit menu also does not work.


Product Version: NetBeans IDE Dev (Build 201305202300)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b30
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b88
System: Mac OS X version 10.8.4 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/alvin/Library/Application Support/NetBeans/dev
Cache directory: /Users/alvin/Library/Caches/NetBeans/dev
Comment 2 Antonin Nebuzelsky 2013-06-03 14:16:57 UTC
(In reply to comment #0)
> Even though there is a workaround, I think this is a P1 because it's very basic
> functionality.

Agreed this is serious. Though, this one is on an unreleased JDK8 and a workaround exists. Changing to P2.
Comment 3 michbarsinai 2013-06-19 03:49:54 UTC
This also happens on my machine (MacBook Pro/Retina, using JDK8).

Note that although JDK8 is not released, it is the preferred option to running NetBeans in native retina resolution (the other option is using JDK6). Thus, this issue is going to be annoying for a lot of devs.
Comment 4 Jan Peska 2013-07-11 08:14:53 UTC
*** Bug 232021 has been marked as a duplicate of this bug. ***
Comment 5 Antonin Nebuzelsky 2013-07-12 12:46:17 UTC
(In reply to comment #3)
> Note that although JDK8 is not released, it is the preferred option to running
> NetBeans in native retina resolution (the other option is using JDK6). Thus,
> this issue is going to be annoying for a lot of devs.

For retina you can also use early access builds of 7u40. Available at
https://jdk7.java.net/download.html
Comment 6 sreimers 2013-08-13 13:00:42 UTC
So to use JDK8 things, we run NetBeans on JDK7 and use JDK8 for the projects?

This is not so nice to manage on MacOS X (possible but no very nice). Any chance this will make it into NetBeans 7.4 (or 7.4.1?) - looking at the roadmaps - these seem to be the versions available for the Developer Preview of JDK8 (2013/09/05).

Would really be nice if people trying this out, would not be getting hit by this nasty bug.
Comment 7 swpalmer 2013-08-13 18:13:57 UTC
Note that in the edit menu "Paste from History" works. So the Copy side is working.  It is just regular paste that is broken.
Comment 8 athompson 2013-08-13 20:55:59 UTC
(In reply to swpalmer from comment #7)
Yup. I've also noticed that paste will work in some sections of some XML documents but not in other sections.
Comment 9 jmaasing 2013-08-16 20:42:57 UTC
Strange enough it sometimes works for me if I copy a text, restart the IDE and then paste (NB 7.3.1, OSX 10.8 JDK 1.8-ea).
Comment 10 Svata Dedic 2013-09-03 20:14:30 UTC
When executing 'copy', I get the following message in the message.log:


java.io.IOException: cannot transfer non-text data as Reader
	at sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1213)
	at sun.lwawt.macosx.CDataTransferer.translateTransferable(CDataTransferer.java:131)
	at sun.lwawt.macosx.CClipboard.setContentsNative(CClipboard.java:76)
	at sun.awt.datatransfer.SunClipboard.setContents(SunClipboard.java:110)
	at org.netbeans.NbClipboard$SetContents.run(NbClipboard.java:462)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Comment 11 Svata Dedic 2013-09-03 20:15:51 UTC
*** Bug 234521 has been marked as a duplicate of this bug. ***
Comment 12 wickund 2013-09-06 11:38:35 UTC
Paste menu item flashes but the actual paste fails.

This has been very irritating for those working on JDK 8.  I hope it is fixed in 7.4 soon (still fail in 7.4 beta.)
Comment 13 jag 2013-09-12 23:44:06 UTC
This still fails on JDK8 b106, the "developer preview" build.  Please investigate this and communicate to the JDK folks so that they know what to fix.  While there is a workaround, it is so clumsy as to be unworkable.  I'm finding NetBeans to be almost unusable with this bug.
Comment 14 Jan Peska 2013-09-13 06:44:32 UTC
(In reply to jag from comment #13)
> This still fails on JDK8 b106, the "developer preview" build.  Please
> investigate this and communicate to the JDK folks so that they know what to
> fix.  While there is a workaround, it is so clumsy as to be unworkable.  I'm
> finding NetBeans to be almost unusable with this bug.

I understand your frustration, but our priority for 7.4 was focus on bugs on officially realeased JDKs so it means there will be no fix on NB side for 7.4. However, I can spend more time to investigate this bug now and eventually file a JDK bug if needed.

In comment #2 there is a justification for this issue to be P2 and it is still valid -> changing back to P2
Comment 15 athompson 2013-09-13 19:07:42 UTC
(In reply to jag from comment #13)
> This still fails on JDK8 b106, the "developer preview" build.  Please
> investigate this and communicate to the JDK folks so that they know what to
> fix.  While there is a workaround, it is so clumsy as to be unworkable.  I'm
> finding NetBeans to be almost unusable with this bug.

Hi Jag,

You can work around this by running NetBeans with JDK 7 while still developing for JDK 8. Here's how:

1. install JDK 7 in addition to JDK 8 on your Mac
2. edit the "netbeans.conf" file to have netbeans run with JDK 7
   a. at "/Applications/NetBeans/<version>/Contents/Resources/NetBeans/etc"
   b. there is a commented section in the file for setting the platform
3. launch NetBeans--it will use the specified JDK
4. add both JDK 8 and JDK 7 under "Tools|Java Platforms"
   a. i would explicitly add both JDK 7 and 8 here in addition to the default
   b. the JDKs are located under "/Library/Java/JavaVirtualMachines"
      - example: /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home
5. explicitly specify the JDK you want for each project in project properties
   a. change "Sources|Source/Binary Format" and "Build|Compile|Java Platform"
   b. never leave platform as the default JDK since the default can change

Ideally, if JDK_HOME is defined in your login environment NetBeans should use that as the JDK it runs with. Currently, Netbeans defaults to simply running with the highest JDK installed. This is not the best choice since the highest JDK installed may be a buggy development build (as in this case). I've been meaning to submit a bug/enhancement for that.
Comment 16 maxnitribitt 2013-09-14 18:06:34 UTC
The workaround doesn't work for JavaFX projects.In JavaFX projects you cannot choose JDK 1.8 as a platform, because NetBeans assumes the JDK doesn't support JavaFX when running on JDK 7. 

Also support for JDK 8 is one of the release themes for 7.4.

So both reasons in comment #2 are invalid.
Comment 17 athompson 2013-09-14 22:50:34 UTC
(In reply to maxnitribitt from comment #16)
> The workaround doesn't work for JavaFX projects.In JavaFX projects you
> cannot choose JDK 1.8 as a platform, because NetBeans assumes the JDK
> doesn't support JavaFX when running on JDK 7. 
> 
> Also support for JDK 8 is one of the release themes for 7.4.
> 
> So both reasons in comment #2 are invalid.

Of course the workaround works for JavaFX apps. Above I assumed you were using new-style Maven projects. In old-style Ant projects the settings are located under "Sources: Source/Binary Format" and "Libraries: Java Platform". Also, NetBeans of course does support JavaFX projects with JDK 7.

NetBeans 7.4 supports *developing* JDK 8 code; it obviously cannot support running with an unreleased, buggy JDK that's subject to change at any time.

Additionally, the "Paste from History" workaround mentioned in comment #7 doesn't work for you?

Finally, you really shouldn't change the priority back if a Netbeans guy sets it--that just appears rude. If you don't agree, tell him so in a comment and give good reasons. I do that all the time.
Comment 18 maxnitribitt 2013-09-15 09:06:57 UTC
(In reply to athompson from comment #17)
> (In reply to maxnitribitt from comment #16)
> > The workaround doesn't work for JavaFX projects.In JavaFX projects you
> > cannot choose JDK 1.8 as a platform, because NetBeans assumes the JDK
> > doesn't support JavaFX when running on JDK 7. 
> > 
> > Also support for JDK 8 is one of the release themes for 7.4.
> > 
> > So both reasons in comment #2 are invalid.
> 
> Of course the workaround works for JavaFX apps. Above I assumed you were
> using new-style Maven projects. In old-style Ant projects the settings are
> located under "Sources: Source/Binary Format" and "Libraries: Java
> Platform". Also, NetBeans of course does support JavaFX projects with JDK 7.

I'm using an old style Ant project, and the workaround doesn't work for me. Even though JDK 1.8 is still available under Tools -> Java Platforms, it is not in the list of Java Platforms to choose from in the project (Properties -> Libraries -> Java Platforms). I also tried to add JDK 1.8 a second time under Tools -> Java Platforms. It was not recognized as a platform that supports JavaFX. When I tried to fix the dependency via "resolve problems" it led to another exception documented here: http://statistics.netbeans.org/analytics/exception.do?id=691620 . To me this problem (the one related to the workaround) clearly looks like a bug on NetBeans side, and not on the side of the JDK, since NetBEans is running under the officially supported version JDK 1.7_u40. 

> 
> NetBeans 7.4 supports *developing* JDK 8 code; it obviously cannot support
> running with an unreleased, buggy JDK that's subject to change at any time.

For me NetBeans does not support developing JDK 8 code as described above. I can't use it, and I have to switch to a different IDE for one of my JavaONE presentations. I really would like to avoid that, especially since I'm a member of the NB Dream Team and this is going to be embarassing for me and for the IDE.

> 
> Additionally, the "Paste from History" workaround mentioned in comment #7
> doesn't work for you?

I was referring to the workaround in comment #15. "Paste from history" works, but I wouldn't want to show this in a presentation.

> 
> Finally, you really shouldn't change the priority back if a Netbeans guy
> sets it--that just appears rude. If you don't agree, tell him so in a
> comment and give good reasons. I do that all the time.

I changed it back to p1 to indicate that in my opinion both reasons for setting it to p2 were wrong and I gave my explanation. It was not my intention to annoy anyone or to be rude. If my comment and switching the priority were perceived like that, then I'd likr to apologize.
Comment 19 athompson 2013-09-15 14:41:14 UTC
Created attachment 140098 [details]
JDK 8 in a JavaFX project

As you can see from the screenshot, JDK 8 works fine. If when you try to add it in Tools|Java Platforms it doesn't show JavaFX support then I'd guess something is wrong with your JDK 8 installation. Can you email me relevant screenshots? Try downloading the latest build of the JDK from Oracle's website and reinstalling. Also verify that you used the proper path when adding JDK 8 (see my example above). Make sure you're not accidentally trying to use Apple's JDK 6, which is the one I'm aware of that doesn't support JavaFX. If that doesn't work, try downloading the latest daily build of NetBeans. If all else fails, try deleting/moving your NetBeans cache and settings and starting from scratch. They are located here:

cache: /Users/<username>/Library/Caches/NetBeans
settings: /Users/<username>/Library/Application Support/NetBeans
Comment 20 Marian Mirilovic 2013-09-16 14:17:12 UTC
*** Bug 230876 has been marked as a duplicate of this bug. ***
Comment 21 Tomas Danek 2013-09-16 14:22:18 UTC
I can reproduce in 
Product Version: NetBeans IDE 7.4 RC1 (Build 201309092300)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b49
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b107
System: Mac OS X version 10.8.4 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/7.4rc1
Cache directory: /Users/tomas/Library/Caches/NetBeans/7.4rc1

just by creating simple java app, copy & paste does not work in editor.
Comment 22 maxnitribitt 2013-09-18 10:47:55 UTC
Created attachment 140206 [details]
screenshot-1
Comment 23 maxnitribitt 2013-09-18 10:48:50 UTC
Created attachment 140207 [details]
screenshot-2
Comment 24 maxnitribitt 2013-09-18 10:52:43 UTC
I've uploaded the screenshots for my project. attachment 140206 [details] showing the projects properties with(out) the missing jdk 8 and attachment 140207 [details] where you can see it's available in the Tools- Java Platforms

(In reply to athompson from comment #19)
> Created attachment 140098 [details]
> JDK 8 in a JavaFX project
> 
> As you can see from the screenshot, JDK 8 works fine. If when you try to add
> it in Tools|Java Platforms it doesn't show JavaFX support then I'd guess
> something is wrong with your JDK 8 installation. Can you email me relevant
> screenshots? Try downloading the latest build of the JDK from Oracle's
> website and reinstalling. Also verify that you used the proper path when
> adding JDK 8 (see my example above). Make sure you're not accidentally
> trying to use Apple's JDK 6, which is the one I'm aware of that doesn't
> support JavaFX. If that doesn't work, try downloading the latest daily build
> of NetBeans. If all else fails, try deleting/moving your NetBeans cache and
> settings and starting from scratch. They are located here:
> 
> cache: /Users/<username>/Library/Caches/NetBeans
> settings: /Users/<username>/Library/Application Support/NetBeans
Comment 25 Antonin Nebuzelsky 2013-09-18 12:29:24 UTC
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8024987
Comment 26 Jan Peska 2013-09-18 13:04:51 UTC
As you can see in previous comment, JDK bug was filed. Unfortunately I don't see any simple hot-fix on Netbeans side so we have to wait for a feedback from JDK team -> WONTFIX
Comment 27 swpalmer 2013-09-18 15:43:02 UTC
(In reply to Antonin Nebuzelsky from comment #25)
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8024987

This bug is not visible to me. 
   "This bug is not available."

Perhaps some Oracle person could make it so?
Comment 28 maxnitribitt 2013-09-19 09:31:50 UTC
(In reply to Jan Peska from comment #26)
> As you can see in previous comment, JDK bug was filed. Unfortunately I don't
> see any simple hot-fix on Netbeans side so we have to wait for a feedback
> from JDK team -> WONTFIX

Thanks for the evealuation and reporting the JDK-bug! Let's hope it gets fixed soon.
Comment 29 athompson 2013-09-19 11:09:28 UTC
(In reply to maxnitribitt from comment #24)
> I've uploaded the screenshots for my project. attachment 140206 [details]
> showing the projects properties with(out) the missing jdk 8 and attachment
> 140207 [details] where you can see it's available in the Tools- Java
> Platforms

Looking at those screenshots, I'd try removing everything from under Java Platforms and just adding JDK 1.7 and 1.8. You'll need to get the latest JDK versions for both from Sun's website. A few notes:

- JDK 1.7_u40 has been released, so get the final version and you don't need the
  previous version anymore
- since both JDK 1.7 and 1.8 have JavaFX built in, you don't need that separate
  JavaFX platform AFAIK
- it looks like NetBeans is still running with JDK 1.8 and not 1.7; make sure
  the "netbeans.conf" file is modified as mentioned above
- ensure you're running with at Netbeans 7.4 beta, or a later development build
Comment 30 swpalmer 2013-09-19 14:01:48 UTC
(In reply to athompson from comment #29)

> - since both JDK 1.7 and 1.8 have JavaFX built in, you don't need that
> separate
>   JavaFX platform AFAIK

Java 7u40 is no different than previous Java 7 releases in that JavaFX is still not on the classpath.  NB 7.4 makes the same incorrect assumption that JavaFX in 7u40 is like JavaFX in Java 8 and that makes it impossible to work with JavaFX on NB 7.4 with 7u40.
Comment 31 athompson 2013-09-19 16:42:10 UTC
(In reply to swpalmer from comment #30)
> Java 7u40 is no different than previous Java 7 releases in that JavaFX is
> still not on the classpath.  NB 7.4 makes the same incorrect assumption that
> JavaFX in 7u40 is like JavaFX in Java 8 and that makes it impossible to work
> with JavaFX on NB 7.4 with 7u40.

Not true! Starting with Java SE 7 Update 10, JavaFX SDK is cobundled with the JDK for Windows, Mac OS X, and Linux x86/x64.
Comment 32 swpalmer 2013-09-19 19:45:23 UTC
(In reply to athompson from comment #31)
> (In reply to swpalmer from comment #30)
> > Java 7u40 is no different than previous Java 7 releases in that JavaFX is
> > still not on the classpath.  NB 7.4 makes the same incorrect assumption that
> > JavaFX in 7u40 is like JavaFX in Java 8 and that makes it impossible to work
> > with JavaFX on NB 7.4 with 7u40.
> 
> Not true! Starting with Java SE 7 Update 10, JavaFX SDK is cobundled with
> the JDK for Windows, Mac OS X, and Linux x86/x64.

It is bundled but it is *not* on the classpath and must be added manually.  That was the entire point of having the NB extra step to configure a JavaFX platform.

It is still not on the classpath in 7u40.  It will be on the classpath by default only with java 8 and beyond.
Comment 33 athompson 2013-09-19 19:58:18 UTC
> It is bundled but it is *not* on the classpath and must be added manually. 
> That was the entire point of having the NB extra step to configure a JavaFX
> platform.
> 
> It is still not on the classpath in 7u40.  It will be on the classpath by
> default only with java 8 and beyond.

You sound quite sure of yourself, but perhaps you should actually try it...
Comment 34 swpalmer 2013-09-19 20:10:52 UTC
(In reply to athompson from comment #33)
> > It is bundled but it is *not* on the classpath and must be added manually. 
> > That was the entire point of having the NB extra step to configure a JavaFX
> > platform.
> > 
> > It is still not on the classpath in 7u40.  It will be on the classpath by
> > default only with java 8 and beyond.
> 
> You sound quite sure of yourself, but perhaps you should actually try it...

I have. I'm right.
Comment 35 swpalmer 2013-09-19 20:12:24 UTC
(In reply to athompson from comment #33)
> > It is bundled but it is *not* on the classpath and must be added manually. 
> > That was the entire point of having the NB extra step to configure a JavaFX
> > platform.
> > 
> > It is still not on the classpath in 7u40.  It will be on the classpath by
> > default only with java 8 and beyond.
> 
> You sound quite sure of yourself, but perhaps you should actually try it...

C:\dev\fxtest>"c:\Program Files (x86)\Java\jdk1.7.0_40\bin\javac.exe" Main.java
main.java:1: error: package javafx.application does not exist
import javafx.application.Platform;
                         ^
main.java:5: error: cannot find symbol
                System.out.println("JavaFX Platform thread? "+Platform.isFxApplicationThread());
                                                              ^
  symbol:   variable Platform
  location: class Main
2 errors

C:\dev\fxtest>"c:\Program Files (x86)\Java\jdk1.8.0\bin\javac.exe" Main.java

C:\dev\fxtest>
Comment 36 athompson 2013-09-19 20:43:09 UTC
Dude, that is not how NetBeans, Ant, Maven, or any build system works. That command would fail for any class with any dependency. I don't have time to go into the fundamentals of building a project, but to compile on the command line just go into the project folder and type "ant". You will need to first install ant if you don't already have it.
Comment 37 swpalmer 2013-09-19 22:17:40 UTC
(In reply to athompson from comment #36)
> Dude, that is not how NetBeans, Ant, Maven, or any build system works. That
> command would fail for any class with any dependency. I don't have time to
> go into the fundamentals of building a project, but to compile on the
> command line just go into the project folder and type "ant". You will need
> to first install ant if you don't already have it.

DUDE, that was simply proof that JavaFX is not on the classpath by default in Java 7u40 and that it is on the classpath by default in Java 8. (As shown, the command did NOT fail on Java 8.  You are wrong again.)

Go look again at comment #30

You need the JavaFX platform because that is how NB provides JavaFX support. Creating the JavaFX Platform is how NB knows to put JavaFX classes on the classpath - it is not treated as a "normal" library, precisely because it is co-bundled with the JDK/JRE and typically uses the javafxpackager instead of the usual tools for deployment.
Comment 38 Antonin Nebuzelsky 2013-09-20 10:53:47 UTC
*** Bug 235724 has been marked as a duplicate of this bug. ***
Comment 39 athompson 2013-09-20 14:44:54 UTC
DUDE, now you're simply pretending that running javac directly was what you were talking about all along to avoid admitting you were mistaken. The problem is (a) that clearly wasn't what you were talking about and (b) even if it were, you're still incorrect.

It's obvious that directly running javac wasn't what you were talking about because Max and I were discussing getting JavaFX projects to work in *NetBeans*. Specifically, I was saying that one didn't need to specify a separate JavaFX platform in addition to the JDK. You clearly knew this because you explicitly quoted it in your response. This is what you wrote in comment #30:

"Java 7u40 is no different than previous Java 7 releases in that JavaFX is still not on the classpath.  NB 7.4 makes the same incorrect assumption that JavaFX in 7u40 is like JavaFX in Java 8 and that makes it impossible to work with JavaFX on NB 7.4 with 7u40."

You were clearly talking about NetBeans as well, and *not* talking about directly running javac from the command line. If that were the case, what java platforms were specified in NetBeans would be completely irrelevant and your comment would have been completely irrelevant to what was being discussed. You were clearly wrong in your assertion that "NB 7.4 makes the same incorrect assumption that JavaFX in 7u40 is like JavaFX in Java 8 and that makes it impossible to work with JavaFX on NB 7.4 with 7u40.". This is easily refuted by actually trying it--something you should have done before putting your foot in your mouth.

Now this is the part where you claim that you've already proven your point and continuing to argue is pointless--so predictable. Grow up, stop pretending you are infallible, admit your mistakes, and move on.
Comment 40 swpalmer 2013-09-20 20:15:58 UTC
In Comment 33 I misunderstood what you were talking about.  I wrote, "It is still not on the classpath in 7u40.  It will be on the classpath by default only with java 8 and beyond.", and you replied right beneath with, "You sound quite sure of yourself, but perhaps you should actually try it..."

and yes I was sure of that, proved it to you etc..  but you were still referring to the part above that where I wrote, "...having the NB extra step to configure a JavaFX platform."

You are correct, the need for the "JavaFX Platform" was removed at some point during the development of 7.4.

Listen, I did try it with NB 7.4 as well.  At the time it failed, exactly in the manner I was describing.  The concept of creating a "JavaFX Platform" was still in 7.4 then and it failed to build existing JavaFX projects from 7.3.1.  (Issue 230521 was probably not as far along at the time.)

My mistake was not trying *again*, and I will fully admit that.

Your comment got me off on a tangent by mentioning the co-bundling of JavaFX with JDK 7 and 8 as if it was the reason that you didn't need this.  Up to a point you *did* need that JavaFX Platform even with the co-bundled JavaFX, *just as you still do for NB 7.3.1.*
NB 7.4 had the problem I described and it got fixed, great.  Sorry for the misunderstanding.  Let's move on.
Comment 41 weertj 2013-09-22 10:07:24 UTC
I think JDK 8-ea-b108 has solved the problem.
Comment 42 kecampbell 2013-09-22 19:21:59 UTC
My experience is that the problem is NOT resolved with at least the following config: 

Product Version: NetBeans IDE 7.4 Beta (Build 201307092200)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b50
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b108
System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/kec/Library/Application Support/NetBeans/7.4beta
Cache directory: /Users/kec/Library/Caches/NetBeans/7.4beta
Comment 43 kecampbell 2013-09-22 19:24:28 UTC
I didn't intend my comment to have any effect on the status... Seems bit odd that a comment would require selecting status, etc.
Comment 44 Jan Peska 2013-09-23 07:25:53 UTC
As you can  the JDK bug is still opened so there is no reason to reopen the bug.
Comment 45 LanceA 2013-09-27 19:56:36 UTC
I am also encountering this problem with the JDK 8 developers preview with NB 7.4 RC 1.

If I try the same thing using NB 7.3.1 against the same file, I do not have the problem.

I cannot even copy and paste within the same file with NB 7.4 RC1, yet I can take what I copied and put it into a terminal window

I am running OSX 10.8.5 fwiw.  Definitely a troublesome issue
Comment 46 weertj 2013-09-27 20:10:35 UTC
Yes, I was a bit quick with my reaction.
The bug is still there, for some reason the copy/paste works when using "split window".
Comment 47 arungupta 2013-09-30 22:30:27 UTC
Tried with Sep 30 nightly and 1.8.0-ea-b108 and still facing the problem.

This is basically making NetBeans unusable, yuck!
Comment 48 Marian Mirilovic 2013-10-17 08:02:51 UTC
*** Bug 236891 has been marked as a duplicate of this bug. ***
Comment 49 anewhope 2013-11-03 21:15:36 UTC
Netbeans DEV build from about week ago through 11/2
OSX 10.8.5 MacBook Pro Retina
JavaSE 8b113

I know this is for 7.4 but the dev build within the last week or so now does something slightly different.  Copy and Paste WITHIN the IDE now works but copy throws an exception (abbreviated below).  Also both copy from Netbeans to outside Netbeans and vice versa no longer work.

Here's the bug for the exception but it's marked closed and fixed in 110.  It hasn't been my experience that it was fixed in 110-113... this is still an issue.

https://bugs.openjdk.java.net/browse/JDK-8026262

java.lang.NullPointerException
	at java.awt.datatransfer.SystemFlavorMap.getAllNativesForType(SystemFlavorMap.java:1327)
	at java.awt.datatransfer.SystemFlavorMap.getNativesForFlavor(SystemFlavorMap.java:702)
...
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:435)
	at org.netbeans.NbClipboard.scheduleSetContents(NbClipboard.java:285)
Comment 50 Antonin Nebuzelsky 2013-11-04 11:58:58 UTC
(In reply to anewhope from comment #49)
> JavaSE 8b113
> 
> Here's the bug for the exception but it's marked closed and fixed in 110. 

That bug is marked as introduced in b110. It is fixed in "team" repository only so far.
Comment 51 soldatov 2013-11-05 19:09:39 UTC
*** Bug 238016 has been marked as a duplicate of this bug. ***
Comment 52 anewhope 2013-11-13 07:19:19 UTC
This appears to be fixed in 8b115.  I've tested a little bit and so far so good.  I can copy and paste inside and outside of Netbeans without error.  I'm using yesterday's dev build but it should also apply to the released version.

2f7f6995fa64	8026262	 NPE in SystemFlavorMap.getAllNativesForType - regression in jdk8 b110 by fix of #JDK-8024987
Comment 53 Antonin Nebuzelsky 2013-11-13 11:45:11 UTC
JDK8 b115 with the fixes is publicly available now.

https://jdk8.java.net/download.html

All reporters, please test with b115 and report back. Thanks.