0
Fixed

Error While Creating New Ticket

Siddhit Renake 6 years ago updated by Nguyen 6 years ago 6

Hello Team,


MyCollab Version: Community 6.0

While Creating new ticket from Menu bar getting below error.


Image 200


Ticket creation works fine if I go to left hand side Tickets section and then create ticket from there.Issue happens only while creating ticket from New button on Menu bar.Please assist in fixing this issue. Below is error trace.


========================17:45:42,449  WARN c.m.c.DistributionLockUtil:43 - Can not get lock service

17:45:42,451 ERROR c.m.w.DesktopApplication:263 - Error

com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc

at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:162)

at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:119)

at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:437)

at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:402)

at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273)

at com.vaadin.server.communication.PushHandler$2.run(PushHandler.java:148)

at com.vaadin.server.communication.PushHandler.callWithUi(PushHandler.java:240)

at com.vaadin.server.communication.PushHandler.onMessage(PushHandler.java:513)

at com.vaadin.server.communication.PushAtmosphereHandler.onMessage(PushAtmosphereHandler.java:87)

at com.vaadin.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77)

at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:199)

at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:107)

at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:66)

at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2075)

at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:571)

at org.atmosphere.websocket.DefaultWebSocketProcessor$3.run(DefaultWebSocketProcessor.java:333)

at org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101)

at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:328)

at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:425)

at org.atmosphere.container.JSR356Endpoint$1.onMessage(JSR356Endpoint.java:214)

at org.atmosphere.container.JSR356Endpoint$1.onMessage(JSR356Endpoint.java:211)

at io.undertow.websockets.jsr.FrameHandler$7.run(FrameHandler.java:286)

at io.undertow.websockets.jsr.ServerWebSocketContainer$1.call(ServerWebSocketContainer.java:168)

at io.undertow.websockets.jsr.ServerWebSocketContainer$1.call(ServerWebSocketContainer.java:165)

at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

at io.undertow.websockets.jsr.ServerWebSocketContainer.invokeEndpointMethod(ServerWebSocketContainer.java:602)

at io.undertow.websockets.jsr.ServerWebSocketContainer.invokeEndpointMethod(ServerWebSocketContainer.java:592)

at io.undertow.websockets.jsr.FrameHandler.invokeTextHandler(FrameHandler.java:266)

at io.undertow.websockets.jsr.FrameHandler.onFullTextMessage(FrameHandler.java:317)

at io.undertow.websockets.core.AbstractReceiveListener$2.complete(AbstractReceiveListener.java:156)

at io.undertow.websockets.core.AbstractReceiveListener$2.complete(AbstractReceiveListener.java:152)

at io.undertow.websockets.core.BufferedTextMessage.read(BufferedTextMessage.java:105)

at io.undertow.websockets.core.AbstractReceiveListener.readBufferedText(AbstractReceiveListener.java:152)

at io.undertow.websockets.core.AbstractReceiveListener.bufferFullMessage(AbstractReceiveListener.java:90)

at io.undertow.websockets.jsr.FrameHandler.onText(FrameHandler.java:182)

at io.undertow.websockets.core.AbstractReceiveListener.handleEvent(AbstractReceiveListener.java:44)

at io.undertow.websockets.core.AbstractReceiveListener.handleEvent(AbstractReceiveListener.java:33)

at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)

at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:948)

at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:929)

at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)

at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)

at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)

at org.xnio.nio.WorkerThread.run(WorkerThread.java:561)

Caused by: java.lang.reflect.InvocationTargetException: null

at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158)

... 43 common frames omitted

Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in com.mycollab.module.project.view.task.TaskEditForm$FormLayoutFactory$$Lambda$861/603793690 failed.

at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:533)

at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:200)

at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:163)

at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1015)

at com.vaadin.ui.Button.fireClick(Button.java:377)

at org.vaadin.viritin.button.MButton.fireClick(MButton.java:148)

at com.vaadin.ui.Button$1.click(Button.java:54)

... 47 common frames omitted

Caused by: kotlin.KotlinNullPointerException: null

at com.mycollab.module.project.service.impl.ProjectTaskServiceImpl.saveWithSession(ProjectTaskServiceImpl.kt:100)

at com.mycollab.module.project.service.impl.ProjectTaskServiceImpl.saveWithSession(ProjectTaskServiceImpl.kt:70)

at com.mycollab.module.project.service.impl.ProjectTaskServiceImpl$$FastClassBySpringCGLIB$$db0586dd.invoke(<generated>)

at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)

at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)

at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:55)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)

at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:55)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)

at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)

at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)

at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)

at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)

at com.mycollab.module.project.service.impl.ProjectTaskServiceImpl$$EnhancerBySpringCGLIB$$c58ffdfe.saveWithSession(<generated>)

at com.mycollab.module.project.view.task.TaskEditForm$FormLayoutFactory.lambda$getLayout$4948a086$1(TaskEditForm.java:89)

at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)

... 53 common frames omitted

Started

I do believe the new MyCollab version will fix it. You can check the Snapshot version here https://github.com/MyCollab/mycollab/releases/download/Release_7.0.0.SNAPSHOT/MyCollab-7.0.0-SNAPSHOT-02122019.zip

Backup the database before using it!

I'm having the exact same problem with Version 7.0.2

Any sugestions? 

You can get the fix one at https://github.com/MyCollab/mycollab/releases/download/Release_7.0.3/MyCollab-All-7.0.3.zip, re-create the new schema (drop the old one). It should fix your issue

Hello Nguyen,

I am currently running MyCollab-All-6.0.0.zip in Production.Can you help me with upgrade steps to switch to MyCollab-7.0.0-SNAPSHOT-02122019.zip ?

+1

 You should clone the production database and run it against this DB. You can follow steps in this post https://community.mycollab.com/docs/hosting-mycollab-on-your-own-server/upgrade-mycollab-manually/