Problem with chained planning variables
by Juan Ignacio Barisich
Hi everybody.
I have a problem with chained planning variables.
I'm using optaplanner 5.5.0.Final.
I have a planning entity like:
@PlanningEntity()
public class Case implements Chained {
private Chained previous;
@PlanningVariable(chained = true)
@ValueRanges({
@ValueRange(type = ValueRangeType.FROM_SOLUTION_PROPERTY,
solutionProperty = "doctors"),
@ValueRange(type = ValueRangeType.FROM_SOLUTION_PROPERTY,
solutionProperty = "cases", excludeUninitializedPlanningEntity = true) })
public Chained getPrevious() {
return previous;
}
}
A fact class:
public class Doctor implements Chained {
...
}
An a solution class:
public class Plan extends implements Solution<HardAndSoftScore> {
private List<Doctor> doctors;
private List<Case> cases;
private HardAndSoftScore score;
@PlanningEntityCollectionProperty
public List<Case> getCases() {
return cases;
}
public Collection<? extends Object> getProblemFacts() {
return new ArrayList<Doctor>(doctors);
}
}
The equals / hashCode / clone methods are inspired on the
TravelingSalesmanTour example.
I want that Optaplanner generates chains like:
DoctorA <- Case1 <- Case2
DoctorB <- Case3
This model tries to represent a list of Cases assigned to each Doctor.
Suppose I build a solution like:
Plan plan = new Plan();
plan.setDoctors(DoctorA, DoctorB); //pseudo-code
plan.setCases(Case1, Case2); //pseudo-code
Then I build a solver:
Solver solver = getSolverFactory().buildSolver();
solver.setPlanningProblem(plan);
solver.solve();
Plan bestPlan = (Plan) solver.getBestSolution();
The problem is that, Optaplanner is not testing all the posible
combinations of chains. I mean, suppose that we know that the better
solution (based on the scoring rules) is:
DoctorA
DoctorB <- Case1 <- Case2
But Optaplanner seems to test only chains with DoctorA, so the result of
calling getBestSolution() is:
DoctorA <- Case1 <- Case2
I guess that Optaplanner only test chains whit DoctorA, becouse it logs
lines like:
...
DEBUG: org.drools.planner.core.localsearch.DefaultLocalSearchSolverPhase
- Step index (1), time spend (20002), score (1hard/2soft), best
score (1hard/2soft), accepted/selected move count (0/58187) for picked step
(Case [id=2, previous=Doctor [id=1]] => Case [id=1, previous=Case [id=2,
previous=Doctor [id=1]]]).
...
That is, no lines whith "DoctorB" are logged.
If the doctor list is inverted, the same problem happen (the DoctorA is no
processed). That is:
Plan plan = new Plan();
plan.setDoctors(DoctorB, DoctorA); //pseudo-code
plan.setCases(Case1, Case2); //pseudo-code
Solver solver = getSolverFactory().buildSolver();
solver.setPlanningProblem(plan);
solver.solve(); // DoctorA is not part of chains
I guess the problem is on the solver configuration, specifically on the
localSearch configuration:
<localSearch>
<unionMoveSelector>
<changeMoveSelector>
<valueSelector/>
</changeMoveSelector>
<swapMoveSelector />
<subChainChangeMoveSelector>
<selectReversingMoveToo>true</selectReversingMoveToo>
</subChainChangeMoveSelector>
<subChainSwapMoveSelector>
<selectReversingMoveToo>true</selectReversingMoveToo>
</subChainSwapMoveSelector>
</unionMoveSelector>
<acceptor>
<planningEntityTabuSize>9</planningEntityTabuSize>
</acceptor>
<forager>
<minimalAcceptedSelection>2000</minimalAcceptedSelection>
</forager>
</localSearch>
I tried some alternatives to this configuration, but with no success.
Do you know what I am doing wrong?
Thanks a lot.
Regards
11 years, 1 month
NPE in Event.attribute.getIntValue()
by Alexander Wolf
Version: 5.5.0 Drools Expert + Fusion
Stateful ksession in STREAM mode
In an integration test, I ___sometimes_____!!! (always the same variables... ) get the following Exception:
Exception in thread "Thread-1" java.lang.NullPointerException
at org.drools.base.com.myApp.model.Measurement1965915394$getValue.getIntValue(Unknown Source)
at org.drools.base.extractors.BaseIntClassFieldReader.getValue(BaseIntClassFieldReader.java:52)
at org.drools.base.ClassFieldReader.getValue(ClassFieldReader.java:87)
at org.drools.rule.Declaration.getValue(Declaration.java:233)
at org.drools.base.mvel.MVELCompilationUnit.updateFactory(MVELCompilationUnit.java:362)
at org.drools.base.mvel.MVELCompilationUnit.updateFactory(MVELCompilationUnit.java:289)
at org.drools.rule.constraint.MvelConditionEvaluator.evaluate(MvelConditionEvaluator.java:59)
at org.drools.rule.constraint.MvelConditionEvaluator.ensureBranchEvaluation(MvelConditionEvaluator.java:117)
at org.drools.rule.constraint.MvelConditionEvaluator.ensureCompleteEvaluation(MvelConditionEvaluator.java:101)
at org.drools.rule.constraint.MvelConditionEvaluator.ensureBranchEvaluation(MvelConditionEvaluator.java:120)
at org.drools.rule.constraint.MvelConditionEvaluator.ensureCompleteEvaluation(MvelConditionEvaluator.java:101)
at org.drools.rule.constraint.MvelConditionEvaluator.ensureCompleteEvaluation(MvelConditionEvaluator.java:90)
at org.drools.rule.constraint.MvelConditionEvaluator.getAnalyzedCondition(MvelConditionEvaluator.java:82)
at org.drools.rule.constraint.MvelConstraint.executeJitting(MvelConstraint.java:270)
at org.drools.rule.constraint.MvelConstraint.access$200(MvelConstraint.java:51)
at org.drools.rule.constraint.MvelConstraint$ConditionJitter.run(MvelConstraint.java:250)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
Where Measurement is one of my custom model classes and an @event.
I tried to catch the exception but I don't know where it actually occurs. There is one rule that retracts Measurement in certain situations - the problem might be related to that (is it unwise to retract @event ?).
Any idea?
- Alex
11 years, 1 month
Unexpected behavior of accumulate() and insertLogical() when the result() goes from matching a constraint to not matching
by mikerod
This is a follow up from my original post @
http://drools.46999.n3.nabble.com/rules-users-Question-about-custom-accum...
Using Drools version 5.5.0.Final
I am experiencing behavior I did not expect, regarding Drools accumulate
functionality.
The following demonstrates:
With an example (contrived) rule such as:
file <<example.drl>>
package drools
rule "testing"
dialect "mvel"
when
$res : Long() from accumulate( $l : Long(),
init( Long highest = null; ),
action( highest = ((null == highest) || ($l > highest)) ? $l :
highest; ),
result( (highest < 10) ? highest : null; ))
then
insertLogical( new String("inserted " + $res.toString()) );
end
endfile <<example.drl>>
I have the following, simple test case:
file <<ExampleDroolsTest.java>>
package drools;
import java.io.IOException;
import org.drools.KnowledgeBase;
import org.drools.builder.KnowledgeBuilder;
import org.drools.builder.KnowledgeBuilderFactory;
import org.drools.builder.ResourceType;
import org.drools.io.ResourceFactory;
import org.drools.runtime.StatefulKnowledgeSession;
import org.junit.Test;
public class ExampleDroolsTest {
@Test
public void test() throws IOException {
final KnowledgeBuilder kbuilder =
KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("drools/example.drl"),
ResourceType.DRL);
final KnowledgeBase kbase = kbuilder.newKnowledgeBase();
final StatefulKnowledgeSession ksession =
kbase.newStatefulKnowledgeSession();
/** HERE the insertion order of these two facts, will result in
different outcomes for
* the rule "testing" in example.drl .
* In this order, I will get the RHS logic to insert the new
String("inserted" + $res.toString())
* The accumulate should be getting the max valued Long, in the end
and then the `result` of the
* `accumulate` should yield a null value.
*
* If I flip the inserts, no fact is inserted into the session.
*/
ksession.insert(new Long(5));
ksession.insert(new Long(15));
final int rulesFired = ksession.fireAllRules();
System.out.println("Rules fired: " + rulesFired);
System.out.println("Session objs:");
for (final Object o : ksession.getObjects()) {
System.out.println(o);
}
ksession.dispose();
}
}
endfile <<ExampleDroolsTest.java>>
As I note in the Java source comment above, the order of the insertions of
the Long's into the session, change the results of the rule execution. My
initial understanding of accumulate, would be that the LHS would be
invalidated once the highest Long value
was found to be 15 > 10, as the `result` portion of the `accumulate` tests.
Since the String object is inserted logically, I'd
expect the fact to be retracted from the working memory once the LHS of the
rule "testing" was found to be false.
If this were the case, the order of insertions above in the test case, would
result in the same working memory after rule execution.
Is this intended behavior of the accumulate node along with the
`insertLogical` operation?
Thanks!
--
View this message in context: http://drools.46999.n3.nabble.com/Unexpected-behavior-of-accumulate-and-i...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 1 month
Question about custom accumulation functions
by Bruno Freudensprung
Hi,
While testing my custom accumulation function I noticed an unexpected
behavior (th'ats of course a personal point of view).
It seems that Drools 5.1 calls accumulate(...) and getResult(...) as
many times as the number of accumulated facts (accumulate, getResult,
accumulate, getResult, etc...).
Is it supposed to work like this?
Best regards,
Bruno.
11 years, 1 month
Re: [rules-users] Monte Carlo and additional Optimisers forOptaPlanner
by sirinath
Option pricing and calculating the Greeks.
Why is GP/GA poor in performance? Best is to find a way to make it gain
performance. Otherwise what is the use of adding just for the sake of
adding it.
Also it would be good to have journaling / event sourcing option for the
engine along side logging.
On 25 Oct 2013 19:48, "ge0ffrey [via Drools]" <
ml-node+s46999n4026500h69(a)n3.nabble.com> wrote:
> [image: Boxbe] <https://www.boxbe.com/overview> ge0ffrey [via Drools] (
> ml-node+s46999n4026500h69(a)n3.nabble.com) is not on your Guest List<https://www.boxbe.com/approved-list?tc_serial=15501950199&tc_rand=5259622...>| Approve
> sender<https://www.boxbe.com/anno?tc_serial=15501950199&tc_rand=525962296&utm_so...>| Approve
> domain<https://www.boxbe.com/anno?tc_serial=15501950199&tc_rand=525962296&utm_so...>
>
>
> On 25-10-13 16:08, sirinath wrote:
>
> Where is Drools chance hosted?
>
> https://github.com/droolsjbpm/drools-chance
>
> Perhaps GA/GP can be a part of this?
>
> Yes, here's a Genetic Algoritms prototype for OptaPlanner:
> https://github.com/elsam/optaplanner
> Results with GA's were poor, but we're going to add it sooner or later.
> Here's the relevant issue to add it:
> https://issues.jboss.org/browse/PLANNER-154
>
> Also Monte Carlo.
>
> Maybe the current way to do is awkward? Is this covered in the
> documentation?
>
> simulation isn't covered in the documentation.
>
> What kind of simulation do you want to do?
> What's the problem definition?
>
> On 25 Oct 2013 17:54, "ge0ffrey [via Drools]" <[hidden email]<http://user/SendEmail.jtp?type=node&node=4026499&i=0>>
> wrote:
>
>>
>> On 25-10-13 12:50, sirinath wrote:
>> > Hi,
>> >
>> > Is it possible to provide more out of the box optimisers and solvers as
>> part
>> > of OptaPlanner.
>> Yes, we're trying to add more every major release.
>> For 6.1 we 'll probably add the CH's "cheapest insertion" and "regret
>> insertion".
>> If you want to add one yourself, start by looking at
>> DefaultLocalSearchSolverPhase.java.
>> >
>> > Also add functionality for simulations (Monte Carlo) which would be a
>> good
>> > addition and fit.
>> Simulation support would be great indeed - but the requirements aren't
>> clearly definied yet (feedback, examples or use cases welcome).
>>
>> It's already possible to do simulation + optimization
>> by doing the simulation inside the score function (for example by
>> running a monte carlo simulation)
>> and doing the optimization with optaplanner.
>>
>> drools-chance (very experimental currently) has a lot of constructs that
>> can help in simulation (bayes stuff etc).
>>
>> >
>> > Suminda
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://drools.46999.n3.nabble.com/Monte-Carlo-and-additional-Optimisers-f...
>> > Sent from the Drools: User forum mailing list archive at Nabble.com.
>> > _______________________________________________
>> > rules-users mailing list
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4026497&i=0>
>> > https://lists.jboss.org/mailman/listinfo/rules-users
>> >
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4026497&i=1>
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://drools.46999.n3.nabble.com/Monte-Carlo-and-additional-Optimisers-f...
>> To unsubscribe from Monte Carlo and additional Optimisers for
>> OptaPlanner, click here.
>> NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_vi...>
>>
>
> ------------------------------
> View this message in context: Re: [rules-users] Monte Carlo and
> additional Optimisers for OptaPlanner<http://drools.46999.n3.nabble.com/Monte-Carlo-and-additional-Optimisers-f...>
> Sent from the Drools: User forum mailing list archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html>at Nabble.com.
>
>
> _______________________________________________
> rules-users mailing list[hidden email] <http://user/SendEmail.jtp?type=node&node=4026500&i=0>https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> _______________________________________________
> rules-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4026500&i=1>
> https://lists.jboss.org/mailman/listinfo/rules-users
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://drools.46999.n3.nabble.com/Monte-Carlo-and-additional-Optimisers-f...
> To unsubscribe from Monte Carlo and additional Optimisers for
> OptaPlanner, click here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscr...>
> .
> NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_vi...>
>
>
--
View this message in context: http://drools.46999.n3.nabble.com/Re-rules-users-Monte-Carlo-and-addition...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 1 month
Cannot use ViewChangeEventListener in tests
by mreynolds
I am testing an application using Fusion with Cucumber. I create a knowledge
session with the pseudo clock such that I have control over how the clock
advances.
I insert events built from Cucumber data tables with a loop that also
advances the pseudo clock the approriate amount of time. Some of my
scenarios involve complex events being inserted and then retracted before an
external action is taken. From what I read I can use a LiveQuery and a
ViewChangeEventListener in my tests for running my assertions at the end of
the test case.
In my test case, the warnings list is always 0 in length, none of the log
messages get triggered, and the debug view of the LiveQueryImpl is mostly
uninteresting. I can see from the Audit log however that in this case there
was indeed a Warning object added and thus I believe rowAdded should have
been invocated.
I have the following query:
query "Collect Warnings"
$warnings : Warning()
end
And the following support code in the @Setup method of my cucumber step
definitions:
// parts have been truncated for relevance and possibly brevity
private LiveQuery query; // this is declared as a variable
private List<Warning> warnings = new ArrayList<Warning>();
@Before
public void setup() {
session = getKnowledgeSession(); // truncated for brevity
ViewChangedEventListener listener = new ViewChangedEventListener() {
public void rowUpdated( Row row ) {
logger.info( "rowUpdated" );
warnings.add( (Warning) row.get( "$warnings" ) );
}
public void rowRemoved( Row row ) {
logger.info( "rowRemoved" );
warnings.add( (Warning) row.get( "$warnings" ) );
}
public void rowAdded( Row row ) {
logger.info( "rowAdded" );
warnings.add( (Warning) row.get( "$warnings" ) );
}
};
// Open the LiveQuery
query = application.getKnowledgeSession().openLiveQuery( "Collect
Warnings", new Object[] { "$warnings" }, listener );
}
--
View this message in context: http://drools.46999.n3.nabble.com/Cannot-use-ViewChangeEventListener-in-t...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 1 month
Error deploying knowledge-base.war on tomcat6
by xat
I have CentOS6.4 with tomcat 6.0.24 and jdk1.7.21.
I've successfully launched Guvnor 5.5.0-Final, created some facts, rules and
knowledgebase. Generated WAR file for knowledgebase as described here
http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html/...
When deploying this file on tomcat I have the following in tomcat logs:
Oct 24, 2013 3:26:58 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive drools-service.war
log4j:WARN No appenders could be found for logger
(org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
Oct 24, 2013 3:28:00 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 24, 2013 3:28:00 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/drools-service] startup failed due to previous errors
Oct 24, 2013 3:28:00 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [XML bean definition
resources currently being loaded]) and a value of type [null] (value [null])
but failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.
What could be the reason of this?
--
View this message in context: http://drools.46999.n3.nabble.com/Error-deploying-knowledge-base-war-on-t...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 1 month
Guvnor 5.5 convert excel decision table to web error
by gboro54
In guvnor 5.5, when trying to convert an excel based decision table to a web
based one, using the convert button, we get the following exception:
.drools.guvnor.client.rpc.AssetService.convertAsset(java.lang.String,java.lang.String)
throws com.google.gwt.user.client.rpc.SerializationException' threw an
unexpected exception: java.lang.IndexOutOfBoundsException: Index: 8, Size: 4
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
[gwt-servlet-2.4.0.jar:]
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
[gwt-servlet-2.4.0.jar:]
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
[gwt-servlet-2.4.0.jar:]
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
[gwt-servlet-2.4.0.jar:]
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[gwt-servlet-2.4.0.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
[weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
[solder-impl-3.1.1.Final.jar:3.1.1.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
[solder-impl-3.1.1.Final.jar:3.1.1.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.13.Final.jar:]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
[jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]
Caused by: java.lang.IndexOutOfBoundsException: Index: 8, Size: 4
at java.util.ArrayList.addAll(ArrayList.java:497) [rt.jar:1.6.0_31]
at
org.drools.guvnor.server.converters.decisiontable.builders.GuidedDecisionTableLHSBuilder.addPatternColumn(GuidedDecisionTableLHSBuilder.java:293)
[classes:]
at
org.drools.guvnor.server.converters.decisiontable.builders.GuidedDecisionTableLHSBuilder.populateDecisionTable(GuidedDecisionTableLHSBuilder.java:168)
[classes:]
at
org.drools.guvnor.server.converters.decisiontable.GuidedDecisionTableGeneratorListener.populateDecisionTable(GuidedDecisionTableGeneratorListener.java:244)
[classes:]
at
org.drools.guvnor.server.converters.decisiontable.GuidedDecisionTableGeneratorListener.finishRuleTable(GuidedDecisionTableGeneratorListener.java:233)
[classes:]
at
org.drools.guvnor.server.converters.decisiontable.GuidedDecisionTableGeneratorListener.processRuleCell(GuidedDecisionTableGeneratorListener.java:301)
[classes:]
at
org.drools.guvnor.server.converters.decisiontable.GuidedDecisionTableGeneratorListener.newCell(GuidedDecisionTableGeneratorListener.java:181)
[classes:]
at
org.drools.decisiontable.parser.xls.ExcelParser.newCell(ExcelParser.java:187)
[drools-decisiontables-5.5.0.Final.jar:5.5.0.Final]
at
org.drools.decisiontable.parser.xls.ExcelParser.processSheet(ExcelParser.java:140)
[drools-decisiontables-5.5.0.Final.jar:5.5.0.Final]
at
org.drools.decisiontable.parser.xls.ExcelParser.parseFile(ExcelParser.java:82)
[drools-decisiontables-5.5.0.Final.jar:5.5.0.Final]
at
org.drools.guvnor.server.converters.decisiontable.DecisionTableXLSToDecisionTableGuidedConverter.parseAssets(DecisionTableXLSToDecisionTableGuidedConverter.java:135)
[classes:]
at
org.drools.guvnor.server.converters.decisiontable.DecisionTableXLSToDecisionTableGuidedConverter.convert(DecisionTableXLSToDecisionTableGuidedConverter.java:94)
[classes:]
at
org.drools.guvnor.server.converters.decisiontable.DecisionTableXLSToDecisionTableGuidedConverter$Proxy$_$$_WeldClientProxy.convert(DecisionTableXLSToDecisionTableGuidedConverter$Proxy$_$$_WeldClientProxy.java)
[classes:]
at
org.drools.guvnor.server.converters.GuvnorDroolsConversionService.convert(GuvnorDroolsConversionService.java:74)
[classes:]
at
org.drools.guvnor.server.converters.GuvnorDroolsConversionService$Proxy$_$$_WeldClientProxy.convert(GuvnorDroolsConversionService$Proxy$_$$_WeldClientProxy.java)
[classes:]
at
org.drools.guvnor.server.RepositoryAssetService.convertAsset(RepositoryAssetService.java:638)
[guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
at
org.drools.guvnor.server.RepositoryAssetService$Proxy$_$$_WeldClientProxy.convertAsset(RepositoryAssetService$Proxy$_$$_WeldClientProxy.java)
[guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
at
org.drools.guvnor.server.AssetServiceServlet.convertAsset(AssetServiceServlet.java:215)
[guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.6.0_31]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[rt.jar:1.6.0_31]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_31]
at java.lang.reflect.Method.invoke(Method.java:597)
[rt.jar:1.6.0_31]
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
[gwt-servlet-2.4.0.jar:]
Any ideas what may be causing this?
--
View this message in context: http://drools.46999.n3.nabble.com/Guvnor-5-5-convert-excel-decision-table...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 1 month