Re: [rules-users] facing problem in KnowledgeAgent

2013-04-17 Thread himansh
Sorry for wrong reply Line 34 is Object obj = factType.newInstance(); -- View this message in context: http://drools.46999.n3.nabble.com/facing-problem-in-KnowledgeAgent-tp4023368p4023386.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

Re: [rules-users] facing problem in KnowledgeAgent

2013-04-17 Thread himansh
Hi, If you know the reason and solution, please help me. From: himansh [via Drools] To: himansh Sent: Thursday, 18 April 2013 10:30 AM Subject: Re: [rules-users] facing problem in KnowledgeAgent Hi, System.out.println(ruleBase.getFactType("org.s

Re: [rules-users] facing problem in KnowledgeAgent

2013-04-17 Thread himansh
Hi, System.out.println(ruleBase.getFactType("org.sample","NumberTest")); In above line "org.sample" is package and "NumberTest" is fact type name -- View this message in context: http://drools.46999.n3.nabble.com/facing-problem-in-KnowledgeAgent-tp4023368p4023384.html Sent from the Drools: Us

[rules-users] facing problem in KnowledgeAgent

2013-04-17 Thread himansh
Hi, I am new in guvnor, please help me my code are bellow package com.sample; import org.drools.KnowledgeBase; import org.drools.RuleBase; import org.drools.WorkingMemory; import org.drools.agent.KnowledgeAgent; import org.drools.agent.KnowledgeAgentFactory; import org.drools.agent.RuleAgent; i