Hello.
Could you try again with the console of your web browser open? What
interests me is the "network" panel. When you toggle a button, you should
see an XHR request to /xwiki/rest/{something}. You could look at this
request, and its parameters?
Thanks,
Guillaume
2017-05-09 12:24 GMT+02:00 Marcio Barreto <marcio.barreto(a)first-global.com>om>:
Hi,
I have just installed xwiki 9.3 and I am having problems with the
notification settings. I've used tomcat9, mysql14 on centos 6.9.
On the user profile, Notifications Preferences option I cant change the
notification settings. Every time i toggle the option I get an error:
"Failed to save your settings"
and get this error on the server:
mai 09, 2017 11:19:02 AM org.restlet.engine.application.StatusFilter
doHandle
WARNING: Exception or error caught in status service
java.lang.IllegalStateException: The Web form cannot be parsed as no fresh
content is available. If this entity has been already read once, caching of
the entity is required
at org.restlet.engine.util.FormUtils.parse(FormUtils.java:272)
at org.restlet.data.Form.<init>(Form.java:88)
at
org.xwiki.rest.internal.representations.objects.
FormUrlEncodedObjectReader.readFrom(FormUrlEncodedObjectReader.java:82)
at
org.xwiki.rest.internal.representations.objects.
FormUrlEncodedObjectReader.readFrom(FormUrlEncodedObjectReader.java:52)
at
org.restlet.ext.jaxrs.internal.wrappers.provider.
SingletonProvider.readFrom(SingletonProvider.java:304)
at
org.restlet.ext.jaxrs.internal.wrappers.params.EntityGetter.getValue(
EntityGetter.java:109)
at
org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.get(
ParameterList.java:1090)
at
org.restlet.ext.jaxrs.internal.wrappers.AbstractMethodWrapper.
internalInvoke(AbstractMethodWrapper.java:169)
at
org.restlet.ext.jaxrs.internal.wrappers.ResourceMethod.invoke(
ResourceMethod.java:291)
at
org.restlet.ext.jaxrs.JaxRsRestlet.invokeMethod(JaxRsRestlet.java:1043)
at org.restlet.ext.jaxrs.JaxRsRestlet.handle(
JaxRsRestlet.java:792)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:500)
at org.restlet.routing.Router.handle(Router.java:740)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at
org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:
154)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:114)
at
org.restlet.engine.application.ApplicationHelper.
handle(ApplicationHelper.java:75)
at org.restlet.Application.handle(Application.java:391)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:500)
at org.restlet.routing.Router.handle(Router.java:740)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:500)
at org.restlet.routing.Router.handle(Router.java:740)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:114)
at org.restlet.Component.handle(Component.java:391)
at org.restlet.Server.handle(Server.java:491)
at org.restlet.engine.ServerHelper.handle(ServerHelper.java:74)
at
org.restlet.engine.http.HttpServerHelper.handle(HttpServerHelper.java:153)
at
org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1031)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(
XWikiContextInitializationFilter.java:85)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(
SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.
doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.
doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:199)
at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:96)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(
AuthenticatorBase.java:475)
at
org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:140)
at
org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:80)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(
AbstractAccessLogValve.java:624)
at
org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:87)
at
org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:341)
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:495)
at
org.apache.coyote.AbstractProcessorLight.process(
AbstractProcessorLight.java:66)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
AbstractProtocol.java:767)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.
doRun(NioEndpoint.java:1354)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(
SocketProcessorBase.java:49)
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:748)
Already searched everywhere for this error on notifications with no
success.
Can anyone kindly point me to some direction, already reinstalled twice
with
same result.
best regards
--
View this message in context:
http://xwiki.475771.n2.nabble.
com/Error-saving-Notifications-Preferences-tp7603801.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
--
Guillaume Delhumeau (guillaume.delhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the
XWiki.org project