Skip to Content
1
Former Member
Apr 07, 2016 at 10:59 AM

CsCockpit Error ticket creation email send.

86 Views

Hi all,
In the Hybris system version 5.5.0.6 when we try to send a my after opening new ticket via cscockpit, there is the following error:

 INFO   | jvm 1    | main    | 2016/04/07 10:38:23.709 | INFO  [Thread-19] [172.28.255.50] [DefaultTicketEventStrategy] Newly created ticket is assigned, setting it to open state [Open]
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | ERROR [Thread-19] [172.28.255.50] [Wizard] Could not finish wizard, reason:
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | de.hybris.platform.servicelayer.exceptions.ModelRemovalException: could not remove partOf attribute items in [alldocuments, content] for TncQKg(8796524295071) due to null
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.remove(ItemModelConverter.java:662)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.removeViaJalo(DefaultModelService.java:727)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.doJaloPersistence(DefaultModelService.java:649)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.persistWrappers(DefaultModelService.java:1002)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.performPersistenceOperations(DefaultModelService.java:626)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.removeAllInternal(DefaultModelService.java:541)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.removeAll(DefaultModelService.java:530)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.removeAll(DefaultModelService.java:484)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.remove(DefaultModelService.java:471)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.ticket.strategies.impl.DefaultTicketEventEmailStrategy.constructAndSendEmail(DefaultTicketEventEmailStrategy.java:167)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.ticket.strategies.impl.DefaultTicketEventEmailStrategy.sendEmailsForEvent(DefaultTicketEventEmailStrategy.java:93)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at com.accenture.hybris.CoopTicketBusinessService.createTicket(CoopTicketBusinessService.java:53)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at com.accenture.hybris.cscockpit.CoopNewTicketWizardPageController.postProcessNewItems(CoopNewTicketWizardPageController.java:71)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.cscockpit.wizards.generic.NewItemsWizardPageController.done(NewItemsWizardPageController.java:107)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.cockpit.wizards.Wizard.doDone(Wizard.java:538)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.cscockpit.wizards.generic.AbstractNewItemsWizard.doDone(AbstractNewItemsWizard.java:269)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at java.lang.reflect.Method.invoke(Method.java:606)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at bsh.Reflect.invokeMethod(Reflect.java:134)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at bsh.Reflect.invokeObjectMethod(Reflect.java:80)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at bsh.Name.invokeMethod(Name.java:858)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at bsh.Interpreter.eval(Interpreter.java:645)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at bsh.Interpreter.eval(Interpreter.java:739)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at org.zkoss.zk.scripting.bsh.BSHInterpreter.exec(BSHInterpreter.java:119)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at org.zkoss.zk.scripting.util.GenericInterpreter.interpret(GenericInterpreter.java:310)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at org.zkoss.zk.ui.impl.PageImpl.interpret(PageImpl.java:797)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:176)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | Caused by: de.hybris.platform.jalo.ConsistencyCheckException: could not remove partOf attribute items in [alldocuments, content] for TncQKg(8796524295071) due to null[HY-0]
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item.removePartOfItems(Item.java:3174)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item.removePartOfItems(Item.java:3156)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item.removeDependentItems(Item.java:3111)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item.doRemove(Item.java:3013)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item.remove(Item.java:2967)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item.remove(Item.java:2928)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.remove(ItemModelConverter.java:649)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         ... 34 more
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | Caused by: java.lang.NullPointerException
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.commons.jalo.renderer.RendererTemplate.setAllContent(RendererTemplate.java:238)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at java.lang.reflect.Method.invoke(Method.java:606)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.type.ReflectionAttributeAccess$AttributeMethod.invokeSetter(ReflectionAttributeAccess.java:797)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.type.ReflectionAttributeAccess.setValue(ReflectionAttributeAccess.java:960)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item.setAttribute(Item.java:2333)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item.setAllAttributesInternal(Item.java:2166)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item$18.execute(Item.java:2087)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.tx.Transaction.execute(Transaction.java:1195)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.tx.Transaction.execute(Transaction.java:1160)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item.setAllAttributes(Item.java:2082)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         at de.hybris.platform.jalo.Item.removePartOfItems(Item.java:3170)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 |         ... 40 more
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | Apr 07, 2016 10:38:23 AM org.zkoss.zk.ui.impl.UiEngineImpl handleError:1130
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | SEVERE: >>java.lang.ClassCastException: de.hybris.platform.cockpit.services.meta.impl.ExtensibleTypeService$MyTypedObject cannot be cast to de.hybris.platform.core.model.user.EmployeeModel
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at de.hybris.platform.cscockpit.wizards.ticket.newticket.NewTicketAssignAgentPage.render(NewTicketAssignAgentPage.java:158)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at de.hybris.platform.cscockpit.wizards.generic.NewItemsWizardPage.createContent(NewItemsWizardPage.java:130)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at de.hybris.platform.cscockpit.wizards.generic.AbstractNewItemsWizard.createPageComponent(AbstractNewItemsWizard.java:113)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at de.hybris.platform.cockpit.wizards.Wizard.updateView(Wizard.java:352)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at de.hybris.platform.cockpit.wizards.Wizard.doDone(Wizard.java:555)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at de.hybris.platform.cscockpit.wizards.generic.AbstractNewItemsWizard.doDone(AbstractNewItemsWizard.java:269)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at java.lang.reflect.Method.invoke(Method.java:606)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at bsh.Reflect.invokeMethod(Reflect.java:134)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at bsh.Reflect.invokeObjectMethod(Reflect.java:80)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at bsh.Name.invokeMethod(Name.java:858)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at bsh.Interpreter.eval(Interpreter.java:645)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at bsh.Interpreter.eval(Interpreter.java:739)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at org.zkoss.zk.scripting.bsh.BSHInterpreter.exec(BSHInterpreter.java:119)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at org.zkoss.zk.scripting.util.GenericInterpreter.interpret(GenericInterpreter.java:310)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at org.zkoss.zk.ui.impl.PageImpl.interpret(PageImpl.java:797)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:176)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
 INFO   | jvm 1    | main    | 2016/04/07 10:38:24.010 | >>      at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)

Could someone help us?
Thanks to all in advance.
Regards.
Danilo.