Menu

cannot get it to work

Help
2006-03-28
2013-04-25
  • amr roushdi

    amr roushdi - 2006-03-28

    I hace installed the shell and I have 2 views . How to execute a command . I type a command dir for example , press enter nothing happens . No errors as well . i have also content assist callout ; I press ctrl + space nothing happens either .

    any documentation for this wicked plugin .

    thks

     
    • S. Reichert

      S. Reichert - 2006-03-28

      Hi,
      unfortunately, I haven't had time to write a documentation, therefor I'll try to give support on this way.

      Usually, if you open the Shell (Window-Show View-Others...-Wicked Shell-Shell) You should see the first printout of the Windows Shell (Microsoft Windows XP [Version 5.1.2600] -(C) Copyright 1985-2001 Microsoft Corp. for example). The caret should be placed after the current path (i.e. C:\Windows\). Now you should have command completion on (Ctrl+Space) depending on your prefernces). When typing 'dir' and hitting 'Enter' the 'dir'-command should be executed.

      What type of OS do you use (Wicked Shell is just tested under Windows, there are definetly bugs under Linux/MAC)?

      Regards Stefan

       
    • amr roushdi

      amr roushdi - 2006-03-30

      Hi Stefan ,
      thank u for ur reply .
      I am using WinXP and eclipse levels 310
      I do not get the system prompt no carret either .
      Do u require special frame work may i have not installed ..

       
    • S. Reichert

      S. Reichert - 2006-04-01

      Hi,

      if i get that right, the Shell View does not contain any text after opening?
      Have you tried to execute (using the Windows-'Start' menu) cmd.exe? It seems that Your OS does not allow that. Do you have any Exception output in your eclipse exception output file in .metadata?

      Regards Stefan

       
    • amr roushdi

      amr roushdi - 2006-04-04

      HI
      I tried to run the cmd exe it works fine with the start menu ;

      here is the exception thrown .

      THANKS FOR UR HELP

      MESSAGE java.lang.NullPointerException
      !STACK 0
      java.lang.NullPointerException
          at net.sf.wickedshell.assist.completion.CompletionFactory.getCurrentPathCompletions(CompletionFactory.java:104)
          at net.sf.wickedshell.util.assist.ShellContentAssistProcessor.getPossibleCompletions(ShellContentAssistProcessor.java:85)
          at net.sf.wickedshell.util.assist.ShellContentAssistProcessor.computeCompletionProposals(ShellContentAssistProcessor.java:103)
          at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1478)
          at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:300)
          at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$13(CompletionProposalPopup.java:298)
          at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:261)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
          at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:256)
          at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1352)
          at org.eclipse.ui.contentassist.ContentAssistHandler$4.execute(ContentAssistHandler.java:220)
          at org.eclipse.core.commands.Command.execute(Command.java:311)
          at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:396)
          at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:459)
          at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:781)
          at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:828)
          at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:550)
          at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:493)
          at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:117)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
          at org.eclipse.swt.widgets.Display.filterEvent(Display.java:917)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
          at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:880)
          at org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1154)
          at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:876)
          at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1190)
          at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3135)
          at org.eclipse.swt.widgets.Text.WM_CHAR(Text.java:1782)
          at org.eclipse.swt.widgets.Control.windowProc(Control.java:3038)
          at org.eclipse.swt.widgets.Text.windowProc(Text.java:1777)
          at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
          at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
          at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
          at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
          at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
          at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
          at org.eclipse.core.launcher.Main.run(Main.java:973)
          at org.eclipse.core.launcher.Main.main(Main.java:948)

       
    • S. Reichert

      S. Reichert - 2006-04-04

      Hi,
      OK, your Exception is caused by the command completion at the point where your current path is inspected. You said, your shell textarea is empty, therefore there is no current path displayed in the last row (e.g. D:\temp>) and that causes the NPE. You might try to disable the command completion in the preference page (simply uncheck every suggestion) to avoid the NPE.
      But that should not be the main problem, that would be why your cmd.exe is not producing any text output.
      Is there any other Exception in the error log?

      Sorry that I cannot assist you more detailed!
      Regards Stefan

       
    • amr roushdi

      amr roushdi - 2006-04-04

      Hi Stefan
      Thank u for ur immediate response . I have disabled all the auto completion started eclipse cleanly ( -clean ) and still have the problem. what is amazing I do not have either wicked shell in the log
      here is the log of one session .
      !SESSION 2006-04-04 10:40:38.120 -----------------------------------------------
      eclipse.buildId=I20050627-1435
      java.version=1.5.0_05
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Command-line arguments:  -os win32 -ws win32 -arch x86 -clean

      !ENTRY org.eclipse.ui 1 0 2006-04-04 10:40:46.744
      !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-04 10:40:46.744
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.togglecomment'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-04 10:40:46.744
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.contentassist'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-04 10:40:46.744
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.htmlexport'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-04 10:40:46.744
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.validatesyntax'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-04 10:40:46.744
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.formatsource'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-04 10:40:46.744
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.openDeclaration'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-04 10:40:46.744
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.searchPerlDoc'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-04 10:40:46.744
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.jump2Bracket'.

      !ENTRY org.eclipse.ui 2 0 2006-04-04 10:40:46.915
      !MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
      !SUBENTRY 1 org.eclipse.ui 2 0 2006-04-04 10:40:46.915
      !MESSAGE Cannot bind to an undefined command: plug-in='org.epic.perleditor', commandId='org.epic.eclipse.perleditor.togglecomment'.

      thks again

       
    • S. Reichert

      S. Reichert - 2006-04-04

      OK, when you now open the Shell View, Wicked Shell tries to open a cmd.exe process. Every text input you make is transferred to this cmd.exe process. Every text output of the process is transferred to your Shell View. Do you get any error output when you open the Shell View?

       
    • amr roushdi

      amr roushdi - 2006-04-04

      I do not see errors eitherin the shell area  . and the error listner reports 04. Apr 2006 10:58:45 # Shell Error Display is listening...
      I am on java 1.5.05 maybe here is a problem.
      thks

       
    • S. Reichert

      S. Reichert - 2006-04-04

      I have to admit that I haven't tested Wicked Shell with Java 1.5 so you might be right. If I find some time, I'll give it a go. Anyway does the exception output of the eclipse state any error? If not, I have to ask you for some patience until I doublechecked myself with 1.5. It might be that the Runtime Interface changed somehow.

      Regards Stefan

       
      • amr roushdi

        amr roushdi - 2006-04-04

        Stefan thank u for ur patience . I will wait for ur tests . I am monitoring the forum , so when u feel ready to give it another try with me . pls post a message here
        thks again for ur time

         
        • S. Reichert

          S. Reichert - 2006-04-04

          No worries :)

           
    • amr roushdi

      amr roushdi - 2006-04-04

      Stefan on more thing . I tried on eclipse 302 and Java 1.5 and it works like a charm . i think the problem is in 31
      thanks 

       
    • S. Reichert

      S. Reichert - 2006-04-04

      Wonderful, hope it serves all right!

      Regards Stefan

       
      • amr roushdi

        amr roushdi - 2006-04-04

        it is a wonderful tool . Appreciate if u can upgrade it to 31X . I am using 31X.
        thks

         
    • S. Reichert

      S. Reichert - 2006-04-04

      Actually a collegue of mine just had a try with Java 1.5 and Eclipse 3.2 and it seemed to work alright. Maybe you want to upgrade your eclipse?

      I will still doublecheck with the comination Java 1.5 and Eclipse 3.1 though...because I am using Java 1.4.2 and Eclipse 3.1 and it works...

      Regards Stefan

       
    • François Beaubert

      Hi Stefan,

      I think that it is a wonderful tool but I'm unable to make it work under Linux (bash login shell) ...

      I've read ths discussion and have some errors too
      When I start a new shell, I've nothing in the sellwindow and I'm unable to enter something with the keyboard.

      I've tried Eclipse 3.1.X and 3.2 with both Java 1.5 and 1.4.2

      Keep going the good work, I think that this kind of plugin was missing in Eclipse

      Francois

       
      • S. Reichert

        S. Reichert - 2006-04-07

        Hi Froncois,

        thanks for trying it under Linux. I haven't had the time to give it try under Linux, I have to appologize. But when I find some spare time, I'll definetly get it going with teh penguin as well.

        Regards Stefan

         
    • amr roushdi

      amr roushdi - 2006-04-10

      Hi Stefan
      using 312 i get the following errors , I am using the latest wicked shell .
      thks

      10. Apr 2006 10:33:37 # Shell Error Display is listening...

      10 Apr 2006 10:33:37 # Exception occured: java.lang.IllegalArgumentException --- Empty command
      Please refer to error log for further details. The setup of Wicked Shell failed.

      Exception occured: java.lang.IllegalArgumentException --- Empty command
      Please refer to error log for further details. The setup of Wicked Shell failed.

      the log itself
      !SESSION 2006-04-10 10:32:40.203 -----------------------------------------------
      eclipse.buildId=M20060118-1600
      java.fullversion=J2RE 1.4.2 IBM Windows 32 build cn142-20050609 (JIT enabled: jitc)
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Command-line arguments:  -os win32 -ws win32 -arch x86 -clean

      !ENTRY org.eclipse.ui 1 0 2006-04-10 10:33:27.531
      !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-10 10:33:27.531
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.togglecomment'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-10 10:33:27.531
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.contentassist'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-10 10:33:27.531
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.htmlexport'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-10 10:33:27.531
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.validatesyntax'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-10 10:33:27.531
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.formatsource'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-10 10:33:27.531
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.openDeclaration'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-10 10:33:27.531
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.searchPerlDoc'.
      !SUBENTRY 1 org.eclipse.ui 1 0 2006-04-10 10:33:27.531
      !MESSAGE Commands should really have a category, not categoryId='': plug-in='org.epic.perleditor', commandId='org.epic.perleditor.jump2Bracket'.

      !ENTRY org.eclipse.ui 2 0 2006-04-10 10:33:28.172
      !MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
      !SUBENTRY 1 org.eclipse.ui 2 0 2006-04-10 10:33:28.172
      !MESSAGE Cannot bind to an undefined command: plug-in='org.epic.perleditor', commandId='org.epic.eclipse.perleditor.togglecomment'.

       
      • S. Reichert

        S. Reichert - 2006-04-10

        OK,

        could you please run the simple program

        public static void main(String[] args){
           System.out.println(System.getProperty("os.name");
        }

        and tell me the console output. It seems that my OS detection lacks of your os name...

        Thanks a lot for your help!!!

        Regards Stefan

         
    • amr roushdi

      amr roushdi - 2006-04-10

      hi stephan i had some difficulties running ur script  i am not a java man however succeeded here is the modified version

      public class testos {
      public static void main(String args[]) {
        System.out.println(System.getProperty("os.name"));
      }
      }

      No here what it says
      G:\>java testos
      Windows 2003

      thks for ur help

       
      • S. Reichert

        S. Reichert - 2006-04-10

        Here we go, I do not consider the return value 'Windows 2003'. I'll update the current release today evening and post here when I am done. After downloading the 1.2.0 Version again, everything should just work fine!

        Thanks again for your help.

        Regards Stefan

         
      • S. Reichert

        S. Reichert - 2006-04-10

        Hi there,

        you can now download the 1.2.0 version again, everything should now work just fine. Please give me a feedack whether it does is job or not.

        Thanks in advance,
        Stefan

         
    • amr roushdi

      amr roushdi - 2006-04-11

      Hi Stephan . I downloaded the last driver and it works like a charm .
      thanks again

       

Log in to post a comment.

MongoDB Logo MongoDB