Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- | Error 2015-06-05 15:48:15,914 [http-bio-8080-exec-6] ERROR events.PatchedDefaultFlushEventListener - Could not synchronize database state with session
- Message: could not delete: [com.kameleoon.tracking.Goal#4021]
- Line | Method
- ->> 953 | doCall in com.kameleoon.backoffice.PreferencesController$_handleDeleteGoal_closure69
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- | 534 | doCall in com.kameleoon.core.CommonController$_closure2
- | 953 | handleDeleteGoal in com.kameleoon.backoffice.PreferencesController
- | 198 | doFilter in grails.plugin.cache.web.filter.PageFragmentCachingFilter
- | 63 | doFilter . . . . in grails.plugin.cache.web.filter.AbstractFilter
- | 23 | doFilterInternal in org.tonyzampogna.xss.sanitizer.filter.XssFilter
- | 1145 | runWorker . . . in java.util.concurrent.ThreadPoolExecutor
- | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
- ^ 745 | run . . . . . . in java.lang.Thread
- Caused by MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`net_kameleoon-dev_kameleoon`.`goal`, CONSTRAINT `FK307F13B7E2CE` FOREIGN KEY (`master_id`) REFERENCES `goal` (`id`))
- ->> 408 | handleNewInstance in com.mysql.jdbc.Util
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- | 383 | getInstance in ''
- | 1049 | createSQLException in com.mysql.jdbc.SQLError
- | 4226 | checkErrorPacket in com.mysql.jdbc.MysqlIO
- | 4158 | checkErrorPacket in ''
- | 2615 | sendCommand in ''
- | 2776 | sqlQueryDirect . in ''
- | 2840 | execSQL in com.mysql.jdbc.ConnectionImpl
- | 2082 | executeInternal in com.mysql.jdbc.PreparedStatement
- | 2334 | executeUpdate in ''
- | 2262 | executeUpdate . in ''
- | 2246 | executeUpdate in ''
- | 953 | doCall . . . . . in com.kameleoon.backoffice.PreferencesController$_handleDeleteGoal_closure69
- | 534 | doCall in com.kameleoon.core.CommonController$_closure2
- | 953 | handleDeleteGoal in com.kameleoon.backoffice.PreferencesController
- | 198 | doFilter in grails.plugin.cache.web.filter.PageFragmentCachingFilter
- | 63 | doFilter . . . . in grails.plugin.cache.web.filter.AbstractFilter
- | 23 | doFilterInternal in org.tonyzampogna.xss.sanitizer.filter.XssFilter
- | 1145 | runWorker . . . in java.util.concurrent.ThreadPoolExecutor
- | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
- ^ 745 | run . . . . . . in java.lang.Thread
- URL: http://back-office.kameleoon-dev.net/kameleoon/preferences/handleDeleteGoal
- Cannot delete or update a parent row: a foreign key constraint fails (`net_kameleoon-dev_kameleoon`.`goal`, CONSTRAINT `FK307F13B7E2CE` FOREIGN KEY (`master_id`) REFERENCES `goal` (`id`))
- com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`net_kameleoon-dev_kameleoon`.`goal`, CONSTRAINT `FK307F13B7E2CE` FOREIGN KEY (`master_id`) REFERENCES `goal` (`id`))
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
- at com.mysql.jdbc.Util.getInstance(Util.java:383)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1049)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4226)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4158)
- at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
- at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2840)
- at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
- at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2334)
- at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2262)
- at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2246)
- at com.kameleoon.backoffice.PreferencesController$_handleDeleteGoal_closure69.doCall(PreferencesController.groovy:953)
- at com.kameleoon.core.CommonController$_closure2.doCall(CommonController.groovy:534)
- at com.kameleoon.backoffice.PreferencesController.handleDeleteGoal(PreferencesController.groovy:953)
- at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
- at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
- at org.tonyzampogna.xss.sanitizer.filter.XssFilter.doFilterInternal(XssFilter.java:23)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
- at java.lang.Thread.run(Thread.java:745)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement