Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix joining playlists room sometimes not selecting the first item #30812

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion osu.Game/Online/Rooms/JoinRoomRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace osu.Game.Online.Rooms
{
public class JoinRoomRequest : APIRequest
public class JoinRoomRequest : APIRequest<Room>
{
public readonly Room Room;
public readonly string? Password;
Expand Down
6 changes: 5 additions & 1 deletion osu.Game/Screens/OnlinePlay/Components/RoomManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,13 @@
currentJoinRoomRequest?.Cancel();
currentJoinRoomRequest = new JoinRoomRequest(room, password);

currentJoinRoomRequest.Success += () =>
currentJoinRoomRequest.Success += result =>
{
joinedRoom.Value = room;

AddOrUpdateRoom(result);
room.CopyFrom(result); // Also copy back to the source model, since this is likely to have been stored elsewhere.
Comment on lines +79 to +80
Copy link
Contributor Author

@smoogipoo smoogipoo Nov 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a char-for-char copy of CreateRoom(). I think everything continues to work correctly without the room.CopyFrom() line, as opposed to CreateRoom() which requires it, but I hope to remove both cases of this in the future.

Just keeping it around to keep things uniform. Can remove if desired.


onSuccess?.Invoke(room);
};

Expand Down Expand Up @@ -107,7 +111,7 @@
public void AddOrUpdateRoom(Room room)
{
Debug.Assert(ThreadSafety.IsUpdateThread);
Debug.Assert(room.RoomID != null);

Check failure on line 114 in osu.Game/Screens/OnlinePlay/Components/RoomManager.cs

View workflow job for this annotation

GitHub Actions / Results

osu.Game.Tests.Visual.DailyChallenge.TestSceneDailyChallenge ► TestConclusionNotificationDoesNotFireOnDisconnect

Failed test found in: TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx Error: System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.) ----> System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.)
  ----> System.NullReferenceException : Object reference not set to an instance of an object.
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at osu.Framework.Extensions.TaskExtensions.WaitSafely(Task task)
   at osu.Framework.Testing.TestScene.UseTestSceneRunnerAttribute.AfterTest(ITest test)
   at NUnit.Framework.Internal.Commands.TestActionCommand.<>c__DisplayClass0_0.<.ctor>b__1(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__1()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
--NullReferenceException
   at osu.Game.Screens.OnlinePlay.Components.RoomManager.AddOrUpdateRoom(Room room) in /home/runner/work/osu/osu/osu.Game/Screens/OnlinePlay/Components/RoomManager.cs:line 114
   at osu.Game.Screens.OnlinePlay.Components.RoomManager.<>c__DisplayClass17_0.<JoinRoom>b__0(Room result) in /home/runner/work/osu/osu/osu.Game/Screens/OnlinePlay/Components/RoomManager.cs:line 79
   at osu.Game.Online.API.APIRequest`1.<.ctor>b__8_0() in /home/runner/work/osu/osu/osu.Game/Online/API/APIRequest.cs:line 37
   at osu.Game.Online.API.APIRequest.<TriggerSuccess>b__25_0() in /home/runner/work/osu/osu/osu.Game/Online/API/APIRequest.cs:line 182
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Graphics.Drawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Platform.GameHost.UpdateFrame()
   at osu.Framework.Threading.GameThread.processFrame()
--- End of stack trace from previous location ---
   at osu.Framework.Platform.GameHost.<>c__DisplayClass141_0.<abortExecutionFromException>b__0()
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Threading.GameThread.processFrame()
   at osu.Framework.Platform.ThreadRunner.RunMainLoop()
   at osu.Framework.Platform.GameHost.windowUpdate()
   at osu.Framework.Platform.GameHost.Run(Game game)
   at osu.Framework.Testing.TestScene.<>c__DisplayClass50_0.<SetupGameHostForNUnit>b__0()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)

Check failure on line 114 in osu.Game/Screens/OnlinePlay/Components/RoomManager.cs

View workflow job for this annotation

GitHub Actions / Results

osu.Game.Tests.Visual.DailyChallenge.TestSceneDailyChallenge ► TestConclusionNotificationDoesNotFireOnDisconnect

Failed test found in: TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx Error: System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.) ----> System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.)
  ----> System.NullReferenceException : Object reference not set to an instance of an object.
   at osu.Framework.Testing.TestScene.UseTestSceneRunnerAttribute.AfterTest(ITest test)
   at NUnit.Framework.Internal.Commands.TestActionCommand.<>c__DisplayClass0_0.<.ctor>b__1(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__1()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
--NullReferenceException
   at osu.Game.Screens.OnlinePlay.Components.RoomManager.AddOrUpdateRoom(Room room) in /home/runner/work/osu/osu/osu.Game/Screens/OnlinePlay/Components/RoomManager.cs:line 114
   at osu.Game.Screens.OnlinePlay.Components.RoomManager.<>c__DisplayClass17_0.<JoinRoom>b__0(Room result) in /home/runner/work/osu/osu/osu.Game/Screens/OnlinePlay/Components/RoomManager.cs:line 79
   at osu.Game.Online.API.APIRequest`1.<.ctor>b__8_0() in /home/runner/work/osu/osu/osu.Game/Online/API/APIRequest.cs:line 37
   at osu.Game.Online.API.APIRequest.<TriggerSuccess>b__25_0() in /home/runner/work/osu/osu/osu.Game/Online/API/APIRequest.cs:line 182
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Graphics.Drawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Platform.GameHost.UpdateFrame()
   at osu.Framework.Threading.GameThread.processFrame()
--- End of stack trace from previous location ---
   at osu.Framework.Platform.GameHost.<>c__DisplayClass141_0.<abortExecutionFromException>b__0()
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Threading.GameThread.processFrame()
   at osu.Framework.Platform.ThreadRunner.RunMainLoop()
   at osu.Framework.Platform.GameHost.windowUpdate()
   at osu.Framework.Platform.GameHost.Run(Game game)
   at osu.Framework.Testing.TestScene.<>c__DisplayClass50_0.<SetupGameHostForNUnit>b__0()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)

Check failure on line 114 in osu.Game/Screens/OnlinePlay/Components/RoomManager.cs

View workflow job for this annotation

GitHub Actions / Results

osu.Game.Tests.Visual.Multiplayer.TestSceneMultiplayer ► TestExitMidJoin

Failed test found in: TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx Error: System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.) ----> System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.)
  ----> System.NullReferenceException : Object reference not set to an instance of an object.
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at osu.Framework.Extensions.TaskExtensions.WaitSafely(Task task)
   at osu.Framework.Testing.TestScene.UseTestSceneRunnerAttribute.AfterTest(ITest test)
   at NUnit.Framework.Internal.Commands.TestActionCommand.<>c__DisplayClass0_0.<.ctor>b__1(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__1()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
--NullReferenceException
   at osu.Game.Screens.OnlinePlay.Components.RoomManager.AddOrUpdateRoom(Room room) in /home/runner/work/osu/osu/osu.Game/Screens/OnlinePlay/Components/RoomManager.cs:line 114
   at osu.Game.Screens.OnlinePlay.Components.RoomManager.<>c__DisplayClass17_0.<JoinRoom>b__0(Room result) in /home/runner/work/osu/osu/osu.Game/Screens/OnlinePlay/Components/RoomManager.cs:line 79
   at osu.Game.Online.API.APIRequest`1.<.ctor>b__8_0() in /home/runner/work/osu/osu/osu.Game/Online/API/APIRequest.cs:line 37
   at osu.Game.Online.API.APIRequest.<TriggerSuccess>b__25_0() in /home/runner/work/osu/osu/osu.Game/Online/API/APIRequest.cs:line 182
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Graphics.Drawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Platform.GameHost.UpdateFrame()
   at osu.Framework.Threading.GameThread.processFrame()
--- End of stack trace from previous location ---
   at osu.Framework.Platform.GameHost.<>c__DisplayClass141_0.<abortExecutionFromException>b__0()
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Threading.GameThread.processFrame()
   at osu.Framework.Platform.ThreadRunner.RunMainLoop()
   at osu.Framework.Platform.GameHost.windowUpdate()
   at osu.Framework.Platform.GameHost.Run(Game game)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)

Check failure on line 114 in osu.Game/Screens/OnlinePlay/Components/RoomManager.cs

View workflow job for this annotation

GitHub Actions / Results

osu.Game.Tests.Visual.Multiplayer.TestSceneMultiplayer ► TestGameplayDoesntStartWithNonLoadedUser

Failed test found in: TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-MultiThreaded.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx TestResults-Linux-SingleThread.trx Error: System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.) ----> System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.)
  ----> System.NullReferenceException : Object reference not set to an instance of an object.
   at osu.Framework.Testing.TestScene.UseTestSceneRunnerAttribute.AfterTest(ITest test)
   at NUnit.Framework.Internal.Commands.TestActionCommand.<>c__DisplayClass0_0.<.ctor>b__1(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__1()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
--NullReferenceException
   at osu.Game.Screens.OnlinePlay.Components.RoomManager.AddOrUpdateRoom(Room room) in /home/runner/work/osu/osu/osu.Game/Screens/OnlinePlay/Components/RoomManager.cs:line 114
   at osu.Game.Screens.OnlinePlay.Components.RoomManager.<>c__DisplayClass17_0.<JoinRoom>b__0(Room result) in /home/runner/work/osu/osu/osu.Game/Screens/OnlinePlay/Components/RoomManager.cs:line 79
   at osu.Game.Online.API.APIRequest`1.<.ctor>b__8_0() in /home/runner/work/osu/osu/osu.Game/Online/API/APIRequest.cs:line 37
   at osu.Game.Online.API.APIRequest.<TriggerSuccess>b__25_0() in /home/runner/work/osu/osu/osu.Game/Online/API/APIRequest.cs:line 182
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Graphics.Drawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Platform.GameHost.UpdateFrame()
   at osu.Framework.Threading.GameThread.processFrame()
--- End of stack trace from previous location ---
   at osu.Framework.Platform.GameHost.<>c__DisplayClass141_0.<abortExecutionFromException>b__0()
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Threading.GameThread.processFrame()
   at osu.Framework.Platform.ThreadRunner.RunMainLoop()
   at osu.Framework.Platform.GameHost.windowUpdate()
   at osu.Framework.Platform.GameHost.Run(Game game)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)

if (ignoredRooms.Contains(room.RoomID.Value))
return;
Expand Down
Loading