3 Replies Latest reply on Jan 7, 2014 6:51 PM by Jay Guidos

    JBPM 6: Unable to parse a workitem definition: illegal use of operator: <

    ocramot Newbie

      During the Build & Deploy phase, I get the following error:

       

      09:17:44,022 ERROR [stderr] (http--0.0.0.0-8082-16) java.lang.Exception: [Error: illegal use of operator: <]

      09:17:44,044 ERROR [stderr] (http--0.0.0.0-8082-16) [Near : {... <org.kie.commons.java.nio.base ....}]

      09:17:44,060 ERROR [stderr] (http--0.0.0.0-8082-16)              ^

      09:17:44,075 ERROR [stderr] (http--0.0.0.0-8082-16) [Line: 1, Column: 1]

      09:17:44,091 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit.evaluateWorkDefinitions(JbpmPreprocessingUnit.java:269)

      09:17:44,120 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit.preprocess(JbpmPreprocessingUnit.java:158)

      09:17:44,161 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.jbpm.designer.server.EditorHandler.doGet(EditorHandler.java:316)

      09:17:44,184 ERROR [stderr] (http--0.0.0.0-8082-16)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

      09:17:44,208 ERROR [stderr] (http--0.0.0.0-8082-16)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      09:17:44,235 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

      09:17:44,274 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      09:17:44,307 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)

      09:17:44,337 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

      09:17:44,368 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      09:17:44,399 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)

      09:17:44,423 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

      09:17:44,457 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      09:17:44,495 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)

      09:17:44,524 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

      09:17:44,555 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      09:17:44,580 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)

      09:17:44,608 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

      09:17:44,657 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      09:17:44,692 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

      09:17:44,770 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

      09:17:44,829 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)

      09:17:44,917 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)

      09:17:44,976 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

      09:17:45,054 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

      09:17:45,076 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      09:17:45,111 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:416)

      09:17:45,137 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      09:17:45,181 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

      09:17:45,217 INFO  [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (http--0.0.0.0-8082-8) KieModule was added:MemoryKieModule[ ReleaseId=com.nttdata:view:1.0]

      09:17:45,220 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

      09:17:45,266 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)

      09:17:45,297 ERROR [stderr] (http--0.0.0.0-8082-16)     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)

      09:17:45,333 ERROR [stderr] (http--0.0.0.0-8082-16)     at java.lang.Thread.run(Thread.java:722)

      09:17:45,357 ERROR [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--0.0.0.0-8082-16) Unable to parse a workitem definition: [Error: illegal use of operator: <]

      [Near : {... <org.kie.commons.java.nio.base ....}]

                   ^

      [Line: 1, Column: 1]

       

      At first I thought the error was in the "WorkDefinitions.wid" file, but this file is not containing the '<' character anywhere; then, using the File Explorer panel, I found the ".WorkDefinitions.wid" file (notice the dot at the beginning), which is in fact an xml file:

       

      <org.kie.commons.java.nio.base.Properties serialization="custom">

        <unserializable-parents/>

        <map>

          <default>

            <loadFactor>0.75</loadFactor>

            <threshold>12</threshold>

          </default>

          <int>16</int>

          <int>6</int>

          <string>fileKey</string>

          <string>AnyObjectId[9f3f3c60e25ef97e192fc92f11c1a6e1ec7e789d]</string>

          <string>isDirectory</string>

          <boolean>false</boolean>

          <string>isSymbolicLink</string>

          <boolean>false</boolean>

          <string>isOther</string>

          <boolean>false</boolean>

          <string>isRegularFile</string>

          <boolean>true</boolean>

          <string>size</string>

          <long>6219</long>

        </map>

      </org.kie.commons.java.nio.base.Properties>

       

      I suppose this file is automatically generated by KIE, yet the compiler does not seem happy to find an xml file. Is this correct?

       

      Thanks in advance.

       

      Cheers

        • 1. Re: JBPM 6: Unable to parse a workitem definition: illegal use of operator: <
          Jose Cavieres Newbie

          I am having the same problem using 6.0.0.CR2, but it's worst because the worbench stop working after a while and I have to reload the page in order to keep working.

          Did anyone find the solution?

           

          The log:

          11:34:22,151 ERROR [stderr] (http-localhost/127.0.0.1:8080-5) java.lang.NullPointerException

          11:34:22,161 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jbpm.designer.util.Base64Backport.isBase64(Base64Backport.java:18)

          11:34:22,173 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jbpm.designer.util.Base64Backport.isBase64(Base64Backport.java:14)

          11:34:22,186 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit.setupDefaultWorkitemConfigs(JbpmPreprocessingUnit.java:483)

          11:34:22,195 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit.preprocess(JbpmPreprocessingUnit.java:147)

          11:34:22,203 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jbpm.designer.server.EditorHandler.doGet(EditorHandler.java:316)

          11:34:22,209 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

          11:34:22,215 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

          11:34:22,221 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

          11:34:22,231 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

          11:34:22,239 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)

          11:34:22,246 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

          11:34:22,254 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

          11:34:22,262 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)

          11:34:22,269 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

          11:34:22,277 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

          11:34:22,284 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)

          11:34:22,293 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

          11:34:22,304 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

          11:34:22,309 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)

          11:34:22,311 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

          11:34:22,319 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

          11:34:22,323 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

          11:34:22,326 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

          11:34:22,333 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)

          11:34:22,340 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)

          11:34:22,345 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

          11:34:22,351 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

          11:34:22,357 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          11:34:22,359 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:416)

          11:34:22,362 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          11:34:22,369 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

          11:34:22,375 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

          11:34:22,377 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)

          11:34:22,383 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)

          11:34:22,390 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at java.lang.Thread.run(Thread.java:679)

          11:34:22,445 ERROR [stderr] (http-localhost/127.0.0.1:8080-5) java.lang.Exception: [Error: illegal use of operator: <]

          11:34:22,447 ERROR [stderr] (http-localhost/127.0.0.1:8080-5) [Near : {... <org.kie.commons.java.nio.base ....}]

          11:34:22,450 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)              ^

          11:34:22,454 ERROR [stderr] (http-localhost/127.0.0.1:8080-5) [Line: 1, Column: 1]

          11:34:22,458 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit.evaluateWorkDefinitions(JbpmPreprocessingUnit.java:268)

          11:34:22,464 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit.preprocess(JbpmPreprocessingUnit.java:159)

          11:34:22,467 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jbpm.designer.server.EditorHandler.doGet(EditorHandler.java:316)

          11:34:22,473 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

          11:34:22,480 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

          11:34:22,486 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

          11:34:22,494 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

          11:34:22,500 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)

          11:34:22,503 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

          11:34:22,511 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

          11:34:22,517 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)

          11:34:22,519 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

          11:34:22,525 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

          11:34:22,532 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)

          11:34:22,540 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

          11:34:22,547 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

          11:34:22,549 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)

          11:34:22,555 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

          11:34:22,563 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

          11:34:22,570 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

          11:34:22,580 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

          11:34:22,582 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)

          11:34:22,586 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)

          11:34:22,593 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

          11:34:22,599 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

          11:34:22,603 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          11:34:22,614 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:416)

          11:34:22,622 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          11:34:22,628 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

          11:34:22,632 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

          11:34:22,634 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)

          11:34:22,641 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)

          11:34:22,647 ERROR [stderr] (http-localhost/127.0.0.1:8080-5)   at java.lang.Thread.run(Thread.java:679)

          11:34:22,669 INFO  [stdout] (http-localhost/127.0.0.1:8080-5) 197495 [http-localhost/127.0.0.1:8080-5] ERROR org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit  - Unable to parse a workitem definition: [Error: illegal use of operator: <]

          11:34:22,679 INFO  [stdout] (http-localhost/127.0.0.1:8080-5) [Near : {... <org.kie.commons.java.nio.base ....}]

          11:34:22,685 INFO  [stdout] (http-localhost/127.0.0.1:8080-5)              ^

          11:34:22,686 INFO  [stdout] (http-localhost/127.0.0.1:8080-5) [Line: 1, Column: 1]

          11:34:31,024 INFO  [stdout] (http-localhost/127.0.0.1:8080-6) 205864 [http-localhost/127.0.0.1:8080-6] ERROR org.jbpm.designer.web.server.DictionaryServlet  -

           

           

           

          JCS