JBPM 6: Unable to parse a workitem definition: illegal use of operator: <
ocramot Sep 10, 2013 4:19 AMDuring 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