Hi,
One of the users has worked on a model and while saving the model the users faced an error message "internal error, definition cannot be null" and all the work done was gone. Can you please help me out on what went wrong and why I faced this issue?
When looking into the log files I found this.
com.idsscheer.framework.gui.dialog.ADialogFactory.showExceptionDialog
2016-11-15 14:42:53,623 com.aris.modeling.common.core.ADebug.printStackTrace(ADebug.java:138) - Tue Nov 15 14:42:53 EET 2016
com.aris.modeling.common.core.ADebug.printStackTrace
com.aris.modeling.common.serverremoteapi.core.ariscommon.ServerException: definition may not be null
at com.aris.modeling.server.bl.core.AServerExceptionFactory.createServerException(AServerExceptionFactory.java:78)
at com.aris.modeling.server.bl.logic.web.AWebExceptionFactory.createException(AWebExceptionFactory.java:129)
at com.aris.modeling.server.bl.logic.web.AWebExceptionFactory.createException(AWebExceptionFactory.java:459)
at com.aris.modeling.server.bl.logic.webactionobject.AActionObjectCollection.save(AActionObjectCollection.java:194)
at com.aris.modeling.server.bl.components.webdesigner.ASave.execute(ASave.java:47)
at com.aris.modeling.server.bl.components.webdesigner.ASave.execute(ASave.java:29)
at com.aris.modeling.server.bl.components.webdesigner.AAbstractDesignerService.invoke(AAbstractDesignerService.java:102)
at com.aris.modeling.server.bl.components.webdesigner.ADesigner.save(ADesigner.java:118)
at sun.reflect.GeneratedMethodAccessor614.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.idsscheer.remoting.DispatcherServlet.handle(DispatcherServlet.java:139)
at com.idsscheer.remoting.DispatcherServlet.doPost(DispatcherServlet.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.idsscheer.aris.umc.security.servlet.filter.AbstractAuthenticationFilter.doFilter(AbstractAuthenticationFilter.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.idsscheer.aris.umc.security.servlet.filter.AbstractLicenseFilter.doFilter(AbstractLicenseFilter.java:90)
at com.idsscheer.aris.umc.security.servlet.filter.UmcLicenseTenantCheckFilter.doFilter(UmcLicenseTenantCheckFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.idsscheer.aris.umc.security.servlet.filter.AbstractAuthenticationFilter.doFilter(AbstractAuthenticationFilter.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.softwareag.copernicus.web.servletFilter.GwtCacheControlFilter.doFilter(GwtCacheControlFilter.java:41)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.aris.zkc.servlet.AZkcPreferredRoutingFilter.doFilter(AZkcPreferredRoutingFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.idsscheer.aris.umc.security.servlet.filter.AbstractAuthenticationFilter.doFilter(AbstractAuthenticationFilter.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.aris.monitoring.UseCaseFilter.doFilter(UseCaseFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.idsscheer.aris.umc.security.servlet.filter.AbstractAuthenticationFilter.doFilter(AbstractAuthenticationFilter.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:104)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.aris.modeling.common.core.AException: definition may not be null
at com.aris.modeling.common.core.arisomimpl.arisctx.AModel.createObjOccInternal(AModel.java:145)
at com.aris.modeling.common.core.arisomimpl.arisctx.AModel.createObjOcc(AModel.java:140)
at com.aris.modeling.server.bl.logic.webactionobject.ASObjOccActionObject.create(ASObjOccActionObject.java:61)
at com.aris.modeling.server.bl.logic.webactionobject.AActionObjectCollection.getAOMObject(AActionObjectCollection.java:75)
at com.aris.modeling.server.bl.logic.webactionobject.AActionObjectCollection.save(AActionObjectCollection.java:133)
... 59 more
2016-11-15 14:42:57,449 com.idsscheer.framework.gui.dialog.ADialogFactory.showExceptionDialog(ADialogFactory.java:140) - Tue Nov 15 14:42:57 EET 2016: Save failed. Internal error: definition may not be null
com.aris.modeling.server.bl.core.AServerExceptionFactory.createServerException(AServerExceptionFactory.java:78)
com.aris.modeling.server.bl.logic.web.AWebExceptionFactory.createException(AWebExceptionFactory.java:129)
com.aris.modeling.server.bl.logic.web.AWebExceptionFactory.createException(AWebExceptionFactory.java:459)
com.aris.modeling.server.bl.logic.webactionobject.AActionObjectCollection.save(AActionObjectCollection.java:194)
com.aris.modeling.server.bl.components.webdesigner.ASave.execute(ASave.java:47)
com.aris.modeling.server.bl.components.webdesigner.ASave.execute(ASave.java:29)
com.aris.modeling.server.bl.components.webdesigner.AAbstractDesignerService.invoke(AAbstractDesignerService.java:102)
com.aris.modeling.server.bl.components.webdesigner.ADesigner.save(ADesigner.java:118)
sun.reflect.GeneratedMethodAccessor614.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:497)
com.idsscheer.remoting.DispatcherServlet.handle(DispatcherServlet.java:139)
com.idsscheer.remoting.DispatcherServlet.doPost(DispatcherServlet.java:66)
javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
com.idsscheer.aris.umc.security.servlet.filter.AbstractAuthenticationFilter.doFilter(AbstractAuthenticationFilter.java:106)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
com.idsscheer.aris.umc.security.servlet.filter.AbstractLicenseFilter.doFilter(AbstractLicenseFilter.java:90)
com.idsscheer.aris.umc.security.servlet.filter.UmcLicenseTenantCheckFilter.doFilter(UmcLicenseTenantCheckFilter.java:48)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
com.idsscheer.aris.umc.security.servlet.filter.AbstractAuthenticationFilter.doFilter(AbstractAuthenticationFilter.java:106)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
com.softwareag.copernicus.web.servletFilter.GwtCacheControlFilter.doFilter(GwtCacheControlFilter.java:41)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
com.aris.zkc.servlet.AZkcPreferredRoutingFilter.doFilter(AZkcPreferredRoutingFilter.java:87)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
com.idsscheer.aris.umc.security.servlet.filter.AbstractAuthenticationFilter.doFilter(AbstractAuthenticationFilter.java:106)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
com.aris.monitoring.UseCaseFilter.doFilter(UseCaseFilter.java:63)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
com.idsscheer.aris.umc.security.servlet.filter.AbstractAuthenticationFilter.doFilter(AbstractAuthenticationFilter.java:106)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:104)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)