Menu

NullReferenceException

ThornaB
2006-08-14
2013-04-25
  • ThornaB

    ThornaB - 2006-08-14

    Hi Brume :)
    This tool is very exciting and after diving 'hungry' into the tutorials, I was happy to try by myself. Well I downloaded Brume 1.3, I referenced Brume.dll and Odd.dll in my project (sharpdevelop, C#), I begun by "using Brume" and typed TutorialTheBasics.
    "Build" goes ok, but "Run" shows this error:
    ====
    Brume error : System.NullReferenceException:  Object reference not set to an instance of an object.
        at Brume.Brume.InitDefaultObjects()
        at Brume.Brume.BrumeInit()
        at Brume.Brume.Play()
    ====
    I tried first in Boo language and got the same error. I looked at these methods in source code but couldn't find what was wrong.
    Did someone get the same error?
    Thank you.
    ---
    Comme l'anglais n'est pas ma langue préférée et que je ne suis pas sûr de ce que je raconte, j'espère que, le cas échéant, une personne qui a une page perso chez free.fr pourra comprendre la reformulation ci-dessous :)
    J'ai donc testé TutorialTheBasics, la première leçon qui ne fait pas grand chose, après avoir lu avec plaisir les fonctionnalités et les tutos de Brume. Mais j'obtiens l'erreur ci-dessus, et je n'en ai pas trouvé d'explication nulle part.
    Mon test comprend la copie conforme du code de TutorialTheBasics dans un projet Shaprdevelop2, avec brume.dll et odd.dll référencées.
    Merci

     
    • ThornaB

      ThornaB - 2006-08-14

      Some point I though about: the error appends in InitDefaultObjects() : does Brume need some "default" files in any "default" directory? (I had to copy camera.x in some directory, but I didn't remember why :-) )

       
    • ThornaB

      ThornaB - 2006-08-14

      Well... Looking further during a couple of hours give me some solution.
      It seems that the directory Internal (and all sub-directories) is mandatory. I didn't understand that earlier and now, I know it, but I didn't read it anywhere. Perhaps should I rest a bit :)

       

Log in to post a comment.

MongoDB Logo MongoDB