Re: [rules-users] Maintain assets synchronized between members of a team
On 25 Apr 2013, at 16:35, ciberg2 wrote: > Hi, > > My Drools project is going well and now it's time for some people starting > creating and deploying new Excel decision tables onto the repository. > > For that we are using the Eclipse plugin, I've created a general project > that replicates the package structure so everyone can start deploying these > new tables. > > My problem is maintaining all the projects in each team member computer > synchronized. Using Eclipse Tools I can commit and update existing assets > but I've not found a way to get all the new assets not existing in the local > computer. > > The only way is getting resources from repository but that has to be done > one by one which is not an ideal way to do it because there will be many, > and to add to the problem doing that the downloaded excel files lose all > formatting and become corrupted. > > I thought of using GIT to synch all the files but it seems silly to have to > put the files in a new repository when I already have them in one (Guvnor). > > What do you think will be the best way to guarantee that all team members > have the same versions of the assests on their local computers? on side note Guvnor 6.0 uses GIT as a backend now. Mark > > > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Maintain-assets-synchronized-between-members-of-a-team-tp4023533.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Maintain assets synchronized between members of a team
Sorry, by "We speak" I meant "You speak". -- View this message in context: http://drools.46999.n3.nabble.com/Maintain-assets-synchronized-between-members-of-a-team-tp4023533p4023542.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Maintain assets synchronized between members of a team
I can update existing assets using Eclipse, but if the asset is not in the local computer I can only get them one by one. We speak of a external source control, so you use GIT or SVN for source control not relying only on Guvnor, is that correct? -- View this message in context: http://drools.46999.n3.nabble.com/Maintain-assets-synchronized-between-members-of-a-team-tp4023533p4023541.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Maintain assets synchronized between members of a team
you should be able to use Guvnor Repository view in Eclipse to do this. We use it to synch with local Eclipse projects which we then sync with an external source control. -- View this message in context: http://drools.46999.n3.nabble.com/Maintain-assets-synchronized-between-members-of-a-team-tp4023533p4023540.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] How to hold a Collection of Objects in memory for processing ?.
Have you tried collect? something like... $alertFromDATA : Alert ( sourceName=="DATA") from $alert.alerts $list : ArrayList() from collect ($alertFromDATA) You may even be able to combine both statements into one. Dont know if this will work, but you can try. -- View this message in context: http://drools.46999.n3.nabble.com/How-to-hold-a-Collection-of-Objects-in-memory-for-processing-tp4023537p4023539.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] threw error java.lang.ClassCastException: org.drools.reteoo.FromNode$FromMemory cannot be cast to org.drools.reteoo.BetaMemory
For the previous java.lang.ArrayIndexOutOfBoundsException, would the following code change fix them correctly? would there be any other impact ? org.drools.common.SingleBetaConstraints /* (non-Javadoc) * @see org.drools.common.BetaNodeConstraints#updateFromTuple(org.drools.reteoo.ReteTuple) */ public void updateFromTuple(final ContextEntry[] context, final InternalWorkingMemory workingMemory, final LeftTuple tuple) { // Check if context has any elements // If (... ) added if (context != null && context.length > 0) { context[0].updateFromTuple( workingMemory, tuple ); } } org.drools.reteoo.FromNode - checkConstraintsAndPropagate for ( int i = 0, length = this.alphaConstraints.length; i < length; i++ ) { // Check memory.alphaContexts size before accessing ith element // If (... ) added if (memory.alphaContexts != null && memory.alphaContexts.length > i) { if ( !this.alphaConstraints[i].isAllowed( rightTuple.getFactHandle(), workingMemory, memory.alphaContexts[i] ) ) { // next iteration isAllowed = false; break; } } } -- View this message in context: http://drools.46999.n3.nabble.com/threw-error-java-lang-ClassCastException-org-drools-reteoo-FromNode-FromMemory-cannot-be-cast-to-orgy-tp4023497p4023538.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] How to hold a Collection of Objects in memory for processing ?.
Hi All, This is the rule defined in my drl file rule "Entry" salience 10 when $alert : Alert() $list : Alert ( sourceName=="DATA") from $alert.alerts // 1. Iterate over List of ALerts then checkForAlertDescription($list);// 2. I am passing one Alert per match end Is there a way to hold the *Entire List at Step one * in the Drools Memory so that i can take the Entire list for processing with in the function defined at Step 2 Instead of the single alert that i have at the moment Any suggestions would be helpful. Drools v 5.4.0 Final - Thanks for the support ...!!! VR -- View this message in context: http://drools.46999.n3.nabble.com/How-to-hold-a-Collection-of-Objects-in-memory-for-processing-tp4023537.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] threw error java.lang.ClassCastException: org.drools.reteoo.FromNode$FromMemory cannot be cast to org.drools.reteoo.BetaMemory
threw error java.lang.ArrayIndexOutOfBoundsException: 0 at org.drools.common.SingleBetaConstraints.updateFromTuple(SingleBetaConstraints.java:106) at org.drools.reteoo.ExistsNode.assertLeftTuple(ExistsNode.java:113) at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:232) at org.drools.reteoo.CompositeLeftTupleSinkAdapter.propagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:89) at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333) at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164) at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196) at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71) at org.drools.reteoo.JoinNode.propagateFromRight(JoinNode.java:159) at org.drools.reteoo.JoinNode.assertObject(JoinNode.java:148) at org.drools.reteoo.CompositeObjectSinkAdapter.doPropagateAssertObject(CompositeObjectSinkAdapter.java:497) at org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:382) at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:235) at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:240) at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:350) at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:311) at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:903) at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:847) at org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:269) ... at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) -- View this message in context: http://drools.46999.n3.nabble.com/threw-error-java-lang-ClassCastException-org-drools-reteoo-FromNode-FromMemory-cannot-be-cast-to-orgy-tp4023497p4023535.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Maintain assets synchronized between members of a team
Hi, My Drools project is going well and now it's time for some people starting creating and deploying new Excel decision tables onto the repository. For that we are using the Eclipse plugin, I've created a general project that replicates the package structure so everyone can start deploying these new tables. My problem is maintaining all the projects in each team member computer synchronized. Using Eclipse Tools I can commit and update existing assets but I've not found a way to get all the new assets not existing in the local computer. The only way is getting resources from repository but that has to be done one by one which is not an ideal way to do it because there will be many, and to add to the problem doing that the downloaded excel files lose all formatting and become corrupted. I thought of using GIT to synch all the files but it seems silly to have to put the files in a new repository when I already have them in one (Guvnor). What do you think will be the best way to guarantee that all team members have the same versions of the assests on their local computers? -- View this message in context: http://drools.46999.n3.nabble.com/Maintain-assets-synchronized-between-members-of-a-team-tp4023533.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] [fusion] weird race conditions and a null pointer exception
I am running 2 rules that are very similar but with a slight change: rule One when $foo : Foo($name : Name, $msg : Message !="") $prev : ArrayList(size<1) from collect( Foo(Name==$name, Message == $msg, this before $foo) $list : Set(size>0) from accumulate( Foo(Name == $name, $msgs: Message != $msg, this after $foo), collectSet($msgs)) then System.out.println($name + "\twent from \"" + $msg + "\"\tto " + $list); end rule Two when $foo : Foo($name : Name, $msg : Message !="") Not( Foo(Name==$name, Message == $msg, this before $foo)) $list : Set(size>0) from accumulate( Foo(Name == $name, $msgs: Message != $msg, this after $foo), collectSet($msgs)) then System.out.println($name + "\twent A from \"" + $msg + "\"\tto " + $list); end rule One works just fine however its rule Two I seem to be having trouble with. In my main method I have an initial print statement, then I go through this whole process of parsing XML files into objects and then adding those objects into the session. Once all the objects are entered I do a print out, I then call fireAllRules on the session and then do another print out. When I use rule Two, my program starts firing the rules and displaying their results almost immediately, even before the 2nd print out (sometimes even before the first initial print out). Most of the time I get a Null Pointer Exception but it does occasionally finish running. In the cases it does finish it spits out the output from most of the rules then displays the 2nd printout, the print out from a rule and then the ending print out. When it does throw the null pointer exception I get: java.lang.NullPointerException at org.drools.core.util.LinkedList.remove(LinkedList.java:133) at org.drools.common.DefaultAgenda.addActivation(DefaultAgenda.java.446) at org.drools.common.DefaultAgenda.modifyActivation(DefaultAgenda.java:382) at org.drools.reteoo.RuleTerminalNode.modifyLeftTuple(RuleTerminalNode.java:301) at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateModifyChildLeftTuple(SingleLeftTupleSinkAdapter.java:259) at org.drools.reteoo.AccumulateNode.exaluateResultConstraints(AccumulateNode.java:676) at org.drools.reteoo.ReteooWorkingMemory$EvaluateResultConstraints.execute(ReteooWorkingMemory.java:590) at org.drools.common.PropagationContextImpl.evaluateActionQueue(PropagationContextimple:350) at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:355) at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:311) at org.drools.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:903) at org.drools.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:847) at org.drools.imp.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:269) at test2.Engine2.main(Engine2.java:80) However sometimes when it throws the Null pointer exception, it prints out some of the results of the rules in the middle of the display of the exception, such as: java.lang.NullPointerExceptionName1went A from "msg1" to [msg2] Name2 went A from "msg1" to [msg2] at org.drools.core.util.LinkledList.remove(LinkedList.java.133) and you know the rest. When I run both rules together, for some reason it seems to run rule One over the same name and message pair multiple times even though based on the logic it should only run it based on the first occurrence. Also I don't know if this matters but there are 361,694 objects that are entered into the session, 44,269 of which are Foo objects -- View this message in context: http://drools.46999.n3.nabble.com/fusion-weird-race-conditions-and-a-null-pointer-exception-tp4023532.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools 5.4: How to use functions and clauses
Any suggestions on the same would be highly appreciated, please suggest if more details are required as this is required urgently :) Thanks -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-How-to-use-functions-and-clauses-tp4023521p4023531.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] [Optaplanner] No-arg constructor for BendableScoreDefinition
On 25-04-13 16:18, jonathan.labin wrote: > Is there an example that uses BendableScore? > > I'm trying to convert my app from using HardSoftScore to BendableScore and > I've run into my first issue: > > > Changing from: > @XStreamConverter(value = XStreamScoreConverter.class, types = > {HardSoftLongScoreDefinition.class}) > > to > @XStreamConverter(value = XStreamScoreConverter.class, types = > {BendableScoreDefinition.class}) > > throws: > Caused by: java.lang.IllegalArgumentException: The scoreDefinitionClass > (class > org.optaplanner.core.impl.score.buildin.bendable.BendableScoreDefinition) > does not have a public no-arg constructor. Reported a few days ago too, should be fixed for 6.0.0.Beta2 https://github.com/droolsjbpm/optaplanner/commit/c042baea7dd937ac14af289580695a5992ad6e77 > > The answer to this issue would be helpful but I'll probably hit other bumps > along the way. Does anyone have an example that uses BendableScore? A new example that is coming in a few weeks is called Project Scheduling and that will use it. https://github.com/triceo/mista13/ > > Thanks, > > Jon > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Optaplanner-No-arg-constructor-for-BendableScoreDefinition-tp4023523.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] [Optaplanner] No-arg constructor for BendableScoreDefinition
Sorry. This is in 6.0.0.Beta1 -- View this message in context: http://drools.46999.n3.nabble.com/Optaplanner-No-arg-constructor-for-BendableScoreDefinition-tp4023523p4023525.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] [Optaplanner] No-arg constructor for BendableScoreDefinition
Is there an example that uses BendableScore? I'm trying to convert my app from using HardSoftScore to BendableScore and I've run into my first issue: Changing from: @XStreamConverter(value = XStreamScoreConverter.class, types = {HardSoftLongScoreDefinition.class}) to @XStreamConverter(value = XStreamScoreConverter.class, types = {BendableScoreDefinition.class}) throws: Caused by: java.lang.IllegalArgumentException: The scoreDefinitionClass (class org.optaplanner.core.impl.score.buildin.bendable.BendableScoreDefinition) does not have a public no-arg constructor. The answer to this issue would be helpful but I'll probably hit other bumps along the way. Does anyone have an example that uses BendableScore? Thanks, Jon -- View this message in context: http://drools.46999.n3.nabble.com/Optaplanner-No-arg-constructor-for-BendableScoreDefinition-tp4023523.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Drools 5.4: How to use functions and clauses
Hi All, I am new to Drools and the RE concept and I have the following Rule defined in my *.drl* file in Eclipse. *Requirement:* I want to be able to fetch the Alert List from the Alert Object and if the alert source attribute is the same i want to combine multiple alerts present in the List stated below into a single Unique alert based on some checks rule "Correlate" when $alert : Alert() $list : Alert ( sourceName=="NETWORK NAME") from $alert.alerts ///alerts is a ArrayList of Alert Objects/ then checkForMoreStuff($list); /// I passes each alert to the function or something not sure...?/ end function void checkForMoreStuff(Alert alert) { // Not sure if this is required } -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-How-to-use-functions-and-clauses-tp4023521.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] window:length with variables as constraints not working correctly
Hello, I'm having a problem using sliding windows length I would like to get the average oft he last 5 Events of the AccountNumber "123" (rule: FiveLastEventsWhichBelongsToTheAccount). If there are no Events with other AccountNumbers and if the AccountNumber is directly added as String as a rule constraint, both cases will work correctly as I understand the rule behaviour But If there are Events available for different AccountNumbers and the AccountNumber is extracted from the $account : Account() to use it as a constraint to check if the Event belongs to the AccountNumber the condition is not working like first filter then window; it seems to work like first window then filter) I don’t know if it should work like this or if it is maybe a bug. If I’m wrong, how is it possible to solve my problem, so that I don’t need to write a rule for every possible account number. Thanks in advanced Andreas I’m using drools version 5.3.5 because of the NPE ( https://issues.jboss.org/browse/DROOLS-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel), which don’t occurs in this test case but in other rules I’ve implemented. So it would be nice to have a solution for version 5.3.5. For Testing you can use the following classes and drl File: public class Account { private String number = ""; public Account() { super(); } public String getNumber() { return number; } public void setNumber(String number) { this.number = number; } } public class Event implements Serializable { private static final long serialVersionUID = 1L; private String accountNumber = ""; private double amount = 0.00; public Event(String accountNumber, double amount) { this.accountNumber = accountNumber; this.amount = amount; } public String getAccountNumber() { return accountNumber; } public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } public double getAmount() { return amount; } public void setAmount(double amount) { this.amount = amount; } } Rule file declare Event @role( event ) end rule "FiveLastEventsWhichBelongsToTheAccount" when $account : Account() $averageOfAmount : Number( doubleValue > 0 ) from accumulate( Event( //accountNumber == “123“, //works accountNumber == $account.number, //not working if more than one //AccountNumbers available during all events $amount : amount ) over window:length( 5 ) from entry-point EventStream, average($amount) ) then System.out.println("Average of aveOfLastClaims: " + $averageOfAmount); End TesterClass: public class Tester { private static final String DRL_FILENAME = "account.drl"; private static final String ENTRY_POINT = "EventStream"; private static KnowledgeBase knowledgeBase = null; private static StatefulKnowledgeSession session = null; private static Account account123 = null; private static String accountNumber123 = "123"; private static Account account456 = null; private static String accountNumber456 = "456"; private static void setUp() { prepareKnowledgeBase(); prepareStatefulKnowledgeSession(); prepareAccounts(); } private static void prepareAccounts() { account123 = new Account(); account123.setNumber(accountNumber123); account456 = new Account(); account456.setNumber(accountNumber456); } private static void prepareStatefulKnowledgeSession() { KnowledgeSessionConfiguration sessConfig = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(); sessConfig.setOption(ClockTypeOption.get("pseudo")); session = knowledgeBase.newStatefulKnowledgeSession(sessConfig, null); } private static void prepareKnowledgeBase() { try { KnowledgeBuilder builder = KnowledgeBuilderFactory.newKnowledgeBuilder(); builder.add(ResourceFactory.newClassPathResource(DRL_FILENAME), ResourceType.DRL); KnowledgeBuilderErrors errors = builder.getErrors(); if (errors.size() > 0) { for (KnowledgeBuilderError error : errors) { System.err.
Re: [rules-users] threw error java.lang.ClassCastException: org.drools.reteoo.FromNode$FromMemory cannot be cast to org.drools.reteoo.BetaMemory
threw error java.lang.ClassCastException: org.drools.reteoo.FromNode$FromMemory cannot be cast to org.drools.reteoo.BetaMemory at org.drools.reteoo.JoinNode.assertLeftTuple(JoinNode.java:58) at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196) at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71) at org.drools.reteoo.JoinNode.propagateFromRight(JoinNode.java:159) at org.drools.reteoo.JoinNode.assertObject(JoinNode.java:148) at org.drools.reteoo.CompositeObjectSinkAdapter.doPropagateAssertObject(CompositeObjectSinkAdapter.java:497) at org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:382) at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:235) at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:240) at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:350) at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:311) at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:903) at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:847) at org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:269) ... at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) threw error java.lang.ClassCastException: org.drools.reteoo.FromNode$FromMemory cannot be cast to org.drools.reteoo.BetaMemory at org.drools.reteoo.NotNode.assertLeftTuple(NotNode.java:58) at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:232) at org.drools.reteoo.CompositeLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:116) at org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:154) at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:59) at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:235) at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:240) at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:350) at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:311) at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:903) at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:847) at org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:269) .. at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) On Wed, Apr 24, 2013 at 6:34 PM, Davide Sottara [via Drools] < ml-node+s46999n4023509...@n3.nabble.com> wrote: > As soon as there are no more pending bugs :) > Right now there's two with solutions pending acceptance, > two unconfirmed under evaluation and the one you just reported. > I'
Re: [rules-users] [planner] documentation
Fixed on master for 6.0.0.CR1 https://github.com/droolsjbpm/optaplanner/commit/c593ba051d01a922029ede1e2ef8859aff4bcf5d Thanks for reporting :) On 24-04-13 20:15, Eric Keller wrote: Hi everyone, I am going through your new optaPlanner User Guide documentaiton and found one typo: Let's take a look look at 2 different implementations: (double look!) 2.1.7.1. Simple Java score configuration Regards -- Eric ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users