Crash due to NullReference

Issue #2096 new
ManuelL created an issue

Version 7.0-beta-23 System.NullReferenceException

This error pops up ocasionally after selecting a rom and quicky changing to a different one. The roms in question have custom background images in .png format and single .mp3 songs at 48KHz associated with them. The problem seems to be derived from failure to load the .mp3 files on time, but I'm not able to further debug.

Error occurs both in LaunchBox and Big Box.

Comments (7)

  1. ManuelL reporter

    Further testing reveals that the crash seems to occur when quickly switching between 3 different games. If after selecting a second game and the music hasn't yet started playing I try to select a third game, the application will crash. In the background, it will still strugle for a while trying to play the song of the second game, instead of the song of the third game. This easily occurs when quick browsing.

  2. ManuelL reporter

    Unfortunately, when the error occured in Big Box, no error window showed up. In LaunchBox I only got the information for the NullReference, no stacktrace attached. Is there a way for me to force LaunchBox to provide me a more detailed stacktrace? I'm sorry if this is detailed some where I haven't found.

  3. ManuelL reporter

    The bug still occurs in the latest beta. I can't understand why it's happening though. The fact that it doesn't show a stacktrace is even more unhelpful. Are there any definitions for media that should be adviseable? I'm using png images, mkv videos with mpeg encoding and mp3 songs edited through audacity in 48KHz. I'm also using VLC as well.

  4. Jason Carr repo owner

    HI Manuel, are you seeing a popup come up at all? Is the app just locking up? I'm confused as to how that error is being presented.

  5. ManuelL reporter

    Well, sorry for this Jason, but it seems that after one of the updates the app changed back to use Windows Media Player. After switching back to VLC, I haven't been able to reproduce, so that might have been the issue. For now you can close it. Sorry for the wild goose chase.

  6. Log in to comment