Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to add a password: Property [id] not found on type [com.enterprisepasswordsafe.database.PasswordRestriction$Summary] #42

Open
sottolski opened this issue Aug 25, 2020 · 0 comments

Comments

@sottolski
Copy link
Contributor

again, fresh build, fresh initialised derby db. When trying to add a password, it fails with

25-Aug-2020 09:33:22.672 SEVERE [http-nio-8080-exec-8] com.enterprisepasswordsafe.ui.web.servletfilter.ErrorCatcherFilter.doFilter An exception occurred processing [/subadmin/new_password.jsp] at line [60]

57:                                 </c:otherwise>
58:                             </c:choose>
59:                             <c:forEach var="thisSummary" items="${requestScope.restriction_list}">
60:                                 <option value="${thisSummary.id}"><c:out value="${thisSummary.name}" /></option>
61:                             </c:forEach>
62:                         </select>
63:                     </c:otherwise>


Stacktrace:
        org.apache.jasper.JasperException: An exception occurred processing [/subadmin/new_password.jsp] at line [60]

57:                                 </c:otherwise>
58:                             </c:choose>
59:                             <c:forEach var="thisSummary" items="${requestScope.restriction_list}">
60:                                 <option value="${thisSummary.id}"><c:out value="${thisSummary.name}" /></option>
61:                             </c:forEach>
62:                         </select>
63:                     </c:otherwise>


Stacktrace:
                at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:626)
                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:515)
                at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
                at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
                at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
                at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
                at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
                at com.enterprisepasswordsafe.ui.web.servlets.CreatePassword.doGet(CreatePassword.java:66)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
                at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at com.enterprisepasswordsafe.ui.web.servletfilter.DatabaseCleanupFilter.doFilter(DatabaseCleanupFilter.java:54)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at com.enterprisepasswordsafe.ui.web.servletfilter.ErrorCatcherFilter.doFilter(ErrorCatcherFilter.java:56)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at com.enterprisepasswordsafe.ui.web.servletfilter.WelcomeFilter.doFilter(WelcomeFilter.java:75)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at com.enterprisepasswordsafe.ui.web.servletfilter.HeaderParameterFilter.doFilter(HeaderParameterFilter.java:91)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at com.enterprisepasswordsafe.ui.web.servletfilter.AuthenticationFilter.doFilter(AuthenticationFilter.java:124)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at com.enterprisepasswordsafe.ui.web.servletfilter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:43)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
                at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
                at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)
                at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
                at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
                at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
                at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: javax.el.PropertyNotFoundException: Property [id] not found on type [com.enterprisepasswordsafe.database.PasswordRestriction$Summary]
                at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:260)
                at javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:212)
                at javax.el.BeanELResolver.property(BeanELResolver.java:333)
                at javax.el.BeanELResolver.getValue(BeanELResolver.java:92)
                at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:125)
                at org.apache.el.parser.AstValue.getValue(AstValue.java:169)
                at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:190)
                at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:701)
                at org.apache.jsp.subadmin.new_005fpassword_jsp._jspx_meth_c_005fforEach_005f0(new_005fpassword_jsp.java:758)
                at org.apache.jsp.subadmin.new_005fpassword_jsp._jspx_meth_c_005fotherwise_005f0(new_005fpassword_jsp.java:580)
                at org.apache.jsp.subadmin.new_005fpassword_jsp._jspx_meth_c_005fchoose_005f0(new_005fpassword_jsp.java:506)
                at org.apache.jsp.subadmin.new_005fpassword_jsp._jspx_meth_c_005fif_005f0(new_005fpassword_jsp.java:465)
                at org.apache.jsp.subadmin.new_005fpassword_jsp._jspService(new_005fpassword_jsp.java:194)
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
                ... 59 more
sottolski added a commit to sottolski/enterprisepasswordsafe that referenced this issue Aug 26, 2020
* added getId/getName to allow creating passwords
* install package fontconfig to enable display of password as image
@sottolski sottolski mentioned this issue Aug 26, 2020
alsutton added a commit that referenced this issue Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant