This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Unable to get LastModified for ClasspathResource | |
at org.drools.io.impl.ClassPathResource.getLastModified(ClassPathResource.java:146) | |
at org.drools.io.impl.ClassPathResource.getInputStream(ClassPathResource.java:107) | |
at org.drools.examples.templates.SimpleRuleTemplateExample.getRulesStream(SimpleRuleTemplateExample.java:119) | |
at org.drools.examples.templates.SimpleRuleTemplateExample.buildKBase(SimpleRuleTemplateExample.java:84) | |
at org.drools.examples.templates.SimpleRuleTemplateExample.executeExample(SimpleRuleTemplateExample.java:49) | |
at org.drools.examples.templates.SimpleRuleTemplateExample.main(SimpleRuleTemplateExample.java:43) | |
at org.drools.examples.DroolsExamplesApp$10.actionPerformed(DroolsExamplesApp.java:119) | |
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) | |
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Set the Table Format and check-in | |
//TODO Is it possible to alter the content and save without checking-in? | |
RuleAsset asset = repositoryAssetService.loadRuleAsset( uuid ); | |
GuidedDecisionTable52 content = (GuidedDecisionTable52) asset.getContent(); | |
content.setTableFormat( configuration.getTableFormat() ); | |
asset.setCheckinComment( "Table Format automatically set to [" + configuration.getTableFormat().toString() + "]" ); | |
repositoryAssetService.checkinVersion( asset ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processed: /Users/rikkola/mydb.h2.db | |
Staring DB for white pages ... | |
DB for white pages started! | |
org.h2.server.TcpServerThread@a966905 Connect | |
org.h2.server.TcpServerThread@a966905 Disconnect | |
org.h2.server.TcpServerThread@a966905 Close | |
org.h2.server.TcpServerThread@32cd736 Connect | |
org.h2.server.TcpServerThread@32cd736 Connected | |
Process = <definitions id="Definition" targetNamespace="http://www.example.org/MinimalExample" typeLanguage="http://www.java.com/javaTypes" expressionLanguage="http://www.mvel.org/2.0" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" xmlns:tns="http://www.jboss.org/drools"><process id="Minimal" name="Minimal Process" tns:packageName="com.sample"><startEvent id="_1" name="StartProcess"/><sequenceFlow sourceRef="_1" targetRef="_2"/><scriptTask id="_2" name="Hello"><script>System.out.println("Hello World");</script></scriptTask><sequenceFlow sourceRef="_2" tar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is the default rule editor widget (just text editor based) - more to come later. | |
*/ | |
public class DefaultRuleContentWidget extends DirtyableComposite | |
implements | |
EditorWidget { | |
private TextArea text; | |
final private RuleContentText data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test Result (4 failures / +4) | |
org.drools.agent.KnowledgeAgentDisposeTest.testDispose | |
org.drools.agent.KnowledgeAgentDisposeTest.testMonitorResourceChangeEvents | |
org.drools.agent.KnowledgeAgentEventListenerTest.testEventListenerWithIncrementalChangeSet | |
org.drools.agent.KnowledgeAgentEventListenerTest.testEventListenerWithoutIncrementalChangeSet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build Artifacts | |
Changes | |
reorganised expert docs, and added longer introduction for hybrid reason systems (commit: 5b39f7b1b074534c6fe166ad725e8b16f6ed45e8) (detail / githubweb) | |
add traits documentation (commit: e22390fce6f2f9d8b7aab1c89b68fe2d79bc1fcc) (detail / githubweb) | |
updated query docs, thanks to wolfgang laune (commit: 61ec617eaf4eeee1aa5fe991ccaffc6a4e0a901d) (detail / githubweb) | |
reorganised expert docs, and added longer introduction for hybrid reason systems (commit: 3d447068ef388f04f2abfc9db97e5cf4b8f74655) (detail / githubweb) | |
(detail / githubweb) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.AssertionError: Rule Compilation error : [Rule name='r1'] | |
org/drools/workitem/test/Rule_r1_4d2770b5c8fb4f6086e56e238202d4ba.java (2:41) : The import org.drools.process cannot be resolved | |
org/drools/workitem/test/Rule_r1_4d2770b5c8fb4f6086e56e238202d4ba.java (2:85) : The import org.drools.process cannot be resolved | |
org/drools/workitem/test/Rule_r1_4d2770b5c8fb4f6086e56e238202d4ba.java (2:182) : The import org.drools.process cannot be resolved | |
org/drools/workitem/test/Rule_r1_4d2770b5c8fb4f6086e56e238202d4ba.java (7:499) : WorkItem cannot be resolved to a type | |
org/drools/workitem/test/Rule_r1_4d2770b5c8fb4f6086e56e238202d4ba.java (7:517) : WorkItemImpl cannot be resolved to a type | |
org/drools/workitem/test/Rule_r1_4d2770b5c8fb4f6086e56e238202d4ba.java (9:566) : DefaultWorkItemManager cannot be resolved to a type | |
org/drools/workitem/test/Rule_r1_4d2770b5c8fb4f6086e56e238202d4ba.java (9:597) : DefaultWorkItemManager cannot be resolved to a type | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting examples app... | |
New : [Ticket [Customer D : Drools : Silver] : New] | |
New : [Ticket [Customer C : Drools : Silver] : New] | |
New : [Ticket [Customer B : Drools : Platinum] : New] | |
New : [Ticket [Customer A : Drools : Gold] : New] | |
Email : [Ticket [Customer B : Drools : Platinum] : Escalate] | |
[[ Sleeping 5 seconds ]] | |
Email : [Ticket [Customer A : Drools : Gold] : Escalate] | |
Done : [Ticket [Customer C : Drools : Silver] : Done] | |
Unable to execute timer job! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================================= | |
Unexpected exception caught: Exception executing consequence for rule "If the drop is between 5% and 6%, do nothing" in org.drools.examples.broker: [Error: drools.insert( pa ): Unexpected exception executing action org.jbpm.process.instance.event.DefaultSignalManager$SignalAction@85e57] | |
[Near : {... with( pa = new PortfolioAction ....}] | |
^ | |
[Line: 1, Column: 1] | |
Exception executing consequence for rule "If the drop is between 5% and 6%, do nothing" in org.drools.examples.broker: [Error: drools.insert( pa ): Unexpected exception executing action org.jbpm.process.instance.event.DefaultSignalManager$SignalAction@85e57] | |
[Near : {... with( pa = new PortfolioAction ....}] | |
^ | |
[Line: 1, Column: 1] | |
at org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public GenericActivityMapper implements ActivityMapper { | |
Map<Place,Activity> activites = new HashMap<String,Activity>; | |
@Inject | |
void initServices(@Any Instance<Activity> activities) { | |
for (Activity activity: activities) { | |
activites.put(activitity.getPlace(),activity); | |
} |