Jump to content

Error in class editor, when click to ADD NEW SPRITE


Aldimun
  • Version: Beta 4 Fixed Bug Report

///////////////////////////////////////////////////
Error Description
///////////////////////////////////////////////////
In CLASS EDITOR, when i click to ADD NEW SPRITE or delete in a class, report the following error (picture bellow), and crash the class editor. When i open again, the new sprites that i tried to add, desapear. This bug didnt
occurring in 4.5 version. i'm using the 4.6
 

PS: Sorry the portuguese in error message... i'm Brazilian.

///////////////////////////////////////////////////
Replication Steps
///////////////////////////////////////////////////



///////////////////////////////////////////////////
Attach Screenshots/Other media
////////////////////////////////////////////////////


erro.png

///////////////////////////////////////////////////
Attach Error Logs
////////////////////////////////////////////////////
If you are using Intersect, please find and attach BOTH your Client/Resources/Logs folder and Server/Resources/Logs folder to help us debug your problem. Without these logs we often cannot fix bugs in the engine.



User Feedback

Recommended Comments

Consulte o final desta mensagem para obter detalhes sobre como chamar a
depuração just-in-time (JIT) em vez desta caixa de diálogo.

************** Texto de Exceção **************
System.NullReferenceException: Referência de objeto não definida para uma instância de um objeto.
   em Intersect.Localization.Strings.Get(String section, String id, Object[] args) na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect Library\Intersect Library\Localization\Strings.cs:linha 70
   em Intersect.Editor.Forms.frmClass.RefreshSpriteList(Boolean saveSpot) na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect Editor\Forms\Editors\frmClass.cs:linha 456
   em Intersect.Editor.Forms.frmClass.cmbSprite_SelectedIndexChanged(Object sender, EventArgs e) na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect Editor\Forms\Editors\frmClass.cs:linha 442
   em System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   em System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   em Intersect.Editor.Forms.frmClass.lstSprites_Click(Object sender, EventArgs e) na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect Editor\Forms\Editors\frmClass.cs:linha 403
   em Intersect.Editor.Forms.frmClass.btnAdd_Click(Object sender, EventArgs e) na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect Editor\Forms\Editors\frmClass.cs:linha 490
   em System.Windows.Forms.Control.OnClick(EventArgs e)
   em System.Windows.Forms.Button.OnClick(EventArgs e)
   em System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   em DarkUI.Controls.DarkButton.OnMouseUp(MouseEventArgs e) na C:\Users\JC Snider\Documents\GitHub\DarkUI\DarkUI\Controls\DarkButton.cs:linha 212
   em System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   em System.Windows.Forms.Control.WndProc(Message& m)
   em System.Windows.Forms.ButtonBase.WndProc(Message& m)
   em System.Windows.Forms.Button.WndProc(Message& m)
   em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

Share this comment


Link to comment
Share on other sites
26 minutes ago, jcsnider said:

Paste the error in here for us @Aldimun

 

@panda: maybe another "None" error. 

It is -- a None sprite passes in null and line 70 just tries to ToString() it without checking. I'll fix it in a few hours.

Share this comment


Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×