Altinet
  • Home
  • Blog
  • Contact





Note to Self: NHibernate TargetInvocationException

On 14 Jul, 2011
Uncategorized
By : Bruno Samardzic
No Comments
Views : 3609

Ok, i get this error

Index was outside the bounds of the array.

and i always bang my head up the wall what to do with it. Anyway, it’s the enum!
I have a mapping where enums are stored in referenced table. If the table’s empty, my code generator generates an empty enum.

Empty enum then causes this exception.
And that’s basically it! Now off to change that whole enum deal into something smarter….



Previous Post Next Post 

About The Author

Bruno Samardzic


Number of Posts : 45
All Posts by : Bruno Samardzic

Leave a Comment

Click here to cancel reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>





Recent Posts

  • Angular vs React: round 2
  • Why programming is hard
  • Orchard Workflows, undocumented gem
  • The React Redux
  • React.js invoicing CRUD application, part 2: Description

Recent Comments

  • Angshuman on Animation for starred grid rows and columns using xaml
  • Advanced Excel Training in Lucknow on Angular vs React: round 2
  • Reginald Sophomore on My example of Angularjs directive
  • Slobodan on Angular and Breeze – story so far.
  • Bruno Samardzic on Reaction to Ember-forged Durandal Angularly Knocking out my Backbone, or my JS MVC framework research conclusion.

Contact

Altinet d.o.o.

OIB: 97429091194

Čulinečka cesta 146, Zagreb

Tel: +385 (1) 2946 819

Mob: +385 (98) 210 756

IBAN: HR4323400091110406470

Latest tweets