Details
-
Bug
-
Resolution: Obsolete
-
Neutral
-
1.2.8
Description
After pressing save in the intro dialog of a page the dialog turned into a blank page and didn't close. The log showed:
ERROR info.magnolia.cms.servlets.MVCServletHandlerImpl 19.12.2013 13:43:06 -- can't call command: save
java.lang.NullPointerException
at info.magnolia.module.categorization.controls.CategorizationSaveHandler.processMultiple(CategorizationSaveHandler.java:90)
at info.magnolia.module.categorization.controls.CategorizationSaveHandler.save(CategorizationSaveHandler.java:113)
at info.magnolia.module.admininterface.SaveHandlerImpl.processSaveInfo(SaveHandlerImpl.java:350)
at info.magnolia.module.admininterface.SaveHandlerImpl.save(SaveHandlerImpl.java:234)
at info.magnolia.module.admininterface.DialogMVCHandler.onSave(DialogMVCHandler.java:354)
at info.magnolia.module.admininterface.DialogMVCHandler.save(DialogMVCHandler.java:236)
(...)
Checking the category tab of the dialog I found there was a reference to a category that did not exist (anymore?), which showed a UUID instead of a category path.
It would be nice if this situation did not cause a NPE, but would be handled more gracefully.
Checklists
Acceptance criteria