Object modified code inserted, tomcat crashes?