CMDBuild Forum

Asset Management error

Error when running process Asset Management:

org.cmdbuild.workflow.model.WorkflowException: error advancing process = Flow{id=88266, process=AssetMgt, tasklist=BA02-CreateAssets_AM02c-GRDelivery1[2159ruj68xo55v1zeh61jof3]@SuperUser, status=OPEN} for task = TaskDefinitionImpl{id=BA02-CreateAssets_AM02c-GRDelivery1, description=AM02c - Goods receipt (delivered assets)}, caused by: org.cmdbuild.workflow.river.engine.task.scriptexecutors.WorkflowScriptProcessingException: error running workflow script for task = BA02-CreateAssets_SYS02c.1-CreateAssets1 within flow = f1ia0jbs9f9ld5aq3v8oekxb, plan = f1l6v3gsos9mbn26banagiiz (Process_assetmgt), caused by: org.cmdbuild.utils.lang.CmException: beanshell script error =< WsType .REFERENCE > at line = 27, caused by: Sourced file: inline evaluation of: import org.cmdbuild.api.fluent.NewCard; import java.time.LocalDate; import java. . . . '' : Class or variable not found: WsType.REFERENCE : at Line: 27 : in file: inline evaluation of: import com.google.common.base.Predicate; import com.google.common.collect.Iterab . . . ‘’ : WsType .REFERENCE

Called from method: isReference : at Line: 41 : in file: inline evaluation of: ``import org.cmdbuild.api.fluent.NewCard; import java.time.LocalDate; import java. . . . ‘’ : isReference ( classname , name )

Machine tomcat message:

NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
25-Sep-2022 13:37:44.525 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.53
25-Sep-2022 13:37:44.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 6 2021 19:09:00 UTC
25-Sep-2022 13:37:44.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.53.0
25-Sep-2022 13:37:44.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 11
25-Sep-2022 13:37:44.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
25-Sep-2022 13:37:44.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
25-Sep-2022 13:37:44.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\jdk-17.0.2
25-Sep-2022 13:37:44.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 17.0.2+8-86
25-Sep-2022 13:37:44.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
25-Sep-2022 13:37:44.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: D:\Users\Administrator\ready2use
25-Sep-2022 13:37:44.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\Users\Administrator\ready2use
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=D:\Users\Administrator\ready2use\conf\logging.properties
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=D:\Users\Administrator\ready2use
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\Users\Administrator\ready2use
25-Sep-2022 13:37:44.955 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\Users\Administrator\ready2use\temp
25-Sep-2022 13:37:44.970 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [C:\jdk-17.0.2\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin;C:\Program Files (x86)\Embarcadero\Studio\21.0\bin;D:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl;C:\Program Files (x86)\Embarcadero\Studio\21.0\bin64;D:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\Win64;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\jdk-17.0.2\bin;C:\Program Files\PostgreSQL\12\bin;D:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;.]
25-Sep-2022 13:37:46.689 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
25-Sep-2022 13:37:46.892 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [3396] milliseconds
25-Sep-2022 13:37:47.111 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
25-Sep-2022 13:37:47.127 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.53]
25-Sep-2022 13:37:47.205 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\Users\Administrator\ready2use\webapps\cmdbuild]
25-Sep-2022 13:39:37.714 WARNING [main] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [281] milliseconds.
25-Sep-2022 13:39:41.281 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Users\Administrator\ready2use\webapps\cmdbuild] has finished in [114,076] ms
25-Sep-2022 13:39:41.328 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\Users\Administrator\ready2use\webapps\docs]
25-Sep-2022 13:39:41.531 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Users\Administrator\ready2use\webapps\docs] has finished in [203] ms
25-Sep-2022 13:39:41.546 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\Users\Administrator\ready2use\webapps\examples]
25-Sep-2022 13:39:48.408 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Users\Administrator\ready2use\webapps\examples] has finished in [6,862] ms
25-Sep-2022 13:39:48.439 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\Users\Administrator\ready2use\webapps\host-manager]
25-Sep-2022 13:39:48.626 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Users\Administrator\ready2use\webapps\host-manager] has finished in [187] ms
25-Sep-2022 13:39:48.626 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\Users\Administrator\ready2use\webapps\manager]
25-Sep-2022 13:39:48.923 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Users\Administrator\ready2use\webapps\manager] has finished in [297] ms
25-Sep-2022 13:39:48.923 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\Users\Administrator\ready2use\webapps\ROOT]
25-Sep-2022 13:39:49.064 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Users\Administrator\ready2use\webapps\ROOT] has finished in [141] ms
25-Sep-2022 13:39:49.064 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
25-Sep-2022 13:39:49.329 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [122434] milliseconds
25-Sep-2022 13:42:54.603 INFO [http-nio-8080-exec-1] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name [0x160x030x010x020x000x010x000x010xfc0x030x030xabJ0x890x110x1eK0xa30xdc+0xf5.0x1cLN0xecM70xf20x9fv0xb70x890xe8k(Ez0xe4V0x9f0xc8k ]. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:419)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:269)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1726)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:833)
25-Sep-2022 13:42:54.603 INFO [http-nio-8080-exec-2] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name [0x160x030x010x020x000x010x000x010xfc0x030x03R0xc50xb8f0xbd0xfdR0xe6>m0xa30xd5P0x800x9fN0x120xe6$0xfd0xce0x9b:F0xf50xe40xd20x030xae`0xec0xb9 ]. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:419)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:269)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1726)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:833)
25-Sep-2022 13:47:14.427 WARNING [http-nio-8080-exec-9] com.google.javascript.jscomp.LoggerErrorManager.println file.js:43:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
43| * @cfg {Boolean} maingrid
^

25-Sep-2022 13:47:14.473 WARNING [http-nio-8080-exec-9] com.google.javascript.jscomp.LoggerErrorManager.println file.js:50:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
50| * @cfg {String} objectTypeName
^

25-Sep-2022 13:47:14.489 WARNING [http-nio-8080-exec-9] com.google.javascript.jscomp.LoggerErrorManager.println file.js:56:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
56| * @cfg {Object} filter
^

25-Sep-2022 13:47:14.489 WARNING [http-nio-8080-exec-9] com.google.javascript.jscomp.LoggerErrorManager.printSummary 0 error(s), 3 warning(s)
25-Sep-2022 13:47:15.399 WARNING [http-nio-8080-exec-1] com.google.javascript.jscomp.LoggerErrorManager.println file.js:27:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
27| * @cfg {Boolean} maingrid
^

25-Sep-2022 13:47:15.399 WARNING [http-nio-8080-exec-1] com.google.javascript.jscomp.LoggerErrorManager.printSummary 0 error(s), 1 warning(s)
25-Sep-2022 13:47:16.094 SEVERE [http-nio-8080-exec-4] com.google.javascript.jscomp.LoggerErrorManager.println file.js:90:8: ERROR - [JSC_DUPLICATE_OBJECT_KEY] Object literal contains illegal duplicate key “disabled”, disallowed in strict mode
90| disabled: true,
^^^^^^^^

25-Sep-2022 13:47:16.109 WARNING [http-nio-8080-exec-4] com.google.javascript.jscomp.LoggerErrorManager.printSummary 1 error(s), 0 warning(s)
25-Sep-2022 13:52:29.424 WARNING [http-nio-8080-exec-6] com.google.javascript.jscomp.LoggerErrorManager.println file.js:43:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
43| * @cfg {Boolean} maingrid
^

25-Sep-2022 13:52:29.488 WARNING [http-nio-8080-exec-6] com.google.javascript.jscomp.LoggerErrorManager.println file.js:50:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
50| * @cfg {String} objectTypeName
^

25-Sep-2022 13:52:29.539 WARNING [http-nio-8080-exec-6] com.google.javascript.jscomp.LoggerErrorManager.println file.js:56:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
56| * @cfg {Object} filter
^

25-Sep-2022 13:52:29.547 WARNING [http-nio-8080-exec-6] com.google.javascript.jscomp.LoggerErrorManager.printSummary 0 error(s), 3 warning(s)
25-Sep-2022 13:52:30.828 WARNING [http-nio-8080-exec-4] com.google.javascript.jscomp.LoggerErrorManager.println file.js:27:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
27| * @cfg {Boolean} maingrid
^

25-Sep-2022 13:52:30.829 WARNING [http-nio-8080-exec-4] com.google.javascript.jscomp.LoggerErrorManager.printSummary 0 error(s), 1 warning(s)
25-Sep-2022 13:52:31.711 SEVERE [http-nio-8080-exec-4] com.google.javascript.jscomp.LoggerErrorManager.println file.js:90:8: ERROR - [JSC_DUPLICATE_OBJECT_KEY] Object literal contains illegal duplicate key “disabled”, disallowed in strict mode
90| disabled: true,
^^^^^^^^

25-Sep-2022 13:52:31.713 WARNING [http-nio-8080-exec-4] com.google.javascript.jscomp.LoggerErrorManager.printSummary 1 error(s), 0 warning(s)
25-Sep-2022 14:09:26.516 WARNING [http-nio-8080-exec-6] com.google.javascript.jscomp.LoggerErrorManager.println file.js:43:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
43| * @cfg {Boolean} maingrid
^

25-Sep-2022 14:09:26.520 WARNING [http-nio-8080-exec-6] com.google.javascript.jscomp.LoggerErrorManager.println file.js:50:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
50| * @cfg {String} objectTypeName
^

25-Sep-2022 14:09:26.521 WARNING [http-nio-8080-exec-6] com.google.javascript.jscomp.LoggerErrorManager.println file.js:56:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
56| * @cfg {Object} filter
^

25-Sep-2022 14:09:26.522 WARNING [http-nio-8080-exec-6] com.google.javascript.jscomp.LoggerErrorManager.printSummary 0 error(s), 3 warning(s)
25-Sep-2022 14:09:28.043 WARNING [http-nio-8080-exec-3] com.google.javascript.jscomp.LoggerErrorManager.println file.js:27:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
27| * @cfg {Boolean} maingrid
^

25-Sep-2022 14:09:28.045 WARNING [http-nio-8080-exec-3] com.google.javascript.jscomp.LoggerErrorManager.printSummary 0 error(s), 1 warning(s)
25-Sep-2022 14:09:29.828 SEVERE [http-nio-8080-exec-5] com.google.javascript.jscomp.LoggerErrorManager.println file.js:90:8: ERROR - [JSC_DUPLICATE_OBJECT_KEY] Object literal contains illegal duplicate key “disabled”, disallowed in strict mode
90| disabled: true,
^^^^^^^^

25-Sep-2022 14:09:29.828 WARNING [http-nio-8080-exec-5] com.google.javascript.jscomp.LoggerErrorManager.printSummary 1 error(s), 0 warning(s)
25-Sep-2022 14:09:47.236 WARNING [http-nio-8080-exec-4] com.google.javascript.jscomp.LoggerErrorManager.println file.js:43:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
43| * @cfg {Boolean} maingrid
^

25-Sep-2022 14:09:47.241 WARNING [http-nio-8080-exec-4] com.google.javascript.jscomp.LoggerErrorManager.println file.js:50:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
50| * @cfg {String} objectTypeName
^

25-Sep-2022 14:09:47.244 WARNING [http-nio-8080-exec-4] com.google.javascript.jscomp.LoggerErrorManager.println file.js:56:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
56| * @cfg {Object} filter
^

25-Sep-2022 14:09:47.253 WARNING [http-nio-8080-exec-4] com.google.javascript.jscomp.LoggerErrorManager.printSummary 0 error(s), 3 warning(s)
25-Sep-2022 14:09:47.855 WARNING [http-nio-8080-exec-8] com.google.javascript.jscomp.LoggerErrorManager.println file.js:27:11: WARNING - [JSC_BAD_JSDOC_ANNOTATION] Parse error. illegal use of unknown JSDoc tag “cfg”; ignoring it
27| * @cfg {Boolean} maingrid
^

25-Sep-2022 14:09:47.869 WARNING [http-nio-8080-exec-8] com.google.javascript.jscomp.LoggerErrorManager.printSummary 0 error(s), 1 warning(s)
25-Sep-2022 14:09:48.327 SEVERE [http-nio-8080-exec-8] com.google.javascript.jscomp.LoggerErrorManager.println file.js:90:8: ERROR - [JSC_DUPLICATE_OBJECT_KEY] Object literal contains illegal duplicate key “disabled”, disallowed in strict mode
90| disabled: true,
^^^^^^^^

25-Sep-2022 14:09:48.328 WARNING [http-nio-8080-exec-8] com.google.javascript.jscomp.LoggerErrorManager.printSummary 1 error(s), 0 warning(s)