[opencms-dev] OpenCms 10.5: Widgetset CmsVfsResourceNotFoundException

Tobias Karrer kartobi at gmail.com
Thu Jan 12 16:48:56 CET 2017


Hi,

we updated from 9.0.1 to 10.5 using the upgrade wizard.

When editing properties or showing info dialog in vfs now, everything 
works but I always get an error:
Error reading resource from path 
"/sites/default/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc"

It seems that "/sites/default/" is not correct here, but I don't know 
why it is prepended.

Am I missing a configuration? Or someone knows how to solve it?
The file exists in opencms-widgetset-10.5.0.jar (gradle dependency)

Best,
Tobias

Full stacktrace:
2 Jan 2017 15:40:42,297 [http-nio-8443-exec-6] WARN 
org.opencms.gwt.CmsGwtServiceContext  - ERROR: The serialization policy 
file 
'/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc' 
was not found; did you forget to include it in this deployment?
12 Jan 2017 15:40:42,297 [http-nio-8443-exec-6] WARN 
org.opencms.gwt.CmsGwtServiceContext  - Error reading resource from path 
"/sites/default/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc".
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource 
from path 
"/sites/default/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc".
     at 
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:71)
     at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:335)
     at org.opencms.db.CmsDbContext.report(CmsDbContext.java:287)
     at 
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5051)
     at org.opencms.file.CmsObject.readResource(CmsObject.java:3199)
     at org.opencms.file.CmsObject.readFile(CmsObject.java:2567)
     at org.opencms.file.CmsObject.readFile(CmsObject.java:2538)
     at 
org.opencms.gwt.CmsGwtServiceContext.getSerializationPolicy(CmsGwtServiceContext.java:257)
     at 
org.opencms.gwt.CmsGwtServiceContext.getSerializationPolicy(CmsGwtServiceContext.java:188)
     at 
org.opencms.gwt.CmsGwtService.doGetSerializationPolicy(CmsGwtService.java:276)
     at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy(RemoteServiceServlet.java:234)
     at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:505)
     at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:240)
     at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:296)
     at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
     at 
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
     at org.opencms.gwt.CmsGwtService.service(CmsGwtService.java:194)
     at org.opencms.main.OpenCmsCore.invokeGwtService(OpenCmsCore.java:1722)
     at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:158)
     at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:177)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
     at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
     at 
org.opencms.jsp.jsonpart.CmsJsonPartFilter.doFilter(CmsJsonPartFilter.java:281)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
     at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
     at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
     at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
     at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
     at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
     at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
     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: org.opencms.file.CmsVfsResourceNotFoundException: Unable to 
read resource 
"/sites/default/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc".
     at 
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:2383)
     at 
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:7683)
     at 
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:7449)
     at 
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5049)
     ... 81 more




More information about the opencms-dev mailing list