Cat Exception with Nuxeo IDE embedded shell
--------------------------------------------
Key: NXIDE-149
URL: https://jira.nuxeo.com/browse/NXIDE-149
Project: Nuxeo ECM IDE
Issue Type: Bug
Affects Versions: 1.1
Environment: Nuxeo DM 5.5
Reporter: Benjamin Jalon
Assignee: Bogdan Stefanescu
Priority: Major
Fix For: 1.2
- I connect with the Nuxeo IDE embedded shell to my local Nuxeo DM instance
- I move to the default domain : cd default-domain
- I type : cat
Exception returned:
{quote}
java.lang.IllegalArgumentException: Invalid date value 2011-11-28T11:22:24Z
at
org.nuxeo.ecm.automation.client.jaxrs.model.DateUtils.parseDate(DateUtils.java:37)
at
org.nuxeo.ecm.automation.client.jaxrs.model.PropertiesHelper.getDate(PropertiesHelper.java:85)
at
org.nuxeo.ecm.automation.client.jaxrs.model.PropertyMap.getDate(PropertyMap.java:102)
at
org.nuxeo.ecm.automation.client.jaxrs.model.PropertyMap.getDate(PropertyMap.java:62)
at
org.nuxeo.ecm.automation.client.jaxrs.model.Document.getLastModified(Document.java:87)
at org.nuxeo.shell.automation.cmds.Cat.print(Cat.java:77)
at org.nuxeo.shell.automation.cmds.Cat.run(Cat.java:62)
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.ide.shell.views.ShellView$2.run(ShellView.java:54)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.text.ParseException: Unparseable date: "2011-11-28T11:22:24Z"
at java.text.DateFormat.parse(DateFormat.java:337)
at
org.nuxeo.ecm.automation.client.jaxrs.model.DateUtils.parseDate(DateUtils.java:35)
... 16 more
[quote}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets