Uploaded image for project: 'Nuxeo IDE'
  1. Nuxeo IDE
  2. NXIDE-149

Cat Exception with Nuxeo IDE embedded shell

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1, 1.2
    • Environment:
      Nuxeo DM 5.5

      Description

      • 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:

      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
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: