Skip to content

Instantly share code, notes, and snippets.

View ge0ffrey's full-sized avatar

Geoffrey De Smet ge0ffrey

View GitHub Profile
Monster machine
threadCount,loopSizeMin,loopSizeMax,speedA, speed B
1,3000,3000,56414,60001
1,30000,30000,7039,6898
1,300000,300000,687,749
1,30000,60000,6162,6715
1,30000,300000,3727,4064
1,30000,3000000,683,744
2,3000,3000,110579,113971
14:23:31 INFO [CDI] activated CDI eventing subsystem.
ErraiConsoleLogHandler.java:83 14:23:31 INFO [InitVotes] vote for: org.jboss.errai.enterprise.client.cdi.api.CDI
ErraiConsoleLogHandler.java:83 14:23:31 INFO [InitVotes] still waiting for -> [org.jboss.errai.bus.client.api.ClientMessageBus]
ErraiConsoleLogHandler.java:91 14:23:31 SEVERE [LogConfiguration] (TypeError) : Cannot read property 'forEach_0_g$' of null
QMj_g$ @ ErraiConsoleLogHandler.java:91
ErraiConsoleLogHandler.java:91 Error: JavaScriptException: (TypeError) : Cannot read property 'forEach_0_g$' of null
at usl_g$.xsl_g$ [as onSuccess_5_g$] (MenuPanel.java:106)
at usl_g$.wsl_g$ [as onSuccess_1_g$] (MenuPanel.java:103)
at usl_g$.tq_g$ [as onSuccess_0_g$] (RestCallback.java:28)
at _q_g$.cr_g$ [as onResponseReceived_0_g$] (RestRequestCallback.java:53)
[INFO] --- gwt-maven-plugin:1.0-rc-9:compile (default-compile) @ optashift-employee-rostering-gwtui ---
[INFO] Compiling module org.optaplanner.openshift.employeerostering.gwtui.WorkerRosteringWebapp
[INFO] Ignored 6 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO] Computing all possible rebind results for 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
[INFO] Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO] Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO] Generating Marshallers Bootstrapper...
[WARNING] [main] INFO org.jboss.errai.common.rebind.CacheUtil - clearing all generation caches...
[WARNING] [Thread-17] INFO org.jboss.errai.reflections.Reflections - Reflections took 506 ms to scan 16 urls, producing 668 keys and 4590 values [using 2 cores]
[INFO] +- org.optaplanner:optaplanner-core:jar:7.5.0.Final:compile
[INFO] | +- org.kie:kie-api:jar:7.5.0.Final:compile
[INFO] | | \- org.kie.soup:kie-soup-maven-support:jar:7.5.0.Final:compile
[INFO] | +- org.kie:kie-internal:jar:7.5.0.Final:compile
[INFO] | +- org.drools:drools-core:jar:7.5.0.Final:compile
[INFO] | | +- org.mvel:mvel2:jar:2.3.2.Final:compile
[INFO] | | +- org.kie.soup:kie-soup-commons:jar:7.5.0.Final:compile
[INFO] | | +- org.kie.soup:kie-soup-project-datamodel-commons:jar:7.5.0.Final:compile
Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: There are errors in a score DRL:
Error Messages:
Message [id=1, kieBase=defaultKieBase, level=ERROR, path=org/optaplanner/examples/cheaptime/solver/cheapTimeScoreRules.drl, line=-1, column=0
text=Unable to Analyse Expression period > $lastActivePeriod:
[Error: Comparison operation requires compatible types. Found int and interface java.lang.Comparable]
[Near : {... period > $lastActivePeriod ....}]
^]
This error message doesn't distingish between the 2 sides (left and right, input and output, up and down):
rule "totalMakespan" // This is line 95
when
accumulate(
Allocation(jobType == JobType.SINK, $endDate : endDate);
$maxProjectEndDate : max($endDate)
)
then
scoreHolder.addSoftConstraintMatch(kcontext, 1, -$maxProjectEndDate); // Line 102
end
public class TennisBenchmarkApp extends LoggingMain {
public static void main(String[] args) {
new TennisBenchmarkApp().benchmark();
}
private final PlannerBenchmarkFactory benchmarkFactory;
public TennisBenchmarkApp() {
SolverFactory<TennisSolution> solverFactory = SolverFactory.createFromXmlResource(TennisApp.SOLVER_CONFIG);
<div>
<div style="padding-bottom: 10px">
<button id="refreshButton" class="btn btn-default" aria-label="Refresh">
<span class="glyphicon glyphicon-refresh" aria-hidden="true"/> Refresh
</button>
</div>
<table id="table"></table>
<div id="pagination"></div>
<form id="addForm" class="form-inline">
<div class="form-group">
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ optashift-employee-rostering-gwtui ---
[INFO] org.optaplanner.openshift:optashift-employee-rostering-gwtui:gwt-app:0.1.0-SNAPSHOT
[INFO] +- com.google.gwt:gwt-dev:jar:2.8.0:compile
[INFO] | +- com.google.code.gson:gson:jar:2.6.2:compile
[INFO] | +- org.ow2.asm:asm:jar:5.0.3:compile
[INFO] | +- org.ow2.asm:asm-util:jar:5.0.3:compile
[INFO] | | \- org.ow2.asm:asm-tree:jar:5.0.3:compile
[INFO] | +- org.ow2.asm:asm-commons:jar:5.0.3:compile
[INFO] | +- colt:colt:jar:1.2.0:compile
[INFO] | +- ant:ant:jar:1.6.5:compile
Repo's:
appformer (= uberfire, dashbuilder, guvnor, ...)
drools
kie-wb-common depends on appformer, drools
Old state:
org uberfire
repo uberfire
org kie