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

The game throws some exceptions when the tablet is disconnected and then reconnected #17711

Closed
Gabixel opened this issue Apr 7, 2022 · 2 comments · Fixed by ppy/osu-framework#5859
Labels
osu!framework issue Can't resolve this without changes to osu!framework. type:input

Comments

@Gabixel
Copy link
Contributor

Gabixel commented Apr 7, 2022

Type

Game behaviour

Bug description

The game throws some exceptions when my tablet is disconnected and then reconnected.
The issue seems to happen only after I enable and then disable the "Tablet" option (as you can see in the video below).
Notes:

  • I never touched the tablet in this recording, I just disconnected/reconnected it.
  • You can hear when the tablet is disconnected/connected in the video
  • The tablet is a "Wacom CTL-472"

Screenshots or videos

2022-04-07.15-11-10_Trim.mp4

Version

2022.405.0-lazer

Logs

Here's the runtime.log of the recording

@peppy
Copy link
Member

peppy commented Apr 8, 2022

2022-04-07 13:11:40 [verbose]: Detect: Searching for tablets...
2022-04-07 13:11:40 [verbose]: Detect: Found tablet 'Wacom CTL-472'
2022-04-07 13:11:45 [error]: An unobserved error has occurred.
2022-04-07 13:11:45 [error]: System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.)
2022-04-07 13:11:45 [error]: ---> System.NullReferenceException: Object reference not set to an instance of an object.
2022-04-07 13:11:45 [error]: at osu.Framework.Input.Handlers.Tablet.OpenTabletDriverHandler.<>c__DisplayClass17_0.<Initialize>b__5(Object s, IEnumerable`1 e)
2022-04-07 13:11:45 [error]: at OpenTabletDriver.Driver.Detect()
2022-04-07 13:11:45 [error]: at osu.Framework.Input.Handlers.Tablet.TabletDriver.detectAsync(CancellationToken cancellationToken)
2022-04-07 13:11:45 [error]: --- End of inner exception stack trace ---
2022-04-07 13:11:45 [error]: An unobserved error has occurred. (inner)
2022-04-07 13:11:45 [error]: System.NullReferenceException: Object reference not set to an instance of an object.
2022-04-07 13:11:45 [error]: at osu.Framework.Input.Handlers.Tablet.OpenTabletDriverHandler.<>c__DisplayClass17_0.<Initialize>b__5(Object s, IEnumerable`1 e)
2022-04-07 13:11:45 [error]: at OpenTabletDriver.Driver.Detect()
2022-04-07 13:11:45 [error]: at osu.Framework.Input.Handlers.Tablet.TabletDriver.detectAsync(CancellationToken cancellationToken)
2022-04-07 13:11:45 [verbose]: ⚠️ An unobserved error has occurred.

@InfinityGhost can you take a look at this? something is null in the tabletDriver.DeviceReported that we're not expecting to be null.

@soopax
Copy link

soopax commented Apr 24, 2023

osu_2023-04-24_19-24-21
Tablet errors pop up every time the game is started. The tablet is a "Wacom CTL-472" also.
runtime.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
osu!framework issue Can't resolve this without changes to osu!framework. type:input
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants