Skip to content

Instantly share code, notes, and snippets.

View DuncanDoyle's full-sized avatar

Duncan Doyle DuncanDoyle

View GitHub Profile
apiVersion: app.kiegroup.org/v1alpha1
kind: KogitoApp
metadata:
creationTimestamp: '2019-11-14T19:45:40Z'
generation: 3
name: example-quarkus
namespace: kogito-operator-lab-user1
resourceVersion: '237493'
selfLink: >-
/apis/app.kiegroup.org/v1alpha1/namespaces/kogito-operator-lab-user1/kogitoapps/example-quarkus
12:56:50,926 ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (default task-9) Exception thrown: null: java.lang.NullPointerException
at org.kie.dmn.core.compiler.DMNCompilerImpl.resolveRelativeURI(DMNCompilerImpl.java:252)
at org.kie.dmn.core.compiler.DMNCompilerImpl.processPMMLImport(DMNCompilerImpl.java:234)
at org.kie.dmn.core.compiler.DMNCompilerImpl.compile(DMNCompilerImpl.java:212)
at org.kie.dmn.core.compiler.DMNCompilerImpl.compile(DMNCompilerImpl.java:171)
at org.kie.dmn.api.core.DMNCompiler.compile(DMNCompiler.java:41)
at org.kie.dmn.core.impl.DMNModelImpl.readExternal(DMNModelImpl.java:447)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:2117)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2066)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1572)
rule "automatic-approval-2"
ruleflow-group "automatic-approval"
no-loop
when
$caseFile: CaseData(data.get("fraudData")!.automated == true)
then
modify($caseFile) {
add("approvedChargeback", true);
}
end
04:00:02,740 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
04:00:02,741 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
04:00:02,741 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/home/ec2-user/github/optaweb-vehicle-routing/optaweb-vehicle-routing-backend/target/optaweb-vehicle-routing-backend-0.0.1-SNAPSHOT.jar!/BOOT-INF/classes!/logback.xml]
04:00:02,743 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
04:00:02,743 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/home/ec2-user/github/optaweb-vehicle-routing/optaweb-vehicle-routing-backend/target/optaweb-vehicle-routing-backend-0.0.1-SNAPSHOT.jar!/BOOT-INF/classes!/logback.xml]
04:00:02,743 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs
MacBook-Pro:quarkus-static-init-test ddoyle$ mvn clean package -Pnative -DskipTests
[INFO] Scanning for projects...
[INFO]
[INFO] --------------< io.quarkus.test:quarkus-static-init-test >--------------
[INFO] Building quarkus-static-init-test 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ quarkus-static-init-test ---
[INFO] Deleting /Users/ddoyle/Development/github/quarkus-static-init-test/target
[INFO]
Error: unsupported features in 2 methods
Detailed message:
Error: Unsupported method java.io.ObjectStreamClass.hasStaticInitializer(Class) is reachable: Native method. If you intend to use the Java Native Interface (JNI), specify -H:+JNI and see also -H:JNIConfigurationFiles=<path> (use -H:+PrintFlags for details)
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
Call path from entry point to java.io.ObjectStreamClass.hasStaticInitializer(Class):
at java.io.ObjectStreamClass.hasStaticInitializer(ObjectStreamClass.java)
at java.io.ObjectStreamClass.computeDefaultSUID(ObjectStreamClass.java:1941)
at java.io.ObjectStreamClass.access$100(ObjectStreamClass.java:79)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:275)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:273)
Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.jbpm.document.Document` (no Creators, like default construct, exist): abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information
at [Source: (String)"{
"myDocuments" : {
"org.jbpm.document.Documents" : {
"documents" : [ {
"org.jbpm.document.service.impl.DocumentImpl" : {
"identifier" : "b553165a-d6df-4cb6-bf10-e2ad53644fcd",
"name" : "firstDocument",
"link" : "",
"size" : 0,
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<deployment-descriptor xsi:schemaLocation="http://www.jboss.org/jbpm deployment-descriptor.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<persistence-unit>org.jbpm.domain</persistence-unit>
<audit-persistence-unit>org.jbpm.domain</audit-persistence-unit>
<audit-mode>JPA</audit-mode>
<persistence-mode>JPA</persistence-mode>
<runtime-strategy>SINGLETON</runtime-strategy>
<marshalling-strategies/>
<event-listeners/>
<task-event-listeners/>
{
"myDocuments":{
"org.jbpm.document.Documents":{
"documents":[
{
"org.jbpm.document.service.impl.DocumentImpl":{
"identifier":"28578a52-e1c7-41ce-b1c5-5f5fb6e10e16",
"name":"firstDocument",
"link":"",
"size":0,
SELECT id AS "id", activationtime AS "activationtime", actualowner AS "actualowner", createdby AS "createdby", createdon AS "createdon", deploymentid AS "deploymentid", description AS "description", duedate AS "duedate", lastmodificationdate AS "lastmodificationdate", name AS "name", parentid AS "parentid", priority AS "priority", processid AS "processid", processinstanceid AS "processinstanceid", processsessionid AS "processsessionid", status AS "status", taskid AS "taskid", workitemid AS "workitemid", entity_id AS "entity_id", taskid
FROM (select ti.*, oe.id entity_id from audittaskimpl ti, peopleassignments_potowners po, organizationalentity oe where ti.taskid = po.task_id and po.entity_id = oe.id)
AS "dbSQL"
WHERE ((entity_id IS NULL OR entity_id <> 'pamAdmin') AND
(((id = 'kiemgmt' OR id = 'manager' OR id = 'admin' OR id = 'rest-all' OR id = 'analyst' OR id = 'kie-server' OR id = 'user' OR id = 'pamAdmin') AND (actualowner = '' OR actualowner IS NULL)) OR actualowner = 'pamAdmin'))
GROUP BY taskid