When we try to add a field in a custom form it throws an error saying Could not save the form successfully
Form got created but the Controls doesn’t show up.
When we try to add a field in a custom form it throws an error saying Could not save the form successfully
Form got created but the Controls doesn’t show up.
@Dinesh_Pal Which version of OS are you trying again?
Can you check if this can be reproduced on demo.openspecimen.org?
~Sri
If this is on v1.1, this will need a code fix. Currently, we are not making new community release of v1.x.
If this is on v2.0 demo site, please let us know the form name which is giving this error.
~Sri
@Dinesh_Pal Can you check if there is any exception in the backend when you click on the form? If yes, please attach it.
~Sri
Hi Srikanth,
here is the log
2015-06-21 22:39:51,046 ERROR [STDERR] (.) java.lang.NullPointerException
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at edu.common.dynamicextensions.domain.nui.Control.getValidationRule(Control.java:280)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at edu.common.dynamicextensions.domain.nui.Control.isMandatory(Control.java:139)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at edu.wustl.dynamicextensions.formdesigner.mapper.DefaultControlMapper.getCommonProperties(DefaultControlMapper.java:146)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at edu.wustl.dynamicextensions.formdesigner.mapper.ControlMapper$FileUploadMapper.controlToProperties(ControlMapper.java:470)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at edu.wustl.dynamicextensions.formdesigner.mapper.ControlMapper.controlToProperties(ControlMapper.java:134)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at edu.wustl.dynamicextensions.formdesigner.mapper.RegularContainerMapper.containerToProperties(RegularContainerMapper.java:129)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at edu.wustl.dynamicextensions.formdesigner.resource.facade.ContainerFacade.getProperties(ContainerFacade.java:99)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at edu.wustl.dynamicextensions.formdesigner.resource.Form.getForm(Form.java:110)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at java.lang.reflect.Method.invoke(Method.java:497)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at krishagni.catissueplus.rest.RestApiAuthFilter.doFilter(RestApiAuthFilter.java:128)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at krishagni.catissueplus.rest.RestApiAuthFilter.doFilter(RestApiAuthFilter.java:128)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2015-06-21 22:39:51,046 ERROR [STDERR] (.) at java.lang.Thread.run(Thread.java:745)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) java.lang.RuntimeException: Error : Container name cannot be edited
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at edu.common.dynamicextensions.domain.nui.Container.editContainer(Container.java:795)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at edu.wustl.dynamicextensions.formdesigner.resource.facade.ContainerFacade.updateContainer(ContainerFacade.java:50)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at edu.wustl.dynamicextensions.formdesigner.resource.Form.editForm(Form.java:171)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at java.lang.reflect.Method.invoke(Method.java:497)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:849)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at javax.servlet.http.HttpServlet.service(HttpServlet.java:640)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at krishagni.catissueplus.rest.RestApiAuthFilter.doFilter(RestApiAuthFilter.java:128)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at krishagni.catissueplus.rest.RestApiAuthFilter.doFilter(RestApiAuthFilter.java:128)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2015-06-21 22:40:13,093 ERROR [STDERR] (.) at java.lang.Thread.run(Thread.java:745)
Tried to trouble shoot more and found out we get this error message
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) Caused by: org.springframework.jdbc.UncategorizedSQLException: StatementCallback; uncategorized SQLException for SQL [ALTER TABLE DE_E_11076 ADD (DE_A_1 VARCHAR2(255), DE_A_2_NAME VARCHAR2(255), DE_A_2_TYPE VARCHAR2(255), DE_A_2_ID VARCHAR2(255))]; SQL state [72000]; error code [1430]; ORA-01430: column being added already exists in table
; nested exception is java.sql.SQLException: ORA-01430: column being added already exists in table
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:407)
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:428)
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at edu.common.dynamicextensions.ndao.JdbcDao.executeDDL(JdbcDao.java:69)
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at edu.common.dynamicextensions.domain.nui.Container.addTableColumns(Container.java:949)
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at edu.common.dynamicextensions.domain.nui.Container.executeDDL(Container.java:879)
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at edu.common.dynamicextensions.domain.nui.Container.executeDDLWithoutTxn(Container.java:848)
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at edu.common.dynamicextensions.domain.nui.Container.save(Container.java:653)
2015-06-22 15:45:01,372 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) … 47 more
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) Caused by: java.sql.SQLException: ORA-01430: column being added already exists in table
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:961)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1726)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1696)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:91)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at org.springframework.jdbc.core.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:421)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:396)
2015-06-22 15:45:01,388 ERROR [STDERR] (http-openspecimen.kumc.edu%2F10.32.0.15-443-10) … 53 more
not sure why it is inserting a column, not sure which table it is doing this