Error in Nuxeo Shell (Nuxeo 5.8)

Hi

here is the output of the simple cmds command using shell.jar

java.lang.StringIndexOutOfBoundsException: String index out of range: -18
    at java.lang.String.substring(Unknown Source)
    at org.nuxeo.shell.cmds.Commands.split(Commands.java:110)
    at org.nuxeo.shell.cmds.Commands.wrap(Commands.java:85)
    at org.nuxeo.shell.cmds.Commands.run(Commands.java:71)
    at org.nuxeo.shell.Shell.run(Shell.java:503)
    at org.nuxeo.shell.Shell.run(Shell.java:498)
    at org.nuxeo.shell.Shell.run(Shell.java:492)
    at org.nuxeo.shell.cmds.Interactive.run(Interactive.java:121)
    at org.nuxeo.shell.Shell.run(Shell.java:503)
    at org.nuxeo.shell.Shell.run(Shell.java:498)
    at org.nuxeo.shell.Shell.run(Shell.java:492)
    at org.nuxeo.shell.Shell.main(Shell.java:281)
    at org.nuxeo.shell.swing.ShellFrame.main(ShellFrame.java:59)

Any idea ?

0 votes

1 answers

1489 views

ANSWER



hello,

usually this error comes from a bad definition of custom Automation operations : are you in this case ?

Thank you

1 votes



I indeed have some custom operations How can I check which operation could be the cause of my trouble ?

The shell command does not raise any ERROR in server.log and everything 's fine about custom operations be it in the UI or when events are raised

11/27/2014

something the problem is related to the description of the operation. I don't have a howto to find the culprit, so I used to work step by step, disabling all operations at first to be sure the problem is there, and then enabing them one by one until I find the one which breaks the shell

Or you can have a closer look at your operation, sometimes it helps

11/27/2014

Okay thanks
11/27/2014