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: | SecurityException when pasting text | ||
---|---|---|---|
Product: | platform | Reporter: | err <err> |
Component: | Window System | Assignee: | Stanislav Aubrecht <saubrecht> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | issues, jtulach, mpetras, mslama |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | complete exception stacktrace |
Description
err
2009-01-07 05:30:36 UTC
Created attachment 75519 [details]
complete exception stacktrace
Probably not a P2 (?) > Probably not a P2 (?)
It does hang the IDE. (Though I'm hoping I can hack around it)
I forgot to include platform info. NOTE: does not fail on windows. This is on Linux (Ubuntu 8.04 32-bit). NetBeans 6.5 or NetBeans 7.0 dev. jVi 1.2.1.alpha1 (NetBeans module ver. 1.2.1.12) JDK 1.6.0_11 (aka JDK 6u11) I'm totally lost here... Hopefully somebody from core/winsys people could help. perhaps netbeans clipboard implementation isn't loaded because of ergonomics? is the bug reproducible with ergonomics cluster turned off I guess ergonomics started after NB 6.5 so it cannot cause this bug. > I guess ergonomics started after NB 6.5 so it cannot cause this bug.
right, i didn't notice it was reported against 6.5
but unless there are some steps to reproduce this bug i can't do anything about it
The steps to reproduce are in the initial description of the bug. the problem is that jvi search field selects the pasted text which on linux copies the text back to system clipboard i presume. however this means that system clipboard is accessed from javax.swing.TransferHandler$TransferAction (the original paste action) so netbeans security manager thinks somebody's trying to bypass our ExClipboard implemenation. i recommend adding SwingUtilities.invokeLater to com.raelity.jvi.Search$SearchListener.insertUpdate(Search.java:193) |