Clarity

Expand all | Collapse all

ERROR after other work creation

Jump to Best Answer
  • 1.  ERROR after other work creation

    Posted 06-22-2016 08:33 AM
      |   view attached

    Hello everyone.

     

    One of our users is trying to create a new Other Work, but it keeps getting the same error, and i'm not sure what the log description is saying because there is no special characters in any field that is filled during it's creation. After the "save and return" the new other work appears with all fileds blank.

     

    Anyone else has encountered the same problem?

     

    ERROR 2016-06-22 12:11:25,942 [http-nio-443-exec-888] niku.xql2 (clarity:manuel.mendonca:13981688__78CCEF3A-652A-4171-BFEA-487C833D5237:projmgr.otherNewError) Failure while evaluating "lower(data/investment_code/@value)$viewCodeSuffix" in expression "{lower(data/investment_code/@value)$viewCodeSuffix}"

    java.lang.Exception: Invalid expression lower(data/investment_code/@value)$viewCodeSuffix: Encountered "$" at line 1, column 35.

    Was expecting one of:

        "?" ...

        "+" ...

        "-" ...

        "*" ...

        "/" ...

        "=" ...

        "!=" ...

        "<>" ...

        ">" ...

        ">=" ...

        "<" ...

        "<=" ...

        "or" ...

        "and" ...

        "not" ...

        "is" ...

        "like" ...

        "\u0000" ...

      

        at com.niku.xql2.XQLVisitor.eval(XQLVisitor.java:1134)

        at com.niku.xql2.XQLVisitor.eval(XQLVisitor.java:1060)

        at com.niku.xql2.XQLVisitor.process(XQLVisitor.java:1292)

        at com.niku.xql2.XQLVisitor.process(XQLVisitor.java:1340)

        at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:191)

        at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)

        at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)

        at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)

        at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:36)

        at com.niku.xql2.XQLProcessor.process(XQLProcessor.java:257)

        at com.niku.xql2.XQLProcessor.process(XQLProcessor.java:283)

        at com.niku.xql2.binding.ServiceControlBindingXql.processFile(ServiceControlBindingXql.java:387)

        at com.niku.xql2.binding.ServiceControlBindingXql.getDocument(ServiceControlBindingXql.java:270)

        at com.niku.xql2.binding.ServiceControlBindingXql.processRequest(ServiceControlBindingXql.java:154)

        at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:902)

        at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:212)

        at com.niku.union.web.WebServiceAdapter.processRequest(WebServiceAdapter.java:219)

        at com.niku.union.web.PortletController.processServiceRequest(PortletController.java:1419)

        at com.niku.union.web.PortletController.processAuthorizedPortlet(PortletController.java:902)

        at com.niku.union.web.PortletController.processPageActionRequest(PortletController.java:397)

        at com.niku.union.web.PortletController.processRequest(PortletController.java:164)

        at com.niku.union.web.WebActionController.processAction(WebActionController.java:1433)

        at com.niku.union.web.WebActionController.processRequest(WebActionController.java:176)

        at com.ca.clarity.uif.service.vxml.VXMLService.processRequest(VXMLService.java:456)

        at com.ca.clarity.uif.UIServlet.service(UIServlet.java:69)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.niku.union.web.filter.ClarityContentFilter.doFilter(ClarityContentFilter.java:148)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.niku.union.web.filter.XSSFilter.doFilter(XSSFilter.java:80)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.niku.union.web.filter.GZIPResponseFilter.doFilter(GZIPResponseFilter.java:138)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.niku.union.web.filter.TenantSetupFilter.doFilter(TenantSetupFilter.java:50)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.niku.union.web.filter.CharsetFilter.doFilter(CharsetFilter.java:45)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.filters.AddDefaultCharsetFilter.doFilter(AddDefaultCharsetFilter.java:88)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)

        at com.niku.union.web.valves.ErrorPageRedirectValve.invoke(ErrorPageRedirectValve.java:65)

        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)

        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)

        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: com.niku.xql2.eval.ParseException: Encountered "$" at line 1, column 35.

    Was expecting one of:

        "?" ...

        "+" ...

        "-" ...

        "*" ...

        "/" ...

        "=" ...

        "!=" ...

        "<>" ...

        ">" ...

        ">=" ...

        "<" ...

        "<=" ...

        "or" ...

        "and" ...

        "not" ...

        "is" ...

        "like" ...

        "\u0000" ...

      

        at com.niku.xql2.eval.XQLEvaluator.generateParseException(XQLEvaluator.java:1045)

        at com.niku.xql2.eval.XQLEvaluator.jj_consume_token(XQLEvaluator.java:929)

        at com.niku.xql2.eval.XQLEvaluator.eval(XQLEvaluator.java:56)

        at com.niku.xql2.eval.XQLEvaluator.compile(XQLEvaluator.java:32)

        at com.niku.xql2.eval.XQLEvaluator.parse(XQLEvaluator.java:40)

        at com.niku.xql2.XQLVisitor.eval(XQLVisitor.java:1086)

        ... 65 more

    Attachment(s)

    zip
    app-ca.log.zip   1K 1 version


  • 2.  Re: ERROR after other work creation

    Posted 06-27-2016 05:36 AM

    Does anyone have an idea on what to look for in this issue? I'm not sure what is wrong here since i cant simulate the error on our test environment.



  • 3.  Re: ERROR after other work creation

    Posted 06-27-2016 07:01 AM

    Hey,

     

    1. What is the "Other Work ID" that this User is passing when he creates his Other Work?

    2. How many combinations of "Other Work IDs" have you tried to create an Other Work with?



  • 4.  Re: ERROR after other work creation

    Posted 06-27-2016 09:04 AM

    Yes the error says investment_code, so what is the ID.

     

    From another thread is that with a supported version of a browsers for you CA PPM?

    Which are those?



  • 5.  Re: ERROR after other work creation
    Best Answer

    Posted 06-27-2016 10:09 AM

    So i managed to figure out what was causing this issue...

     

    It was a bad page ID that contained special letters, and after the upgrade to 14.3 it started giving this error, after the edit page was first displayed and a "save" was made.

     

    Basically i had to re-create the page with a valid ID...

     

    Thank you all for you time!

     



  • 6.  Re: ERROR after other work creation

    Posted 06-27-2016 10:16 AM

    you stated "One of our users is trying to create a new Other Work, but it keeps getting the same error". When our users submit an issue, we request the exact steps they are following so we can duplicate the problem, including screen captures.

     

    perhaps you can include the steps here?

    Is your other work customized? has processes?

     

    I would assume that this does not affect anyone else, so this is most likely a user error, so the steps are very important.

     

    I always look at the steps first, if it is a user error.

     

    How are they entering in the ID? Manually? If so, are they cutting and pasting from Excel? uf so, perhaps a whites pace character if coming in?



  • 7.  Re: ERROR after other work creation

    Posted 06-27-2016 10:30 AM

    It was not just that user, apparently it had something to do with a bad page ID, that was shown after the initial "Save". It was working fine until we recently migrated to 14.3.

     

    So basically after the user filled the create page and clicked save the edit page was supposed to show up, and that was when the error occurred, because it was a "bad url".