Closed GoogleCodeExporter closed 9 years ago
2014-04-04 21:54:18,875 DEBUG (com.esignforms.open.prog.DocumentStyleInfo)
Manager.getAll() - Library: ESF/Library/Template; found: 1
2014-04-04 21:54:18,877 DEBUG (com.esignforms.open.user.User) Manager.getById()
- fbd5d31c-84c4-41e3-b8de-961ad7a47c8e
2014-04-04 21:54:18,877 DEBUG (com.esignforms.open.user.User) Manager.getById()
- fbd5d31c-84c4-41e3-b8de-961ad7a47c8e
2014-04-04 21:54:18,878 DEBUG (com.esignforms.open.prog.Library)
Manager.getByPathName() for pathName: Lib/Acutraq
2014-04-04 21:54:22,211 DEBUG (com.esignforms.open.prog.Library)
Manager.getByPathName() for pathName: ESF/Library/Template
2014-04-04 21:54:22,211 DEBUG (com.esignforms.open.prog.DocumentStyleInfo)
Manager.getAll() - Library: ESF/Library/Template; libraryId:
f95d7fa9-f838-48d2-a66b-db699deb0136
2014-04-04 21:54:22,222 DEBUG (com.esignforms.open.prog.DocumentStyleInfo)
Manager.getAll() - Library: ESF/Library/Template; found: 1
2014-04-04 21:54:22,224 DEBUG (com.esignforms.open.user.User) Manager.getById()
- fbd5d31c-84c4-41e3-b8de-961ad7a47c8e
2014-04-04 21:54:22,225 DEBUG (com.esignforms.open.prog.Library)
Manager.getByPathName() for pathName: ESF/Library/Template
2014-04-04 21:54:26,548 ERROR (com.esignforms.open.vaadin.EsfVaadinUI)
init().VaadinSession.ErrorHandler.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:170)
at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:118)
at com.vaadin.server.communication.ServerRpcHandler.handleBurst(ServerRpcHandler.java:207)
at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:111)
at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:91)
at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37)
at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1382)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238)
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 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 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:168)
... 27 more
Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of
method buttonClick in com.esignforms.open.vaadin.config.library.LibraryForm
failed.
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:528)
at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198)
at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)
at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:969)
at com.vaadin.ui.Button.fireClick(Button.java:368)
at com.vaadin.ui.Button$1.click(Button.java:57)
... 31 more
Caused by: com.vaadin.data.Buffered$SourceException
at com.vaadin.ui.AbstractField.setPropertyDataSource(AbstractField.java:637)
at com.vaadin.ui.Form.bindPropertyToField(Form.java:763)
at com.vaadin.ui.Form.setItemDataSource(Form.java:734)
at com.esignforms.open.vaadin.config.library.LibraryForm.setItemDataSource(LibraryForm.java:498)
at com.esignforms.open.vaadin.config.library.LibraryForm.createLike(LibraryForm.java:558)
at com.esignforms.open.vaadin.config.library.LibraryForm.buttonClick(LibraryForm.java:437)
at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)
... 36 more
Caused by: com.vaadin.data.util.MethodProperty$MethodException
at com.vaadin.data.util.MethodProperty.getValue(MethodProperty.java:610)
at com.vaadin.ui.AbstractField.getDataSourceValue(AbstractField.java:299)
at com.vaadin.ui.AbstractField.setPropertyDataSource(AbstractField.java:629)
... 45 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor179.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.vaadin.data.util.MethodProperty.getValue(MethodProperty.java:608)
... 47 more
Caused by: java.lang.NullPointerException
at com.esignforms.open.vaadin.config.library.LibraryBean.getStatus(LibraryBean.java:171)
... 51 more
Original comment by theo...@theodis.com
on 5 Apr 2014 at 3:05
We should be blocking any attempt to create a library like any of our reserved
libraries.
Original comment by yoz...@gmail.com
on 5 Apr 2014 at 11:02
Fixed in the 14.4.12 release. No longer show the create new button when it's a
reserved library name.
Original comment by yoz...@gmail.com
on 5 Apr 2014 at 11:12
Excellent! I should only be able to create a library like the initial default
library created along with the reserved library at installation. I forgot that
is how the process worked.
Thank you for the fix! Can't wait to upgrade!
Original comment by theo...@theodis.com
on 6 Apr 2014 at 11:00
Also, don't forget the "export config" and "import config" buttons as well.
I'll create a new issue if it exists in the next release.
Original comment by theo...@theodis.com
on 6 Apr 2014 at 11:04
Import/export is allowed as the "ESF" library is updated from time to time, but
you are right that import shouldn't be allowed if they cannot update the
library and so that'll be fixed in this release as well. The ESF template
library has special meaning and so we don't allow other such libraries to be
created (the installation process creates templates for things others are
supposed to modify) as the permissions and usage scenarios are special for them.
Original comment by yoz...@gmail.com
on 6 Apr 2014 at 5:25
Original issue reported on code.google.com by
theo...@megalithtechnologies.com
on 2 Apr 2014 at 1:56Attachments: