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 235724

Summary: Paste stops working on file-types
Product: platform Reporter: brettryan <brettryan>
Component: ActionsAssignee: Jan Peska <JPESKA>
Status: RESOLVED DUPLICATE    
Severity: normal CC: anebuzelsky
Priority: P3 Keywords: JDK_8
Version: 7.4   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description brettryan 2013-09-10 02:32:54 UTC
Today I'm finding that paste just won't work, either via the menu or through the hotkey. There have been two notable instances.

1). I could copy and paste within Java files, I could copy from one file or same and paste back, but I could not paste into any JSP file
2). The reverse happened, I could copy and paste within JSP files, but not Java files.

In both cases I could paste into other parts of the ide, like the search bar for example.

Product Version = NetBeans IDE Dev (Build 201309090001)
Operating System = Mac OS X version 10.8.4 running on x86_64
Java; VM; Vendor = 1.8.0-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b45
Comment 1 Antonin Nebuzelsky 2013-09-19 14:09:34 UTC
Is your case different or in fact identical to issue 230061, which was escalated to JDK as the following bug?

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8024987
Comment 2 brettryan 2013-09-19 14:23:56 UTC
Antonin, actually that is exactly the issue. I have found several compatibility issues with JDK8.

I do apologize, I do mean to use JDK7 when starting but when using dailies I often forget to update net beans.conf. There isn't a way to set the NB JDK from my home dir or something?
Comment 3 Antonin Nebuzelsky 2013-09-20 10:53:07 UTC
(In reply to brettryan from comment #2)
> I do apologize,

No need to. It's good to have bugs reported early.

> I do mean to use JDK7 when starting but when using dailies I
> often forget to update netbeans.conf. There isn't a way to set the NB JDK
> from my home dir or something?

Instead of editing netbeans.conf you can create your script to run NetBeans with --jdkhome parameter. Not sure though if on OS-X you can register the script as an app with an icon, or you may need to run the script from console.
Comment 4 Antonin Nebuzelsky 2013-09-20 10:53:47 UTC

*** This bug has been marked as a duplicate of bug 230061 ***