cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Nuxeo Shell (Nuxeo 5.8)

pibou_Bouvret
Elite Collaborator
Elite Collaborator

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 ?

1 ACCEPTED ANSWER

Thierry_Martins
Star Collaborator
Star Collaborator

hello,

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

Thank you

View answer in original post

4 REPLIES 4

Thierry_Martins
Star Collaborator
Star Collaborator

hello,

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

Thank you

I indeed have some custom operations

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

Okay thanks

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.