Error "Should not be called with a zero pseuod level." when opening document

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Johann
Posts: 164
Joined: Wed Jun 17, 2015 12:46 pm

Error "Should not be called with a zero pseuod level." when opening document

Post by Johann »

Hello,

I am using Author web 25.

When I open a document I get this error in the console :

Code: Select all

2022-11-29 15:24:28,741 ERROR [ http-nio-8090-exec-7 ] ro.sync.ecss.css.qb - Should not be called with a zero pseuod level. 
java.lang.Exception: null
	at ro.sync.ecss.css.qb.<init>(Unknown Source)
	at ro.sync.ecss.css.t.b(Unknown Source)
	at ro.sync.ecss.css.bb.ec(Unknown Source)
	at ro.sync.ecss.css.bb.cc(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.wb(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.nb(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.jb(Unknown Source)
	at ro.sync.ecss.webapp.f$_ab.q(Unknown Source)
	at ro.sync.ecss.webapp.f$_s.b(Unknown Source)
	at ro.sync.ecss.webapp.f$_e.bb(Unknown Source)
	at ro.sync.ecss.webapp.f$_ab.q(Unknown Source)
	at ro.sync.ecss.webapp.f$_s.b(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.bb(Unknown Source)
	at ro.sync.ecss.webapp.f$_ab.q(Unknown Source)
	at ro.sync.ecss.webapp.f$_s.b(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.bb(Unknown Source)
	at ro.sync.ecss.webapp.f$_ab.q(Unknown Source)
	at ro.sync.ecss.webapp.f$_s.b(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.bb(Unknown Source)
	at ro.sync.ecss.webapp.f$_ab.q(Unknown Source)
	at ro.sync.ecss.webapp.f$_s.b(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.bb(Unknown Source)
	at ro.sync.ecss.webapp.f$_ab.q(Unknown Source)
	at ro.sync.ecss.webapp.f$_s.b(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.bb(Unknown Source)
	at ro.sync.ecss.webapp.f$_ab.q(Unknown Source)
	at ro.sync.ecss.webapp.f$_s.b(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.bb(Unknown Source)
	at ro.sync.ecss.webapp.f$_ab.q(Unknown Source)
	at ro.sync.ecss.webapp.f$_s.b(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.bb(Unknown Source)
	at ro.sync.ecss.webapp.f$_ab.q(Unknown Source)
	at ro.sync.ecss.webapp.f$_s.b(Unknown Source)
	at ro.sync.ecss.webapp.f$_cb.bb(Unknown Source)
	at ro.sync.ecss.webapp.f$_j.b(Unknown Source)
	at ro.sync.ecss.webapp.f.render(Unknown Source)
	at ro.sync.servlet.data.AuthorDocumentModelInfoProvider.renderDocumentAsHtml(AuthorDocumentModelInfoProvider.java:136)
	at ro.sync.servlet.data.LoadedDocumentInfo.<init>(LoadedDocumentInfo.java:60)
	at ro.sync.servlet.data.LoadedDocumentInfo.<init>(LoadedDocumentInfo.java:50)
	at ro.sync.servlet.data.LoadedDocumentInfoFactory.buildDocumentInfo(LoadedDocumentInfoFactory.java:57)
	at ro.sync.servlet.RESTDocumentManager.retrieveDocument(RESTDocumentManager.java:408)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
	at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:660)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:524)
	at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:474)
	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:476)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:434)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:408)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:69)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
	at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:249)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:60)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
	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 ro.sync.servlet.config.UnlockDocumentsFilter.doFilter(UnlockDocumentsFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at ro.sync.ecss.webapp.d.h.doFilter(Unknown Source)
	at ro.sync.ecss.extensions.api.webapp.license.LicenseEnforcerFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at ro.sync.servlet.config.OxygenLanguageFilter.doFilter(OxygenLanguageFilter.java:44)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at ro.sync.servlet.config.OxygenContextFilter.doFilter(OxygenContextFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at ro.sync.servlet.config.UTF8CharsetEnforcer.doFilter(UTF8CharsetEnforcer.java:28)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	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 ro.sync.auth.CsrfFilter.doFilter(CsrfFilter.java:72)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at ro.sync.auth.ClientSessionFilter.doFilter(ClientSessionFilter.java:66)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at ro.sync.servlet.ssl.SSLRedirectFilter.doFilter(SSLRedirectFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450)
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
	at ro.sync.auth.WebappShiroFilter.doFilterInternal(WebappShiroFilter.java:85)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	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.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
The document opens fine and I have not seen any impact from getting this error.
However, what exactly is this error and how can I stop it from appearing?

Thank you for your help,

Johann
Bogdan Dumitru
Site Admin
Posts: 71
Joined: Tue Mar 20, 2018 5:28 pm

Re: Error "Should not be called with a zero pseuod level." when opening document

Post by Bogdan Dumitru »

Hello Johann,

This error appears if you have defined in your framework a pseudo-element with an illegal level.
Notice the Using the :before(n) and :after(n) CSS Pseudo-Elements topic that states "Level 1 corresponds to normal :before or :after pseudo-elements".

Search for "before(0)" and "after(0)" in your framework's CSS files.
Bogdan Dumitru
http://www.oxygenxml.com
Johann
Posts: 164
Joined: Wed Jun 17, 2015 12:46 pm

Re: Error "Should not be called with a zero pseuod level." when opening document

Post by Johann »

Hello Bogdan,

Ok, I see.
Indeed, I have an after(0) selector in the CSS.

Thank you, I do not have the error anymore.

Johann
Post Reply