java.lang.AssertionError: Action org.openide.actions.OpenAction may not be invoked from the thread main, 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$1.exec(CLIHandler.java:492) at org.netbeans.CLIHandler.finishInitialization(CLIHandler.java:339) at org.netbeans.Main.finishInitialization(Main.java:184) at org.netbeans.core.NonGui.run(NonGui.java:136) at org.netbeans.core.startup.Main.start(Main.java:387) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:90) [catch] at java.lang.Thread.run(Thread.java:595)