Exception in thread "Computes values in handlers" 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:171) at org.netbeans.CLIHandler.access$000(CLIHandler.java:40) at org.netbeans.CLIHandler$1ComputingAndNotifying.run(CLIHandler.java:856)