Insight Discovery tool scan fails with "Error loading AssetHistory"

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

Insight Discovery tool is unable to perform scanning with errors below in the log.

9/23/2021 9:06:29 AM : Error loading AssetHistory.
9/23/2021 9:06:29 AM : Exceptions:
9/23/2021 9:06:29 AM : Attempting to deserialize an empty stream.
  at Insight.Discovery.Tools.ObjectSerializer.DeserializeObject[T](String file, SerializeType sType) in C:\SourceCode\discovery_repo\DiscoTools\ObjectSerializer.cs:line 125
  at Insight.Discovery.InfoClasses.AssetHistoryList.Load(String appPath) in C:\SourceCode\discovery_repo\InfoClasses\AssetHistoryList.cs:line 415
...
9/23/2021 9:06:38 AM : Error adding item to history list.
9/23/2021 9:06:38 AM : Exceptions:
9/23/2021 9:06:38 AM : Object reference not set to an instance of an object.
  at Insight.Discovery.InfoClasses.AssetHistoryList.Add(AssetHistoryDto item) in C:\SourceCode\discovery_repo\InfoClasses\AssetHistoryList.cs:line 90

診断

環境

  • All versions of the Insight Discovery tool

原因

The cause of why AssetHistory can't be loaded/added with new items is unknown

回避策

  1. Stop the Discovery service.

  2. Remove the AssetHistory.dat file from the Discovery folder.
  3. Start the Discovery service again and launch a scan that failed previously or wait for the next scheduled scan.



説明 Insight Discovery tool scan fails with "Error loading AssetHistory"
製品Insight Discovery
最終更新日 2021 年 11 月 11 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.