OsuSync/OsuRTDataProvider

When launch the Sync when Playing or Replaying,a lot of NullReferenceException were thrown.

Someone999 opened this issue · 13 comments

[23:53:03] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
↓This is the Last Exception in this period.↓
[23:53:10] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 RealTimePPDisplayer.DisplayerController.RtppOnStatusChanged(OsuStatus last, OsuStatus cur)
在 OsuRTDataProvider.Listen.OsuListenerManager.OnStatusChangedEvt.Invoke(OsuStatus last_status, OsuStatus status)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()

update OsuRTDataProvider

I ran "plugin updates" before it.Update should be successful.

I confirmed the ortdp is up-to-date

The first time of play is also.

The Version of ORTDP in plugin list is 1.5.15

Can you give me the full log?

Wait for a minute

I can not upload the log file.
There is the Text.
[18:14:46] Loading....
[18:14:47] Load InternalPlugin ...
[18:14:47] Beatmap Suggest Command By Dark Projector
[18:14:47] Load Beatmap Suggest Command ...
[18:14:47] Load ConfigGUI ...
[18:14:47] Load Tray ...
[18:14:47] Load Default Plug-ins ...
[18:14:47] Default Plugin by Deliay
[18:14:47] Load Now Playing ...
[18:14:47] Now Playing By Deliay, DarkProjector
[18:14:47] MSN类注册成功!
[18:14:47] Load OsuRTDataProvider ...
[18:14:47] OsuRTDataProvider By KedamaOvO
[18:14:47] Load RealTimePPDisplayer ...
[18:14:47] RealTimePPDisplayer By KedamaOvO Ver.1.8.7
[18:14:47] OnlineBeatmaps Class
[18:14:47] Load InfoReader ...
[18:14:47] Load Default GUI ...
[18:14:47] Default GUI by Deliay : )
[18:14:47] Load IngameOverlay ...
[18:14:48] Loaded 11 Plugins
[18:14:48] Loaded 2 Sources
[18:14:48] Loaded 1 Clients
[18:14:48] Loaded 41 Commands
[18:14:48] Loaded 8 Filters
[18:14:48] ORTDP初始化完成
[18:14:48] [InfoReader] 插件初始化完成
[18:14:48] [Overlay] Now you can type 'overlay osu' or 'o osu' to open 'osu! with overlay' .
[18:14:48] Done
[18:14:48] [ConfigGUI]Enter "config" to open the configuration panel.
[18:14:48] [OsuRTDataProviderPlugin]Tourney Mode: False
[18:14:48] SyncPPInfo初始化完成
[18:14:48] Fetch Sync update..
[18:14:50] osu!Live Sync ver 2.18.2.0
[18:14:50] Type 'help' command for help
[18:15:10] [OsuRTDataProviderPlugin]ForceOsuSongsDirectory:
[18:15:10] [OsuRTDataProviderPlugin]The ForceOsuSongsDirectory does not exist, try searching for the songs path.
[18:15:10] [OsuRTDataProviderPlugin]OSU Client Verison:b20200208 ORTDP Version:1.5.15
[18:15:10] [OsuRTDataProviderPlugin]Osu Path: D:\a\s\osu\osu!
[18:15:10] [OsuRTDataProviderPlugin]Beatmap Path: D:\a\s\osu\osu!\Songs
[18:15:10] [OsuRTDataProviderPlugin][ID:0]Found osu!.exe process
[18:15:10] [OsuRTDataProviderPlugin][ID:0]Init StatusFinder Failed! Retry after 3 seconds
[18:15:13] [OsuRTDataProviderPlugin][ID:0]Init StatusFinder Success!
[18:15:13] [OsuRTDataProviderPlugin]osu!version compatible condition: 20200208 < 20190816 ?
[18:15:13] [OsuRTDataProviderPlugin][ID:0]Init BeatmapFinder Success!
[18:15:19] [OsuRTDataProviderPlugin][ID:0]Init PlayFinder Success!
[18:15:19] [OsuRTDataProviderPlugin][ID:0]Init ModeFinder Success!
[18:15:19] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnStatusChanged(OsuStatus last_status, OsuStatus status)
在 OsuRTDataProvider.Listen.OsuListenerManager.OnStatusChangedEvt.Invoke(OsuStatus last_status, OsuStatus status)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:19] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:19] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:19] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:20] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:20] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:20] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:20] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:20] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:23] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:23] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:23] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:23] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:24] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:24] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:25] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
[18:15:25] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnHealthPointChanged(Double hp)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()
and more same exception

