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 10458 - Exception thrown after Copy on action in action pool
Summary: Exception thrown after Copy on action in action pool
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: akemr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-19 11:40 UTC by iformanek
Modified: 2008-12-22 19:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2001-03-19 11:40:01 UTC
This exception was thrown after Copy (both via keybord and from the menu) on 
the Print action in the action pool (Tools | Options, Actions | System | Print).
Windows 2000, JDK 1.3.1, Build 6 of NB 3.2

Mon Mar 19 12:34:37 CET 2001java.lang.ClassCastException: null
Annotation: Exception occurred in Request Processor
Nested annotation: org.openide.loaders.InstanceDataObject
org.openide.util.RequestProcessor$Holder(task 
org.netbeans.core.ModuleActions$1@3e0d14 [-50, 1])
        at org.openide.util.RequestProcessor$Task.createHolder
(RequestProcessor.java:274)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:98)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:71)
        at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:89)
        at org.netbeans.core.windows.frames.NbFocusManager.processKeyStroke
(NbFocusManager.java:231)
        at org.netbeans.core.windows.frames.NbFocusManager.processEvent
(NbFocusManager.java:192)
[catch] at org.netbeans.core.windows.frames.NbFocusManager$1.run
(NbFocusManager.java:159)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
 
Mon Mar 19 12:34:37 CET 2001java.lang.ClassCastException: 
org.openide.loaders.InstanceDataObject
java.lang.ClassCastException: org.openide.loaders.InstanceDataObject
        at sun.awt.windows.WDataTransferer.translateTransferable
(WDataTransferer.java:390)
        at sun.awt.DataTransferer.translateTransferable(DataTransferer.java:245)
        at sun.awt.windows.WClipboard.setContents(WClipboard.java:69)
        at org.netbeans.core.CoronaClipboard.setContents
(CoronaClipboard.java:153)
        at 
org.openide.explorer.ExplorerActions$CopyCutActionPerformer.performAction
(ExplorerActions.java:376)
        at org.openide.util.actions.CallbackSystemAction.performAction
(CallbackSystemAction.java:78)
        at org.openide.util.actions.CallableSystemAction.actionPerformed
(CallableSystemAction.java:66)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:76)
        at org.openide.util.Task.run(Task.java:124)
[catch] at org.openide.util.RequestProcessor$ProcessorThread.run
(RequestProcessor.java:567)
Comment 1 Jan Zajicek 2001-03-20 16:51:45 UTC
Not able to reproduce on Solaris with NB32 #8. Assigning to Ales.
Comment 2 akemr 2001-03-21 07:53:13 UTC
Strange, I cannot reproduce this bug too. I used NB32 builds #6 and #9, Windows 
2000.

What about installation? Are you install it as upgrage (something was in USER 
dir) of some older build?
Comment 3 Petr Hrebejk 2001-03-22 13:27:35 UTC
Hint, The only platform I reproduced the bug is on W2000 JDK 1.3.1 beta

It seems to work well with 1.3 on Windows and even with 1.3.1 on Linux.
Comment 4 akemr 2001-04-02 08:33:01 UTC
Fixed. Fix will be in dev build #159 and release32 build #19
Comment 5 Jan Chalupa 2001-05-05 20:52:59 UTC
Target milestone 3.2
Comment 6 Quality Engineering 2003-07-01 16:30:58 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.