Just a small article on a matter I encountered yesterday… Maybe some of you heard about the Agile project management tool XPlanner (directed toward eXtreme Programming depending on the website)
The latest release date of May 2006 and was tested only with the 1.4.2 JDK. However the JVM evolved since then… When trying to make XPlanner working on a server with a Tomcat 5.5 and especially a JDK 1.6, I got a very nice stacktrace when launching the application, which the interesting part is :
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashMap] for property ‘repositories’

The solution is to modify the following spring’s confguration file : WEB-INF/classes/spring-beans.xml replacing :
<bean id="metaRepository" class="com.technoetic.xplanner.domain.repository.MetaRepositoryImpl">
<property name="repositories">
<map>
[...]
</map>

by
<bean id=”metaRepository” class=”com.technoetic.xplanner.domain.repository.MetaRepositoryImpl”>
<property name=”repositories”>
<bean class=”java.util.HashMap”>
<constructor-arg>
<map>
[...]
</map>
</constructor-arg>
</bean>
[...]


The bug is notified on the Jira bugtracker of the project since some time, but is still to be fixed…