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 62857 - netbeans --open f.java does not work
Summary: netbeans --open f.java does not work
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Open File (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: REGRESSION, THREAD
: 62929 63290 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-23 13:47 UTC by Jaroslav Tulach
Modified: 2005-09-05 10:13 UTC (History)
2 users (show)

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 Jaroslav Tulach 2005-08-23 13:47:00 UTC
java.lang.AssertionError: Action org.openide.actions.OpenAction may not be 
invoked from the thread Computes values in handlers, only the event queue: 
http://www.netbeans.org/download/4_1/javadoc/OpenAPIs/apichanges.html#actions-event-thread 
        at 
org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:35) 
        at 
org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:226) 
        at 
org.netbeans.modules.openfile.DefaultOpenFileImpl.open(DefaultOpenFileImpl.java:443) 
        at org.netbeans.modules.openfile.OpenFile.openFile(OpenFile.java:77) 
        at 
org.netbeans.modules.openfile.CallbackImpl.open(CallbackImpl.java:31) 
        at org.netbeans.modules.openfile.cli.Handler.openFile(Handler.java:74) 
        at org.netbeans.modules.openfile.cli.Handler.cli(Handler.java:93) 
        at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:170) 
        at org.netbeans.CLIHandler.access$000(CLIHandler.java:39) 
        at 
org.netbeans.CLIHandler$1ComputingAndNotifying.run(CLIHandler.java:824)
Comment 1 Jiri Rechtacek 2005-08-29 16:32:12 UTC
Maybe I'm wrong but why DefaultOpenFileImpl doesn't replann open action to EQ?
Marian, could you look over there? Thanks
Comment 2 Marian Petras 2005-08-30 09:11:21 UTC
*** Issue 62929 has been marked as a duplicate of this issue. ***
Comment 3 Marian Petras 2005-08-30 09:11:32 UTC
*** Issue 63290 has been marked as a duplicate of this issue. ***
Comment 4 Tomas Stupka 2005-08-30 10:54:35 UTC
Fixed in trunk.

Modified files:
 /utilities/src/org/netbeans/modules/openfile/DefaultOpenFileImpl.java
Comment 5 Jesse Glick 2005-08-30 18:33:13 UTC
That seems to have done the trick, thanks.