Skip to content

Instantly share code, notes, and snippets.

View cristianonicolai's full-sized avatar

Cristiano Nicolai cristianonicolai

View GitHub Profile
@cristianonicolai
cristianonicolai / case.log
Created July 30, 2020 02:13
case project log
12:12:47,898 INFO [org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder] (EJB default - 3) Incremental build request being processed: default://master@MySpace/test2/src/main/resources/META-INF/kie-deployment-descriptor.xml (added).
12:12:48,105 ERROR [org.kie.workbench.common.services.backend.builder.core.Builder] (EJB default - 3) null: java.lang.UnsupportedOperationException
at deployment.business-central.war//org.drools.compiler.builder.InternalKnowledgeBuilder$Empty.batch(InternalKnowledgeBuilder.java:159)
at deployment.business-central.war//org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.buildChanges(KieBuilderSetImpl.java:144)
at deployment.business-central.war//org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.build(KieBuilderSetImpl.java:118)
at deployment.business-central.war//org.kie.workbench.common.services.backend.builder.core.Builder.buildIncrementally(Builder.java:541)
at deployment.business-central.war//org.kie.workbench.common.services.backend.builder.core.Bui
@ApplicationScoped
public class CalculationService {
@Inject
@Named("demo.orderItems")
Process<? extends Model> orderItemsProcess;
private Random random = new Random();
public Order calculateTotal(Order order, String id) {
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< archetype.it:basic-project >---------------------
[INFO] Building basic-project 0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/kie/kogito/kogito-bom/0.7.1/kogito-bom-0.7.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/kie/kogito/kogito-bom/0.7.1/kogito-bom-0.7.1.pom (0 B at 0 B/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/kie/kogito/kogito-bom-parent/0.7.1/kogito-bom-parent-0.7.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/kie/kogito/kogito-bom-parent/0.7.1/kogito-bom-parent-0.7.1.pom (0 B at 0 B/s)
02:22:26,277 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
02:22:26,278 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/home/cnicolai/git/kogito-runtimes/jbpm/jbpm-bpmn2/target/test-classes/logback-test.xml]
02:22:26,279 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs multiple times on the classpath.
02:22:26,279 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [file:/home/cnicolai/git/kogito-runtimes/jbpm/jbpm-bpmn2/target/test-classes/logback-test.xml]
02:22:26,279 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [file:/home/cnicolai/git/kogito-runtimes/drools/drools-core/target/test-classes/logback-test.xml]
02:22:26,361 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
02:22:26,566 |-INFO in ch.qos.logback.core.joran.actio
@cristianonicolai
cristianonicolai / build.log
Created March 16, 2020 15:04
build error
[INFO] WARNING in webpack performance recommendations:
[INFO] You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
[INFO] For more info visit https://webpack.js.org/guides/code-splitting/
[INFO] Child html-webpack-plugin for "index.html":
[INFO] 1 asset
@cristianonicolai
cristianonicolai / standalone.log
Created February 13, 2020 01:33
business centrall 7.33 final
11:32:25,078 INFO [stdout] (MSC service thread 1-2) [ERROR] [ERROR] Some problems were encountered while processing the POMs:
11:32:25,078 INFO [stdout] (MSC service thread 1-2) [ERROR] Unresolveable build extension: Plugin org.kie:kie-maven-plugin:7.33.0.Final or one of its dependencies could not be resolved: Failure to find org.kie:kie-maven-plugin:jar:7.33.0.Final in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @
11:32:25,078 INFO [stdout] (MSC service thread 1-2) [ERROR] Unknown packaging: kjar @ line 6, column 14
11:32:25,078 INFO [stdout] (MSC service thread 1-2) @
11:32:25,079 ERROR [org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl] (MSC service thread 1-2) Failed to add internal template org.kie.templates:base-kie-project:1.0.0-TEMPLATE: org.kie.workbench.common.screens.archetype.mgmt.shared.exceptions.MavenExecutionException:
lerna info Executing command in 2 packages: "yarn run build:prod"
@kogito-apps/management-console: $ yarn run lint && webpack --config webpack.prod.js && yarn run test
@kogito-apps/task-console: $ yarn run lint && webpack --config webpack.prod.js && yarn run test
@kogito-apps/management-console: $ tslint -c ./tslint.json --project .
@kogito-apps/task-console: $ tslint -c ./tslint.json --project .
version: '2.1'
services:
infinispan:
image: infinispan/server:10.0.0.Final-1
# network_mode: host
ports:
- 11222:11222
command: "/opt/infinispan/bin/server.sh -c infinispan-demo.xml"
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Atoms/AvatarComponent/AvatarComponent.tsx:4:11 - An empty interface is equivalent to `{}`.
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Atoms/AvatarComponent/AvatarComponent.tsx:9:10 - JSX elements with no children must be self-closing
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Atoms/BrandComponent/BrandComponent.tsx:7:11 - An empty interface is equivalent to `{}`.
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Atoms/BrandComponent/BrandComponent.tsx:14:10 - JSX elements with no children must be self-closing
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Molecules/DataListItemComponent/DataListItemComponent.tsx:55:20 - Shadowed name: 'isOpen'
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Molecules/DataListItemComponent/DataListItemComponent.tsx:59:24 - Sha
@Test
public void testGetKieText() {
GAV gavEvaluation = new GAV("evaluation", "evaluation", "12.1.1.Final");
InputStream is = this.getClass().getResourceAsStream("evaluation-12.1.1.jar");
repo.deployArtifact(is, gavEvaluation, false);
Optional<File> file = repo.listFiles("evaluation-12.1.1", singletonList("jar")).stream().findFirst();
assertTrue(file.isPresent());