Category Archives: Software

Ambiguous method overloading for method in Grails Spock Test

In case you run into the following exception when using mocks in a Spock test: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#multiply. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.Character] [class java.lang.Number] It … Continue reading

Posted in Software | Leave a comment

My First Real Shellshock

Apart from a harmless backping immediately after the shellshock vulnerability became known, here’s now the first time that I noticed an actual exploit. (There may have been others that went unnoticed who might have just used some http headers). This … Continue reading

Posted in Software | Leave a comment

Grails: Fix functional tests for forked execution

If you’ve also run into the issue that functional tests have a problem with forked execution, but you still want to use it for development (e.g. for reloading), you can use the environment support in BuildConfig.groovy for enabling forking for … Continue reading

Posted in Software | Leave a comment

Upgrade from Grails 2.2.2 to 2.4.1

Here’s what was necessary for me to upgrade handful of Grails projects to 2.4.1: Change the grails.version in application.properties grails clean is your friend when changing dependencies change hibernate, tomcat and resources plugin versions to latest kick out the spock … Continue reading

Posted in Software | 12 Comments

Setting up a Ubuntu VM with Vagrant and Ansible on Windows

As Ansible has no out-of-the-box support for running on Windows, there’s some tweaking to do. Please note that these instructions just run Ansible against a vagrant managed VM, no Vagrant Ansible provisioning is involved. You’ll install cygwin (+ some packages … Continue reading

Posted in Software | Leave a comment