Bad error logging when a webengine page is not found for a given url
--------------------------------------------------------------------
Key: NXP-3808
URL: http://jira.nuxeo.org/browse/NXP-3808
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Affects Versions: 5.2 GA
Reporter: Anahide Tchertchian
Assignee: Thierry Delprat
Fix For: 5.2.x
When playing with the @Path annotation, sometimes the target page is not found.
There is no error in the logs (=> not visible in console), but the log file
shows an error output like for instance:
org.jboss.resteasy.spi.NoResourceFoundFailure: Could not find resource for
relative : /asap/redchef/%40switchLocale of full path:
http://localhost:8080/nuxeo
/site/asap/redchef/%40switchLocale?lang=en
at
org.jboss.resteasy.core.registry.PathParamSegment.matchPattern(PathParamSegment.java:216)
at
org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:349)
at
org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:371)
at
org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:251)
at
org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:138)
at
org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:110)
at
org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:146)
at
org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:110)
at
org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:146)
at
org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:95)
at
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
at
org.nuxeo.ecm.webengine.server.resteasy.WebEngineServlet.service(WebEngineServlet.java:153)
=> this should be an error log, visible in the console
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets