【问题标题】:OpsHub Visual Studio Online Migration Utility - Error saving configuration OpsHub-001105OpsHub Visual Studio 在线迁移实用程序 - 保存配置时出错 OpsHub-001105
【发布时间】:2017-06-28 14:17:35
【问题描述】:

在 OpsHub Visual Studio 在线迁移实用程序中,在新迁移上按“完成”时出现错误。

错误信息说:

由于以下原因,配置失败: com.opshub.exceptions.DataValidationException:Opshub-001105:不能 解析日期“Thu Jan 01 1970 01:00:00”。预期格式 EE MMM d yyyy 时:分:秒

我们已尝试将区域设置更改为“英语(美国)”并重新启动服务器,但没有帮助。

OpsHub.log 中的最后一个条目:

        06/23/2017 10:50:06,644 ERROR [http-nio-8989-exec-7] (com.opshub.eai.config.service.ConfigServiceImpl) - OpsHub-001105: Can not parse date "Thu Jan 01 1970 01:00:00". Expected format EEE MMM d yyyy H:m:s
    com.opshub.exceptions.DataValidationException: OpsHub-001105: Can not parse date "Thu Jan 01 1970 01:00:00". Expected format EEE MMM d yyyy H:m:s
        at com.opshub.utils.DateUtils.convertStringToCalendar(DateUtils.java:235)
        at com.opshub.utils.DateUtils.convertDateStringToTimeStamp(DateUtils.java:218)
        at com.opshub.eai.business.EaiConfigBO.insertPollingTimeKeyForAudit(EaiConfigBO.java:1072)
        at com.opshub.eai.business.EaiConfigBO.createOrUpdateEAIConnector(EaiConfigBO.java:382)
        at com.opshub.eai.config.business.ConfigServiceBusiness.createIntegration(ConfigServiceBusiness.java:1320)
        at com.opshub.eai.config.business.ConfigServiceBusiness.generateIntegrationsAndMappings(ConfigServiceBusiness.java:1049)
        at com.opshub.eai.config.business.ConfigServiceBusiness.generateIntegrationAndMappings(ConfigServiceBusiness.java:504)
        at com.opshub.eai.config.service.ConfigServiceImpl.generateIntegration(ConfigServiceImpl.java:197)
        at com.opshub.eai.config.service.ConfigServiceImpl.generateIntegrations(ConfigServiceImpl.java:159)
        at com.opshub.eai.config.service.ConfigServiceImpl$$EnhancerByCGLIB$$93f9f889.CGLIB$generateIntegrations$11(<generated>)
        at com.opshub.eai.config.service.ConfigServiceImpl$$EnhancerByCGLIB$$93f9f889$$FastClassByCGLIB$$d590bcb9.invoke(<generated>)
...

【问题讨论】:

  • 您使用的OVSMU是什么版本的?
  • 版本为v2.6.1.001
  • 你们操作系统的数据和时间格式是什么?如果将区域位置和格式更改为波兰,结果如何?
  • 改到波兰没有帮助。同样的错误。
  • 你们操作系统的数据和时间格式是什么?

标签: azure-devops opshub


【解决方案1】:

这是工具中正在修复的问题。在此之前,此问题的解决方法是将机器区域设置更改为“美国”。

一旦您更改了区域设置(通过以某个机器用户身份登录),您必须配置您的操作系统以该用户身份运行该工具(因为默认情况下“本地系统”运行大多数服务)。因此,打开 services.msc,找到名为“OpsHub Visual Studio Online Migration Utility”的服务,并将其登录用户更改为您更改的区域设置。

现在,重新启动该实用程序,解决方法应该可以帮助您避免错误。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-05-18
    • 1970-01-01
    • 1970-01-01
    • 2014-09-08
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多