Collaborationでのスケジュール登録にて、簡易登録は問題ないのだが、詳細登録で以下のエラーが発生することがある。
[ERROR] e.http-500 - [] Runtime error: collaboration/schedule/user/schedule_new jp.co.intra_mart.common.aid.jsdk.javax.servlet.exception.ExtendedServletException: Runtime error: collaboration/schedule/user/schedule_new at jp.co.intra_mart.system.session.web.WebPageBuilder.invoke(WebPageBuilder.java:145) at jp.co.intra_mart.system.servlet.jssp.AbstractJSSPServlet.fire(AbstractJSSPServlet.java:76) at jp.co.intra_mart.system.servlet.jssp.SecureJSSPServlet.execute(SecureJSSPServlet.java:70) at jp.co.intra_mart.system.servlet.jssp.SecureJSSPServlet.doPost(SecureJSSPServlet.java:55) at javax.servlet.http.HttpServlet.service(HttpServlet.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:97) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109) at jp.co.intra_mart.foundation.ui.theme.ThemeFilter.doFilter(ThemeFilter.java:405) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.servlet.jssp.JSSPContextFilter.doFilter(JSSPContextFilter.java:63) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.impl.HTTPContextHandlingFilterImpl.doFilter(HTTPContextHandlingFilterImpl.java:53) at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.HTTPContextHandlingFilter.doFilter(HTTPContextHandlingFilter.java:94) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.RequestMessageBodyFilter.doFilter(RequestMessageBodyFilter.java:213) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.security.certification.filter.CertificationConfirmFilter.doFilter(CertificationConfirmFilter.java:54) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.secure_token.filter.SecureTokenFilter.doFilter(SecureTokenFilter.java:67) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.servlet.filter.RequestControlFilter$FilterScope.execute(RequestControlFilter.java:36) at jp.co.intra_mart.system.servlet.filter.ParallelRequestController.execute(ParallelRequestController.java:122) at jp.co.intra_mart.system.servlet.filter.RequestControlFilter.doFilter(RequestControlFilter.java:50) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.servlet.filter.RequestQueryLengthMonitoringFilter$FilterScope.execute(RequestQueryLengthMonitoringFilter.java:39) at jp.co.intra_mart.system.servlet.filter.RequestQueryLengthMonitoringController.execute(RequestQueryLengthMonitoringController.java:113) at jp.co.intra_mart.system.servlet.filter.RequestQueryLengthMonitoringFilter.doFilter(RequestQueryLengthMonitoringFilter.java:53) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.servlet.filter.RequestScopeLockReleaseFilter.doFilter(RequestScopeLockReleaseFilter.java:44) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.secure.filter.ApplicationPermissionFilter.doFilter(ApplicationPermissionFilter.java:65) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.secure.filter.SystemPermissionFilter.doFilter(SystemPermissionFilter.java:68) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:71) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:131) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:314) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:298) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:116) at jp.co.intra_mart.system.log.transition.TransitionLogRequestDispatcher.forward(TransitionLogRequestDispatcher.java:65) at jp.co.intra_mart.system.router.jssp.JSSPDispatcher.forward(JSSPDispatcher.java:60) at jp.co.intra_mart.system.router.authz.user.jssp.AuthzJSSPAction.executeAuthorized(AuthzJSSPAction.java:34) at jp.co.intra_mart.system.router.authz.AuthorizingAction.doExecute(AuthorizingAction.java:52) at jp.co.intra_mart.foundation.router.GenericAction.execute(GenericAction.java:73) at jp.co.intra_mart.foundation.router.GenericAction.access$000(GenericAction.java:17) at jp.co.intra_mart.foundation.router.GenericAction$GenericActionFilterChain.doFilter(GenericAction.java:32) at jp.co.intra_mart.foundation.servlet.router.filter.CorsActionFilter$CorsActionFilterScope.execute(CorsActionFilter.java:46) at jp.co.intra_mart.system.cors.servlet.filter.StandardCorsController.execute(StandardCorsController.java:111) at jp.co.intra_mart.foundation.servlet.router.filter.CorsActionFilter.doFilter(CorsActionFilter.java:59) at jp.co.intra_mart.foundation.router.GenericAction.execute(GenericAction.java:66) at jp.co.intra_mart.foundation.router.GenericAction.execute(GenericAction.java:71) at jp.co.intra_mart.foundation.router.GenericAction.execute(GenericAction.java:62) at jp.co.intra_mart.system.router.BasicRouter.route(BasicRouter.java:144) at jp.co.intra_mart.system.router.IntramartRouter.route(IntramartRouter.java:145) at jp.co.intra_mart.system.router.IntramartComplexRouter.route(IntramartComplexRouter.java:74) at jp.co.intra_mart.foundation.router.RoutingFilter.doFilter(RoutingFilter.java:38) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.foundation.security.filter.SessionFilter.doFilter(SessionFilter.java:70) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.log.transition.TransitionLogFilter.doFilter(TransitionLogFilter.java:73) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.servlet.filter.RequestLogFilter.doFilter(RequestLogFilter.java:110) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.servlet.filter.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:154) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.system.context.web.impl.ContextFilter.doContextFilter(ContextFilter.java:141) at jp.co.intra_mart.system.context.web.impl.PreContextFilterChain.doFilter(PreContextFilterChain.java:47) at jp.co.intra_mart.system.context.web.impl.ContextFilter.doFilter(ContextFilter.java:80) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.foundation.security.filter.ResponseCharacterEncodingFilter.doFilter(ResponseCharacterEncodingFilter.java:90) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at jp.co.intra_mart.foundation.security.filter.RequestCharacterEncodingFilter.doFilter(RequestCharacterEncodingFilter.java:47) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:71) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at com.caucho.server.webapp.WebAppListenerFilterChain.doFilter(WebAppListenerFilterChain.java:114) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156) at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:314) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:843) at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1395) at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1351) at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1335) at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1243) at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:1037) at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117) at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93) at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:175) at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61) at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173) at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118) Caused by: jp.co.intra_mart.system.javascript.EcmaError: TypeError: Cannot read property "length" from null (d:\app\resin-pro-4.0.64\webapps\imart\WEB-INF\jssp\product\src\collaboration\schedule\validators\custom\custom_item_required.js#45) at jp.co.intra_mart.system.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3697) at jp.co.intra_mart.system.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3675) at jp.co.intra_mart.system.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3703) at jp.co.intra_mart.system.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3722) at jp.co.intra_mart.system.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3735) at jp.co.intra_mart.system.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1493) at _collaboration._schedule._validators._custom._custom_95_item_95_required_46_js._c_getRequiredItemSet_2(d:\app\resin-pro-4.0.64\webapps\imart\WEB-INF\jssp\product\src\collaboration\schedule\validators\custom\custom_item_required.js:45) at _collaboration._schedule._validators._custom._custom_95_item_95_required_46_js.call(d:\app\resin-pro-4.0.64\webapps\imart\WEB-INF\jssp\product\src\collaboration\schedule\validators\custom\custom_item_required.js) at jp.co.intra_mart.system.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74) at _collaboration._schedule._validators._custom._custom_95_item_95_required_46_js._c_validate_1(d:\app\resin-pro-4.0.64\webapps\imart\WEB-INF\jssp\product\src\collaboration\schedule\validators\custom\custom_item_required.js:7) at _collaboration._schedule._validators._custom._custom_95_item_95_required_46_js.call(d:\app\resin-pro-4.0.64\webapps\imart\WEB-INF\jssp\product\src\collaboration\schedule\validators\custom\custom_item_required.js) at jp.co.intra_mart.system.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at jp.co.intra_mart.system.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3101) at _collaboration._schedule._validators._custom._custom_95_item_95_required_46_js.call(d:\app\resin-pro-4.0.64\webapps\imart\WEB-INF\jssp\product\src\collaboration\schedule\validators\custom\custom_item_required.js) at jp.co.intra_mart.system.display.ScriptScope.call(ScriptScope.java:156) at jp.co.intra_mart.system.display.ScriptScope.call(ScriptScope.java:142) at jp.co.intra_mart.system.jssp.validation.validator.ScriptableValidator.validate(ScriptableValidator.java:39) at jp.co.intra_mart.system.jssp.validation.Validation.invokeValidators(Validation.java:196) at jp.co.intra_mart.system.jssp.validation.Validation.validate(Validation.java:115) at jp.co.intra_mart.system.jssp.validation.Validation.validate(Validation.java:109) at jp.co.intra_mart.system.jssp.validation.Validation.validate(Validation.java:100) at jp.co.intra_mart.system.session.web.WebPageBuilder.invoke(WebPageBuilder.java:250) at jp.co.intra_mart.system.session.web.WebPageBuilder.invoke(WebPageBuilder.java:126) ... 95 common frames omitted
該当のソースコードを見る限り、custom_itemというものが取得できなかったためにエラーが発生するようだ。
これはどうやら該当のログインユーザが組織に所属していないために発生する模様。
組織に所属させることで、正常に登録できるようになった。