Archive | April, 2010

ASP.NET: System.IO.IOException: The file or directory is corrupted and unreadable.

Exception Details: System.IO.IOException: The file or directory is corrupted and unreadable.

Comments { 2 }
IntelliJ new class window

IntelliJ cannot create new class

Now I’m almost prepared to take back all good things I ever said about IntelliJ.

When trying to create a new class in IntelliJ I this little window pops upIntelliJ new class window
But nothing happends when I press OK…

Comments { 1 }

NHibernate.HibernateException: instance not of expected entity type

Given:

[ActiveRecord(DiscriminatorValue = "OnState")]
class OnState: UnitState {
//…
}

I got

NHibernate.TransactionException: An error occured when trying to dispose the transaction —> NHibernate.HibernateException: instance not of expected entity type: Model.OnState is not a: Model.UnitState

Hmmm?

Comments { 0 }