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 182061 - IllegalStateException: No paste types available when performing paste action. ActionEvent: java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=M-V,when=0,modifiers=] on frame1
Summary: IllegalStateException: No paste types available when performing paste action....
Status: RESOLVED DUPLICATE of bug 186328
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-15 16:18 UTC by Alexander Pepin
Modified: 2010-05-25 07:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151843


Attachments
stacktrace (1.81 KB, text/plain)
2010-03-15 16:18 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2010-03-15 16:18:41 UTC
Build: NetBeans IDE Dev (Build 201003140200)
VM: Java HotSpot(TM) Client VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X

User Comments:
GUEST: Pasting an SQL query: DELETE FROM XXX WHERE YYY = 'ZZZ';
This has been pasted from the clipboard, but the paste into the SQL editor didn't work.

apepin: tried to paste address into MemoryView while debugging Welcome sample (CND)




Stacktrace: 
java.lang.IllegalStateException: No paste types available when performing paste action. ActionEvent: java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=M-V,when=0,modifiers=] on frame1
   at org.openide.actions.PasteAction.actionPerformed(PasteAction.java:206)
   at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:106)
   at org.netbeans.core.windows.ShortcutAndMenuKeyEventProcessor.processShortcut(ShortcutAndMenuKeyEventProcessor.java:331)
   at org.netbeans.core.windows.ShortcutAndMenuKeyEventProcessor.postProcessKeyEvent(ShortcutAndMenuKeyEventProcessor.java:166)
   at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:722)
   at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
Comment 1 Alexander Pepin 2010-03-15 16:18:48 UTC
Created attachment 95202 [details]
stacktrace
Comment 2 Jaroslav Tulach 2010-03-22 14:36:28 UTC
Not that common, making P4.
Comment 3 Quality Engineering 2010-03-23 05:09:35 UTC
Integrated into 'main-golden', will be available in build *201003230200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a8cb534ee221
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #182061: To allow NetBeans to read from System.in, we need to directly invoke the child process and not start it on background
Comment 4 Jaroslav Tulach 2010-05-24 08:04:56 UTC

*** This bug has been marked as a duplicate of bug 186328 ***
Comment 5 Quality Engineering 2010-05-25 07:30:12 UTC
Integrated into 'main-golden', will be available in build *201005250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8cb5b7378384
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #186328, #182061: In case someone calls the paste action directly, delegate to first available paste type