server-side-solution

Solving the html word wrapping problem in DayPilot Lite

A while ago I ported the DayPilot Lite calendar/schedule control into a Monorail view component and everything went smooth except for the word wrapping. Whenever an event in the calendar/schedule contained a word that did not fit the placeholder the entire description was hidden from the end user. It looked like this: When it should [...]

Comments { 0 }

Scalability, Availability & Stability Patterns

Awesome presentation on Scalability, Availability & Stability Patterns by Jonas Bonér.

Comments { 0 }

The call to method ‘Deserialize’ needs to be dynamically dispatched, but cannot be because it is part of a base access expression

Error 66 The call to method ‘Deserialize’ needs to be dynamically dispatched, but cannot be because it is part of a base access expression. Consider casting the dynamic arguments or eliminating the base access.

Comments { 0 }

Spring javamailSenderImpl bean configuration for Gmail

<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="defaultEncoding" value="UTF-8"/> <property name="host" value="smtp.gmail.com"/> <property name="port" value="465"/> <property name="username" value="…"/> <!– e.g. username@gmail.com –> <property name="password" value="…"/> <property name="javaMailProperties"> <value> mail.debug=true mail.smtp.auth=true mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory mail.smtp.socketFactory.fallback=false </value> </property> </bean>

Comments { 0 }

Invalid argument in JDBC call: parameter index out of range

16:45:04,220  WARN JDBCExceptionReporter:100 - SQL Error: -62, SQLState: SOO10
16:45:04,221 ERROR JDBCExceptionReporter:101 - Invalid argument in JDBC call: parameter index out of range: 7
Comments { 0 }

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 }
PooledHttpClient.java

Strangest cannot resolve symbol error ever

This is a not so uncommon error: But when I switched to PooledHttpClient.java I got a bit confused: Seriously wtf happened here? Has my RAID controller gone berserk on the poor file? A couple of weeks ago I saw something similary happend on a production server (VPS). Suddenly one of my static HTML-files contained fragments of [...]

Comments { 0 }

Column ‘ReservedWord’ does not belong to table ReservedWords.

System.ArgumentException: Column ‘ReservedWord’ does not belong to table ReservedWords.

Comments { 0 }