Re: [rules-users] Unexpected java.lang.NullPointerException at org.drools.core.util.RightTupleIndexHashTable.removeAdd(RightTupleIndexHashTable.java:353)
by Mark Proctor
You were not subscribed to the mailing list at the time, so this post did not
make it through to the main list. If you could make a self contained unit
test, we'll fix it asap. Follow details here:
http://docs.jboss.org/drools/release/5.4.0.Final/droolsjbpm-introduction-...
Take a look at MiscTest in drools-compiler to get an idea of how to write
tests.
Mark
ru wrote
> Dear drools-users and team!
>
> My working for years code cease to work after switching from Drools
> 5.3.0Final to 5.4.0Final.
>
> Here is a rule of interest:
> ..........................................................................
> rule "Subscenario-Start"
> dialect "java"
> when
> act: Subscenario( status == "START", $super_run: super_run, $run: run )
> then
> Scenario scenario = (Scenario) DroolsTab.mapInstance( act.sub_scenario );
> scenario.run = new Integer ( runcount.intValue() + 1 );
> scenario.super_run = $super_run;
> scenario.caller = $run;
> scenario.status = "START";
> if ( traceLevel.intValue() > 0 )
> System.out.println( "STARTING SUB-SCENARIO "+scenario.title+"
> "+scenario.run );
> Map acm = contexToMap( act.context );
> Map scm = contexToMap( scenario.context );
> Map rmp = replace( act.ctxmap, acm );
> scenario.ctxmap = replace( scm, rmp );
> System.out.println( "1" );
> if ( act.repeat != null )
> {
> if ( act.step == null )
> act.step = new Integer( 0 );
> repeatStep( act, scenario.ctxmap, act.step.intValue() );
> }
> System.out.println( "2" );
> insert( scenario );
> System.out.println( "3 "+act.wait_subscenario );
> if ( act.wait_subscenario != null && act.wait_subscenario.booleanValue() )
> act.status = "REPEAT";
> else
> act.status = "DONE";
> System.out.println( "4 "+act.status );
> act.sub_run = scenario.run;
> update( act );
> System.out.println( "5" );
> DroolsTab.getWorkingMemory().setGlobal( "runcount", scenario.run );
> System.out.println( "6" );
> end
> ..........................................................................
>
> Here is a trace (Please note: The first time it worked, and the second
> gave an error):
>
> ..........................................................................
> ru@ru-desktop ~ $ DroolsTabScene-5.2/run_protege.sh
> WARNING: missing bundle: protege_text -- BundleHelper.
> <init>
> ()
> Loaded 5000 instances: Scenario_ProjectKB_Class20011
> OpenMap(tm) Version 5.0
> Copyright (C) BBNT Solutions LLC. All rights reserved.
> See http://openmap.bbn.com/ for details.
>
> OpenMapTab scenario = ru.oogis.dro.DroolsTab evaluateScript "Run Scenario"
> Load time for file:/home/ru/DroolsTabScene-5.2/projects/Sea.pprj = 2 sec
> (project) + 1 sec (ui)
> DroTimer clock: ru.oogis.util.DroClock < second: 0 >
> Run scenario: ru.oogis.dro.DroolsTab evaluateScript "Run Scenario"
> FIRE: Start Scenario Command
> FIRE: Scenario Null
> STARTING SCENARIO s1.Collision 1
> FIRE: Scenario Start
> start TASK s1.Watch 1
> FIRE: Task Start s1.Watch
> start ACTION s1.Ports on Map 1
> start ACTION s1.Wait Collision 1
> FIRE: Interim Action Done s1.Ports on Map
> start ACTION s1.Start Cruise from Primorsk 1
> STARTING SUB-SCENARIO c1.Cruise from Primorsk 2
> 1
> 2
> 3 false
> 4 DONE
> 5
> 6
> FIRE: Interim Action Done s1.Start Cruise from Primorsk
> start ACTION s1.Cruise Shift 1
> FIRE: Scenario Start
> start TASK c1.Cruise from Primorsk 2
> FIRE: Task Start c1.Cruise from Primorsk
> start ACTION c1.Launch at Primorsk 2
> FIRE: Interim Action Done c1.Launch at Primorsk
> start ACTION c1.Mooring 2
> FIRE: Retract Done Activity c1.Launch at Primorsk
> FIRE: Retract Done Activity s1.Start Cruise from Primorsk
> FIRE: Retract Done Activity s1.Ports on Map
> FIRE: Interim Action Done c1.Mooring
> start ACTION Cargo Loading Message 2
> FIRE: Interim Action Done Cargo Loading Message
> start ACTION c1.Cargo Loading 2 2
> FIRE: Retract Done Activity Cargo Loading Message
> FIRE: Retract Done Activity c1.Mooring
> FIRE: Interim Action Done s1.Cruise Shift
> start ACTION s1.Second Cruise 1
> STARTING SUB-SCENARIO c1.Cruise to Primorsk 3
> 1
> 2
> 3 true
> 4 REPEAT
> Exception in thread "AWT-EventQueue-0" Exception executing consequence for
> rule "Subscenario-Start" in ActionExecutor: java.lang.NullPointerException
> at
> org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)
> at
> org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1283)
> at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1209)
> at org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1442)
> at
> org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:710)
> at
> org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:674)
> at
> org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:230)
> at org.drools.runtime.rule.StatefulRuleSession$fireAllRules.call(Unknown
> Source)
> at DroTimer.repeat(Script1.groovy:25)
> at ru.igis.omtab.RuNA.repeatSecondActions(RuNA.java:177)
> at ru.igis.omtab.Clock.manageClock(Clock.java:82)
> at ru.igis.omtab.Clock.actionPerformed(Clock.java:59)
> at javax.swing.Timer.fireActionPerformed(Timer.java:313)
> at javax.swing.Timer$DoPostEvent.run(Timer.java:244)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
> at java.awt.EventQueue.access$000(EventQueue.java:96)
> at java.awt.EventQueue$1.run(EventQueue.java:608)
> at java.awt.EventQueue$1.run(EventQueue.java:606)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
> at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
> at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
> Caused by: java.lang.NullPointerException
> at
> org.drools.core.util.RightTupleIndexHashTable.removeAdd(RightTupleIndexHashTable.java:353)
> at org.drools.reteoo.JoinNode.modifyRightTuple(JoinNode.java:212)
> at org.drools.reteoo.BetaNode.modifyObject(BetaNode.java:531)
> at org.drools.reteoo.JoinNode.modifyObject(JoinNode.java:446)
> at
> org.drools.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:507)
> at
> org.drools.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:432)
> at org.drools.reteoo.AlphaNode.modifyObject(AlphaNode.java:157)
> at
> org.drools.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:507)
> at
> org.drools.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:421)
> at org.drools.reteoo.ObjectTypeNode.modifyObject(ObjectTypeNode.java:314)
> at org.drools.reteoo.EntryPointNode.modifyObject(EntryPointNode.java:265)
> at org.drools.common.NamedEntryPoint.update(NamedEntryPoint.java:470)
> at org.drools.common.NamedEntryPoint.update(NamedEntryPoint.java:370)
> at
> org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:317)
> at
> org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:312)
> at
> ActionExecutor.Rule_Subscenario_Start_a83c5a15cccb436f8a66818ffd048e7c.defaultConsequence(Rule_Subscenario_Start_a83c5a15cccb436f8a66818ffd048e7c.java:34)
> at
> ActionExecutor.Rule_Subscenario_Start_a83c5a15cccb436f8a66818ffd048e7cDefaultConsequenceInvokerGenerated.evaluate(Unknown
> Source)
> at
> ActionExecutor.Rule_Subscenario_Start_a83c5a15cccb436f8a66818ffd048e7cDefaultConsequenceInvoker.evaluate(Unknown
> Source)
> at
> org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1273)
> ... 26 more
> ..........................................................................
>
> Any help would be greatly appreciated.
> Sincerely,
> Ru
--
View this message in context: http://drools.46999.n3.nabble.com/Unexpected-java-lang-NullPointerExcepti...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 1 month
Event-based Drools jBPM example?
by dunnlow
Hi,
I am struggling with using a process with *rule-based* flow. I have seen
looked at the canned ("evaluation") example but it is not rule-based. The
other examples I have found are really simple (like a print "HELLO" example)
where they just set up the "process," issue a fireallrules, then the node
triggers and process ends (basically just making a *decision *vice *process
*diagram -- but I could do that just using a few rules (rather than relying
on a process).
I envision setting up a true, event-based process flow to track a long
running business process. Basically, a system generates events, sends them
to a jBPM process and that state (active node?) of that process changes as
appropriate. (I will be making queries to determine the state of the
process - also will probably use jBPM console)
This seems like an obvious use-case, but I have been unable to find a simple
example of a *rule based* jBPM process that uses ONLY events. For example
start -> wait for event Message where message text = "HELLO", print "HELLO
received"
-> wait for event Message where message text = "THERE", print "THERE
received"
-> wait for event Message where message text = "JOE", print "JOE
received"
-> print "DONE"
Thus, I'd have a start and end node and three intermediate business rule
nodes. I want this to be a true sequential process such that the second
node (ie the printing of "THERE") is not reached (doesn't activate?) before
an event is received where the text="HELLO".
I've tried setting this up and got an earlier recommendation of using a
"condition" in the metadata - but this seems a bit like a kludge when a
Business Rule node exists (https://community.jboss.org/thread/205952).
Also, in reality I'd like to be able to have some slightly complex business
rules in those nodes.
Can someone PLEASE point me to an example of this (or make a suggestion on
how to implement it)?
I'm also confused about how the fireallrules works. When my system sends an
event and I insert it into my process, doesn't fireallnodes do just that -
send to all nodes thus basically breaking the whole "process flow"
methodology?
I thought I could add a rule that would ensure that the rule node was
"active" (thus per documentation not allowing the process to continue) by
putting a rule on node1 with a condition like
"when Message(text!="HELLO")"
But that still doesn't keep the second node from firing.
Sorry for the lengthy post. Any other information/writeup about using rules
with a process I'd GREATLY appreciate. (Obviously, I've been through the
JBoss web site documentation, 10 min tutorials, etc etc.)
Thanks!
-J
--
View this message in context: http://drools.46999.n3.nabble.com/Event-based-Drools-jBPM-example-tp40204...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 1 month
how to read guvnor package through changeset.xml from client application?
by sainadh
hi,
i am trying to read the guvnor package from my client application...
but i am getting exceptions like below, i think these are the exceptions
caused, because of unable to read the package
i want to access the brl's in my guvnor package... my changeset.xml is
<?xml version="1.0" encoding="UTF-8"?>
<change-set xmlns="http://drools.org/drools-5.0/change-set"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.0/change-set
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/...">
<add>
<resource
source='http://localhost:8080/guvnor/rest/packages/mypackage/'
type='PKG' basicAuthentication="enabled" username="admin"
password="admin" />
</add>
</change-set>
please anyone help me
java.lang.RuntimeException: KnowledgeAgent exception while trying to
deserialize KnowledgeDefinitionsPackage
at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:776)
at
org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:1071)
at
org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:824)
at
org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:673)
at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:203)
at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:182)
at
com.org.alert.test.SampleTestClass.createKnowledgeBase(SampleTestClass.java:80)
at com.org.alert.test.SampleTestClass.main(SampleTestClass.java:26)
Caused by: java.io.StreamCorruptedException: invalid stream header: 3C656E74
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at
org.drools.common.DroolsObjectInputStream.<init>(DroolsObjectInputStream.java:68)
at
org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:205)
at
org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:174)
at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:749)
... 7 more
Exception in thread "main" java.lang.NullPointerException
at java.util.AbstractCollection.addAll(Unknown Source)
at
org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:1077)
at
org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:824)
at
org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:673)
at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:203)
at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:182)
at
com.org.alert.test.SampleTestClass.createKnowledgeBase(SampleTestClass.java:80)
at com.org.alert.test.SampleTestClass.main(SampleTestClass.java:26)
thanks in advance
and
regards
sai
--
View this message in context: http://drools.46999.n3.nabble.com/how-to-read-guvnor-package-through-chan...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 1 month
Re: [rules-users] Building drools fails.
by ge0ffrey
Skip the tests with -DskipTests
See README on github. If jenkins doesnt report the failure, make a jira for
the locale specific failing test
venkatrangan59 wrote
> Hi,
>
> I attempted to build the latest drools distribution using Maven. The
> drools-core built successfully, but drools-compiler failed and all other
> goals were skipped. The failure on the compiler is due to one of the tests
> failing. Any help would be much appreciated...
>
> DSLTokenizedMappingFileTest fails with the error:
>
> Test set: org.drools.lang.dsl.DSLTokenizedMappingFileTest
> -------------------------------------------------------------------------------
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
> <<< FAILURE!
> testParseFile(org.drools.lang.dsl.DSLTokenizedMappingFileTest) Time
> elapsed: 0.008 sec <<< FAILURE!
> java.lang.AssertionError: [[1,32]: DSL lexer error]
> at org.junit.Assert.fail(Assert.java:93)
> at org.junit.Assert.assertTrue(Assert.java:43)
> at
> org.drools.lang.dsl.DSLTokenizedMappingFileTest.testParseFile(DSLTokenizedMappingFileTest.java:31)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
--
View this message in context: http://drools.46999.n3.nabble.com/Building-drools-fails-tp4020390p4020400...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 1 month
MVELDialectRuntimeData; local class incompatible
by TonyN
I am trying to upgrade from 5.2Final to 5.4final and ran into this error. It
seems that the rule engine (5.4) is having a hard time building the Knowlege
base using PKG directly from Guvnor 5.4. It has no issues with DRL though.
Both the Drools Engine and the Guvnor are running Java 1.6.0_20.
Both are at 5.4Final.
Not sure where, what to check next, thanks a millions.
2012-10-18 09:29:30,535 [main] INFO (BA5_RuleRunner.java:343) -
UrlResource: [UrlResource
path='file:C:/ipdm/tc83r3/boeing/resources/IRIP/rules/package/5.4.0/IPDM_Bus_Rules_PHL.pkg']
2012-10-18 09:29:30,535 [main] INFO (BA5_RuleRunner.java:349) -
UrlResource exists: [UrlResource
path='file:C:/ipdm/tc83r3/boeing/resources/IRIP/rules/package/5.4.0/IPDM_Bus_Rules_PHL.pkg']
java.lang.RuntimeException: KnowledgeAgent exception while trying to
deserialize KnowledgeDefinitionsPackage
at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:776)
at
org.drools.agent.impl.KnowledgeAgentImpl.incrementalBuildResources(KnowledgeAgentImpl.java:955)
at
org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:675)
at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:203)
at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:182)
at
com.boeing.irip.common.BA5_RuleRunner.monitorChangeSet(BA5_RuleRunner.java:280)
at com.boeing.irip.common.BA5_RuleRunner.<init>(BA5_RuleRunner.java:88)
at com.boeing.irip.BA5_Validate.<init>(BA5_Validate.java:35)
at com.boeing.irip.BA5_RuleEngine.<init>(BA5_RuleEngine.java:31)
at
com.boeing.irip.app.service.BA5_DroolsHttpServer.initEngine(BA5_DroolsHttpServer.java:424)
at
com.boeing.irip.app.service.BA5_DroolsHttpServer.process(BA5_DroolsHttpServer.java:244)
at
com.boeing.irip.app.service.BA5_DroolsHttpServer.main(BA5_DroolsHttpServer.java:443)
Caused by: java.io.InvalidClassException:
org.drools.rule.MVELDialectRuntimeData; local class incompatible: stream
classdesc serialVersionUID = 5166066541265170937, local class
serialVersionUID = -64624826351992706
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at java.util.HashMap.readObject(HashMap.java:1030)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
org.drools.rule.DialectRuntimeRegistry.readExternal(DialectRuntimeRegistry.java:59)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.drools.rule.Package.readExternal(Package.java:208)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:205)
at
org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:174)
at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:749)
... 11 more
--
View this message in context: http://drools.46999.n3.nabble.com/MVELDialectRuntimeData-local-class-inco...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 1 month
Last Chance for Intellifest - Register to learn about Drools & jBPM
by Mark Proctor
http://blog.athico.com/2012/10/last-chance-for-intellifest-register-to.html
---
IntelliFest 2012 starts NEXT week, in San Diego, Monday 22nd of October.
Program Overview ( detailed agenda for Monday and Tuesday below ):
Monday - Healthcare focus for Rules, Workflow, Ontologies and Events (Free)
Tuesday - General Drools&jBPM session (Free)
Tuesday - Rule Design Patterns in Production Rule Systems
Wed - Fri - General IntelliFest Sessions
There are limited spaces, so register soon here.
Monday - Healthcare focus for Rules, Workflow, Ontologies and Events (free)
0830-0920 Captain Emory Fry, MD
Socratic Grid : Open Source Distributed Decision Support for Healthcare
0930-1020 Dr Robert Greenes, Department of Biomedical Informatics, Arizona State University
Key Note : Embedding Decision Support in Clinical Systems
1030-1120 Dr Aziz Boxwala, Division of Biomedical Informatics, University of California
Clinical Decision Support Consortium
1130-1200 Dr Seong Ki Mun, President and CEO of OSEHRA
Open Source Electronic Health Record Agent
1200:1300 Lunch
1300-1350 Dr Davide Sottara, Department of Biomedical Informatics, Arizona State University
Knowledge Representation Standards For Building Executable Clinical Processes Models
1400-1450 David Shields, Health ITS, University of Utah
OpenCDS: a Clinical Decision Support Infrastructure Based on Drools
1500-1520 Harold Solbring, Division of Biomedical Informatics, Mayo Clinic
Semantic Wiki
1530-1655 Conor Dowling, Caregraf
Semantic Terminology Services
1600-1620 Dr Xiao Hu, Department of Neurosurgery, University of California
Clinical Decision Support Driven Alarms
1630-1700
Panel Discussion - Collaboration Opportunities
Tuesday - General Drools&jBPM Workshop (free)
8.00 AM: Breakfast Social – pre-laptop setup, and QA time with solution Architects.
-Key will be provided to setup your laptop, so you can view and run the examples used during the talks.
9.00 BRMS Product Overview (Prakash Aradhya 15min)
How we turn the Drools and jBPM communtiy parts into a world class product. Supporting and harvesting all the innovation done in the open community, Red Hat delivers reliable, dependable and integrated solutions for enterprise customers.
9.15 Introduction to Drools Expert (Mark Proctor 45min)
Drools Expert covers the business rule engine. A gentle, example driven, dive into the Drools technical rule language and engine features.
10.10 Introduction to Drools Fusion (Edson Tirelli 45min)
Learn how Drools does CEP differently. Our unified approach extends Drools Expert with a series of language and sub-engine extensions to provide temporal reasoning and event correlation.
11.05 Introduction to jBPM and BPMN2 (Tihomir Surdilovic 45min)
jBPM is a BPM engine designed for flexible processes, implementing and extending the BPMN2 spec. Built form the ground up to be part of a unified strategy for business automation and decision management. jBPM fully integrates with Drools Expert and Fusion.
11.45 Decision Modelling with Graphical Editors (Edson Tirelli 30min)
Drools Expert provides sophisticated web based tooling, around decision tables, guided editors and templates. Our decision modelling approach draws from the very best research found at Dr Jan Vanthienien school of Decision Modelling.
12.30 Working Lunch – Experience Drools and jBPM – Hands on labs (Optional) (1hour)
13.30 Human Tasks up Close and Personal (Tihomir Surdilovic 40min)
Human tasks are a central component of BPM. This example driven talk will build an example live, demonstrating what jBPM’s Human Task technology can do for you.
14.20 Building Games with Drools – Pong, Snake and Wumpus (Mark Proctor 40min)
Time for some hard play, learn how to build classic computer games with Drools. These also provide interesting exercises in BA requirements gathering.
15.10 Drools Planner a Quick Overview (Geoffrey De Smet 40min)
Whether it’s employee rostering, task scheduling, vehicle routing, bin packing or another planning problem: all organizations try to optimize their limited resources under constraints. Drools Planner optimizes business resources for normal Java programmers.
15.50 Drools Chance for Imperfect Reasoning (Davide Sottara 40min)
Sometimes data quality is not perfect, so facts may not be known with precision and certainty. Likewise, crisp constraints such as hard thresholds might not be able to capture the complexity of a business policy. Drools Chance allows to apply gradual and/or probabilistic constraints to uncertain or vague data.
16.40 UberFire – Drools&jBPM Workbench framework (Mark Proctor 30min)
UberFire is a new project that forms the foundation of our 6.0 web tooling. It’s standalone framework that provides a sophisticated workbench framework for the web; where everything is a plugin. Come learn about the Uberfire, and how you can use the workbench to build your own web applications.
17.10 Drools&jBPM 6.0 and Beyond (Optional : open as long as people remain)
An open presentation and discussion about the design ideas, principles and goals that are driving the development of Drools & jBPM version 6.0. This will be an optional and informal session where attendees will have the opportunity to learn about what is coming, contribute ideas and provide feedback that will be taken in consideration by the development team.
17.10 Hands on Lab
Run at the same time as "Drools&jBPM and Beyond" and Beyond. Solution Architects are on hand to help you with your coding problems, and running examples.
Tuesday - Rule Design Patterns in Production Systems
Rule Design Patterns
What is a “Rule Design Pattern”?
Basic Rule Formats
Fact Classification
Handling Failure to Match
Extending Rules
Reasoning with Interfaces
Active Facts
Marker Facts
Fact Proxies
Application Design Patterns
Short-Term Sessions
Permanent Sessions
12 years, 1 month