forum

Going to Edit Mode = crash

posted
Total Posts
8
Topic Starter
doinkies
Whenever I click on Edit Mode, osu! crashes.

Here's the error it gives me:

An error has occurred.   Please report this in the forums along with any more information you can provide!


System.NullReferenceException: Object reference not set to an instance of an object.
at osu.Graphics.pSprite.MeasureText()
at osu.Graphics.SpriteManager.Draw()
at osu.Game_Modes.SongSelectionMenu.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Draw(GameTime gameTime)
at osu.GameBase.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.Run()
at osu.Program.Main()

Does anyone know how I can fix this?

Thanks ^^
peppy
Are you definitely using the latest version?
Topic Starter
doinkies
Yes, I am...I just downloaded osu! a few days ago...
peppy
Have you tried removing any mp3 files you placed in the songs directory? I'm guessing it has something to do with them having non-standard (ASCII) characters in their filenames/id3 info.
Topic Starter
doinkies
I updated osu! this morning, and I was able to enter Edit Mode this time. I made a copy of an mp3 that had the singer's name in Japanese characters in the filename, deleted the characters in the copy, and dragged it to Edit Mode...it seemed to work fine but I couldn't find it anywhere in the Edit list. I deleted it from Songs, and then I dragged another mp3 into edit mode that did not have any Japanese characters in the filename. However, the Unmapped button said it had 2 items, and when I clicked on it, it crashed.

Here's the error code:

An error has occurred.   Please report this in the forums along with any more information you can provide!


System.ArgumentNullException: Value cannot be null.
Parameter name: text
at Microsoft.Xna.Framework.Graphics.SpriteFont.InternalDraw(String text, SpriteBatch spriteBatch, Vector2 textblockPosition, Color color, Single rotation, Vector2 origin, Vector2& scale, SpriteEffects spriteEffects, Single depth)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.DrawString(SpriteFont spriteFont, String text, Vector2 position, Color color, Single rotation, Vector2 origin, Single scale, SpriteEffects effects, Single layerDepth)
at osu.Graphics.SpriteManager.Draw()
at osu.Game_Modes.SongSelectionMenu.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Draw(GameTime gameTime)
at osu.GameBase.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.Run()
at osu.Program.Main()

How can I fix this now? I really don't have a clue why it's still showing 2 items when I deleted the first one from the Songs folder...-_-
peppy
Are you running osu! from a shortcut with the working directory set to another path?
Anything else strange about your pc setup? Is your osu! folder in a strange place? This only happens for you so it is definitely something about your local pc's setup. Also, what language is your PC in?

Its as if you are dragging files into osu! has a filename of 0 length. Could you please also mention the exact filename of the mp3 file you are trying to edit?

It would be great if you could do some more experimentation at your end. Maybe try a few more mp3s - try one from a beatmap that already works (download one from the beatmap list) etc.
Topic Starter
doinkies

peppy wrote:

Are you running osu! from a shortcut with the working directory set to another path?
Anything else strange about your pc setup? Is your osu! folder in a strange place? This only happens for you so it is definitely something about your local pc's setup. Also, what language is your PC in?

Its as if you are dragging files into osu! has a filename of 0 length. Could you please also mention the exact filename of the mp3 file you are trying to edit?

It would be great if you could do some more experimentation at your end. Maybe try a few more mp3s - try one from a beatmap that already works (download one from the beatmap list) etc.
Yes, I have a shortcut to osu! on my desktop.

osu! itself is not in the Program Files folder but in another folder...should I move it to Program Files instead?

I also set the language of non-Unicode programs to Japanese, largely because I like to play a lot of doujin games like the Touhou series and I don't want mojibake...Windows itself is still in English though.

Filenames of the mp3s I tried:

01_(中森明菜)_BILITIS.mp3 - renamed to 01_BILITIS.mp3 in the copy
09 - Try Me ~Watashio Shinjite~.mp3

I will try a few more mp3s.
peppy
Have you tried going into edit mode in a beatmap you downloaded from the official listing?
Please sign in to reply.

New reply