if I start game after launched Sync
[18:17:04] Loading....
[18:17:04] Load InternalPlugin ...
[18:17:04] Beatmap Suggest Command By Dark Projector
[18:17:04] Load Beatmap Suggest Command ...
[18:17:04] Load ConfigGUI ...
[18:17:04] Load Tray ...
[18:17:04] Load Default Plug-ins ...
[18:17:04] Default Plugin by Deliay
[18:17:04] Load Now Playing ...
[18:17:04] Now Playing By Deliay, DarkProjector
[18:17:04] MSN类注册成功!
[18:17:04] Load OsuRTDataProvider ...
[18:17:04] OsuRTDataProvider By KedamaOvO
[18:17:04] Load RealTimePPDisplayer ...
[18:17:04] RealTimePPDisplayer By KedamaOvO Ver.1.8.7
[18:17:04] OnlineBeatmaps Class
[18:17:04] Load InfoReader ...
[18:17:04] Load Default GUI ...
[18:17:04] Default GUI by Deliay : )
[18:17:04] Load IngameOverlay ...
[18:17:04] Loaded 11 Plugins
[18:17:04] Loaded 2 Sources
[18:17:04] Loaded 1 Clients
[18:17:04] Loaded 41 Commands
[18:17:04] Loaded 8 Filters
[18:17:05] ORTDP初始化完成
[18:17:05] [InfoReader] 插件初始化完成
[18:17:05] [Overlay] Now you can type 'overlay osu' or 'o osu' to open 'osu! with overlay' .
[18:17:05] Done
[18:17:05] [ConfigGUI]Enter "config" to open the configuration panel.
[18:17:05] [OsuRTDataProviderPlugin]Tourney Mode: False
[18:17:05] SyncPPInfo初始化完成
[18:17:05] Fetch Sync update..
[18:17:08] osu!Live Sync ver 2.18.2.0
[18:17:08] Type 'help' command for help
[18:17:11] [OsuRTDataProviderPlugin]ForceOsuSongsDirectory:
[18:17:11] [OsuRTDataProviderPlugin]The ForceOsuSongsDirectory does not exist, try searching for the songs path.
[18:17:11] [OsuRTDataProviderPlugin]OSU Client Verison:b20200208 ORTDP Version:1.5.15
[18:17:11] [OsuRTDataProviderPlugin]Osu Path: D:\a\s\osu\osu!
[18:17:11] [OsuRTDataProviderPlugin]Beatmap Path: D:\a\s\osu\osu!\Songs
[18:17:11] [OsuRTDataProviderPlugin][ID:0]Found osu!.exe process
[18:17:11] [OsuRTDataProviderPlugin][ID:0]Init StatusFinder Success!
[18:17:12] [OsuRTDataProviderPlugin][ID:0]Init PlayFinder Success!
[18:17:12] [OsuRTDataProviderPlugin][ID:0]Init ModeFinder Success!
[18:17:12] [OsuRTDataProviderPlugin]osu!version compatible condition: 20200208 < 20190816 ?
[18:17:12] [OsuRTDataProviderPlugin][ID:0]Init BeatmapFinder Success!
[18:17:12] [OsuRTDataProviderPlugin]System.NullReferenceException: 未将对象引用设置到对象的实例。
在 osuTools.ORTDP.Lm_OnStatusChanged(OsuStatus last_status, OsuStatus status)
在 OsuRTDataProvider.Listen.OsuListenerManager.OnStatusChangedEvt.Invoke(OsuStatus last_status, OsuStatus status)
在 OsuRTDataProvider.Listen.OsuListenerManager.ListenLoopUpdate()

Check if there is a null reference in osuTools.ORTDP.Lm_OnStatusChanged.

May be a string is null, I deleted it and now everything is ok.

By the way, have you find the solution to this issue "System.Net.SocketException and System.NullReferenceException while playing Catch."

Though I almost don't use that, but I want it work when I need.