[rules-users] Test Scenario not firing rule when a ruleflow-group is defined

2012-11-08 Thread mpgong
Hello,

I created a simple rule using the guvnor drl editor - it looks like this:
rule Rule1
no-loop true
ruleflow-group CheckOne
when
$ca : TestFact()
then
System.out.println(Hello World);
end

when i create the scenario, where i insert a TestFact() object and added the
expected rule to fire 'Rule1' and then hit the run scenario, the output said
Rule1 was not activated and no rule fired.  However, when i take the rule
flow group out it fires.
Any idea why this might be.  Now i am able to use ruleflow-groups in my
application but those rules where built with the decision tables (xls) and
uploaded to guvnor.  

The new set of rules are small and simple so i was just going to create them
using drl.  This seems to be causing me problems because i'm trying to run
these rules from a process and they aren't firing in there either.

Thanks





--
View this message in context: 
http://drools.46999.n3.nabble.com/Test-Scenario-not-firing-rule-when-a-ruleflow-group-is-defined-tp4020761.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] Guvnor 5.4.Final can't save BPMN process imported from 5.3 repo

2012-10-30 Thread mpgong
Not sure what else i should have upgraded.  I thought i could just export the
existing repo and reimport it.

I decided to recreate things in 5.4 since i didn't have that much in there. 
But when i tried to import my process from eclipse i'm getting this warning
: not sure what is going on.  I did upgrade the designer to 2.3 as well, not
sure if that is causing it.  

Thanks

09:48:01,962 INFO 
[org.drools.guvnor.server.files.AuthorizationHeaderChecker]
(http--0.0.0.0-8080-5)  authenticated for rest api
09:48:01,962 ERROR [org.drools.repository.RulesRepository]
(http--0.0.0.0-8080-5) Caught Exception: javax.jcr.RepositoryException: This
session has been closed. See the chained exception for a trace of where the
session was closed.
at
org.apache.jackrabbit.core.session.SessionState.checkAlive(SessionState.java:121)
[jackrabbit-core-2.2.8.jar:2.2.8]
at
org.apache.jackrabbit.core.SessionImpl.sanityCheck(SessionImpl.java:366)
[jackrabbit-core-2.2.8.jar:2.2.8]
at
org.apache.jackrabbit.core.SessionImpl.getRootNode(SessionImpl.java:715)
[jackrabbit-core-2.2.8.jar:2.2.8]
at
org.drools.repository.RulesRepository.getAreaNode(RulesRepository.java:213)
[guvnor-repository-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.repository.RulesRepository.loadModule(RulesRepository.java:429)
[guvnor-repository-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.repository.RulesRepository.loadGlobalArea(RulesRepository.java:681)
[guvnor-repository-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.guvnor.server.files.WebDAVImpl.loadGlobalAreaFromRepository(WebDAVImpl.java:912)
[guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.guvnor.server.files.WebDAVImpl.handleReadOnlyGlobalAreaPackages(WebDAVImpl.java:222)
[guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.guvnor.server.files.WebDAVImpl.getChildrenNames(WebDAVImpl.java:196)
[guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.guvnor.server.files.WebDAVImpl$Proxy$_$$_WeldClientProxy.getChildrenNames(WebDAVImpl$Proxy$_$$_WeldClientProxy.java)
[guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at
net.sf.webdav.methods.DoPropfind.recursiveParseProperties(DoPropfind.java:217)
[webdav-servlet-2.0.jar:]
at net.sf.webdav.methods.DoPropfind.execute(DoPropfind.java:165)
[webdav-servlet-2.0.jar:]
at
net.sf.webdav.WebDavServletBean.service(WebDavServletBean.java:128)
[webdav-servlet-2.0.jar:]
at
org.drools.guvnor.server.files.WebdavServlet.service(WebdavServlet.java:73)
[guvnor-webapp-core-5.4.0.Final.jar:5.4.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.10.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.10.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.10.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.10.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.10.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.10.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.10.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.10.Final.jar:]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.10.Final.jar:]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.10.Final.jar:]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
[jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
[jbossweb-7.0.10.Final.jar:]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.10.Final.jar:]
at

Re: [rules-users] Guvnor 5.4.Final can't save BPMN process imported from 5.3 repo

2012-10-30 Thread mpgong
Fixed the other issue with importing from eclipse.

Is there documentation somewhere on how to properly upgrade from 5.3 to 5.4?

I thought that maybe i would be able to recreate my packages and import the
process from eclipse but that gave the same error above.

Not sure Maybe you did not upgrade all the code including property files ?
meant.

Thanks



--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-5-4-Final-can-t-save-BPMN-process-imported-from-5-3-repo-tp4020545p4020572.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] Guvnor 5.4.Final can't save BPMN process imported from 5.3 repo

2012-10-29 Thread mpgong
Hello,

I'm looking to upgrade to from drools 5.3 to 5.4 and i'm having some issues
with Guvnor.  The exported repo from 5.3 imported fine and my packages all
built fine but when i go to edit a process and try to save it, after i click
the check in button i get this error.  I'm using designer 2.2 as well.  Does
anyone know what might be causing this?  Thanks.

18:22:48,601 INFO  [org.drools.guvnor.server.RepositoryAssetService]
(http--0.0.0.0-8080-2) USER:admin CHECKING IN asset: [ScheduleReportImport]
UUID: [dc38e1fd-987d-4d31-93db-0bbd2d8034f4]
18:22:48,632 ERROR [org.drools.guvnor.server.RepositoryServiceServlet]
(http--0.0.0.0-8080-2) Service method 'public abstract java.lang.String
org.drools.guvnor.client.rpc.AssetService.checkinVersion(org.drools.guvnor.client.rpc.Asset)
throws com.google.gwt.user.client.rpc.SerializationException' th
rew an unexpected exception: java.lang.NullPointerException:
java.lang.NullPointerException
at org.drools.repository.AssetItem.updateContent(AssetItem.java:390)
[guvnor-repository-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler.storeAssetContent(BPMN2ProcessHandler.java:155)
[classes:]
at
org.drools.guvnor.server.RepositoryAssetOperations.checkinVersion(RepositoryAssetOperations.java:180)
[guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.guvnor.server.RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.java)
[guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.guvnor.server.RepositoryAssetService.checkinVersion(RepositoryAssetService.java:155)
[guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.guvnor.server.RepositoryAssetService$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetService$Proxy$_$$_WeldClientProxy.java)
[guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at
org.drools.guvnor.server.RepositoryServiceServlet.checkinVersion(RepositoryServiceServlet.java:596)
[guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.7.0_01]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_01]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_01]
at java.lang.reflect.Method.invoke(Method.java:601)
[rt.jar:1.7.0_01]
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
[gwt-servlet-2.3.0.jar:]
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
[gwt-servlet-2.3.0.jar:]
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
[gwt-servlet-2.3.0.jar:]
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[gwt-servlet-2.3.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.10.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.10.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.10.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.10.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.10.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.10.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.10.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.10.Final.jar:]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.10.Final.jar:]
at

Re: [rules-users] how is Integer converted when comparing with primitive?

2012-09-27 Thread mpgong
Thanks for the detailed explanations.  We added the a check for null so that
rule doesn't fire anymore. 






--
View this message in context: 
http://drools.46999.n3.nabble.com/how-is-Integer-converted-when-comparing-with-primitive-tp4019975p4020012.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 is Integer converted when comparing with primitive?

2012-09-27 Thread mpgong
I checked the documentations and it didn't mention that constraint format.  I
must have misread it as being valid and assumed it would work since there
was never any errors.  I will correct it and use something like Fact(val 
10   4) or break them out into two.

Thanks for the investigation.



--
View this message in context: 
http://drools.46999.n3.nabble.com/how-is-Integer-converted-when-comparing-with-primitive-tp4019975p4020014.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 is Integer converted when comparing with primitive?

2012-09-26 Thread mpgong
Hello

I have a rule that looks something like this

when 
$mydate : TaskRowDate(0  currentLateCount  100)
then 
doSomething();

My problem is that currentLateCount is an Integer type because i want to be
able to store null.  0 means something different in my app.

The problem is when a fact that is inserted with the currentLateCount =
null, the above rule matches and is fired.

Is this suppose to be the case and what value does currentLateCount take
that makes it match?

Thanks



--
View this message in context: 
http://drools.46999.n3.nabble.com/how-is-Integer-converted-when-comparing-with-primitive-tp4019975.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] guvnor 5.4 final turning off authentication

2012-08-07 Thread mpgong
Hello,

I'm trying to upgrade from 5.3 to 5.4 and i guess i must have configured 5.3
to not authenticate when accessing the resources in guvnor like the
binaries, etc using the REST api because when i try to access them under 5.4
i'm getting the 401 response.

I read that security is configured in the beans.xml i believe but not sure
how to do it properly.  I basically want to have no authentication.  In 5.3
i believe this was achieved changing the components.xml and adding this
security:identity authenticate-method=#{nilAuthenticator.authenticate}/.

How do i this under 5.4?

Thanks.



--
View this message in context: 
http://drools.46999.n3.nabble.com/guvnor-5-4-final-turning-off-authentication-tp4019042.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] Guvnor test case with fact with Object fields

2012-05-31 Thread mpgong
Hello,

I have a fact that has is also my entity model and it has a field that is a
class called state which holds previous and current state values (enum).

So i have a condition that gets the state and gets the two values to check.  

The issue i'm running into is with creating a test case in guvnor, is it
possible to create a test case with a field that is an object like this? 
Guvnor recognizes that i have a field called state but it doesn't realize
that it is a class so it doesn't look like i would be able to test any rules
the uses state as a condition check.

Thanks



--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-test-case-with-fact-with-Object-fields-tp4017705.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] Using declared type from decision table/drl with Guvnor Test Scenario

2012-05-23 Thread mpgong
Hello,

Is it possible to use a declared type from the decision table or drl as a
given item with Guvnor test scenario?

When i create a new test scenario and click on given, i don't see the
declared type I only see items from my model jar.  I can only see declared
types if i define them in Guvnor  but i don't want to do it that way unless
i have to.  I want all of that contained in my xls or drl and just upload
utility classes that are needed in the xls/drl.

Thanks

--
View this message in context: 
http://drools.46999.n3.nabble.com/Using-declared-type-from-decision-table-drl-with-Guvnor-Test-Scenario-tp4010325.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 use Guvnor effectively?

2012-05-22 Thread mpgong
Hello,

I have a feeling that i'm not using guvnor correctly.  My issue is that when
i use the knowledge agent to load a package from guvnor it takes just as
long to get the knowledge base as it does if i were to use the knowledge
builder and add rules resources.  So when i do a build package in guvnor it
does compile everything and the binary that is created is what would end up
if i were to use the knowledge builder?

In the past i would rebuild the knowledge builder but i switched to guvnor
because i thought it would be easier to rebuild and manage plus getting the
knowledgebase to be faster.  I'm i wrong in my understanding?

Thanks

--
View this message in context: 
http://drools.46999.n3.nabble.com/How-to-use-Guvnor-effectively-tp4006811.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 use Guvnor effectively?

2012-05-22 Thread mpgong
Here is what my change-set.xml looks like.

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/main/resources/change-set-1.0.0.xsd'

add
 resource
source='http://ibeserver:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.ibe.rules.CheckResults/LATEST'
type='PKG' /
/add
/change-set

So i am using the PKG type.  Now i can't believe that it is sending the
300KB or so package over the network that is slow, though possible.

--
View this message in context: 
http://drools.46999.n3.nabble.com/How-to-use-Guvnor-effectively-tp4006811p4006951.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 use Guvnor effectively?

2012-05-22 Thread mpgong
Well, when loading the pkg directly into the knowledge builder it takes about
200ms or so which is what we want. It takes about 20secs to load accessing
guvnor using the changeset.  So the pkg is compiled correctly.  The question
is then why it takes so long to load from the change set via the agent.  

I tried loading the pkg to the kbuilder via the url defined in the change
set so it isn't a network or server thing.  Since we can use the kbuilder
with guvnor it isn't a big deal, we just won't have the agent which is fine
for our needs.

--
View this message in context: 
http://drools.46999.n3.nabble.com/How-to-use-Guvnor-effectively-tp4006811p4007106.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: Using Declared Types in Decision Tables

2012-05-22 Thread mpgong
Didn't want to start another thread but i have a question about declare types
in decision tables.

What is the format?

In the documentation is defines the keyword 'Declare'.  I use this under the
same column as the RuleSet and to the right i define the type as such

PmbDataType
field1:String
field2:String
date: Date
cost: float

Do i need to also put and end or something?  When i load it into guvnor and
show source the compiled DRL doesn't have the declare section in it so i'm
guessing my format in the spreadsheet is wrong.  How should it look?

Thanks

--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Using-Declared-Types-in-Decision-Tables-tp2428018p4007118.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 use Guvnor effectively?

2012-05-22 Thread mpgong
There is the resource scanner which i believe is what you are referring to,
but that is off by default and i didn't enable it.  We are rebuilding the
kbase on demand with a new kagent (probably not the best think to do).  But
i wouldn't expect it to take as long as it does.

--
View this message in context: 
http://drools.46999.n3.nabble.com/How-to-use-Guvnor-effectively-tp4006811p4007232.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] Classnotfound exception on POJO model upload in guvnor

2012-05-18 Thread mpgong
Hello,

I'm trying to use Guvnor but when i upload my POJO models that my DRL needs
i get a classnotfoundexception even though i uploaded the jar that has the
class in it first.  
So i basically upload a jar that provides some common classes,utilities,
that have no dependencies other than on the core java libs.  This jar
uploads fine.  I then upload my model jar that contains my facts and other
classess that the DRL needs and it complains that it can't find the class
from the first common jar even though i uploaded it first and it is loaded
without errors.

How do i load all of my jars so that they are available in Guvnor to use
such as in creating a test scenario?  It looks like the jars are upload but
i get the error, i can also build the package but i'm worried it won't work
when i try to use it in my app.  Any ideas or insight to this issue.

I'm using drools.5.3.0 final.

Thanks

--
View this message in context: 
http://drools.46999.n3.nabble.com/Classnotfound-exception-on-POJO-model-upload-in-guvnor-tp4001060.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] Classnotfound exception on POJO model upload in guvnor

2012-05-18 Thread mpgong
Thanks, that makes sense.  I was suspecting that would be the case.  I'll
give that a go.

--
View this message in context: 
http://drools.46999.n3.nabble.com/Classnotfound-exception-on-POJO-model-upload-in-guvnor-tp4001060p4001282.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] Loading A PKG from Guvnor using Knowledge Agent

2012-02-01 Thread mpgong
Hello,

I'm trying to load a pkg that is deployed to guvnor but i am getting a npe
(below).  The Package builds fine in guvnor so i don't think there is any
issues there.  Any idea what i might be doing wrong?  Are there example
quickstarts that i can run for Guvnor.

Thanks.

java.lang.NullPointerException
at
org.drools.impl.KnowledgeBaseImpl.addKnowledgePackages(KnowledgeBaseImpl.java:148)
at
org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:1016)
at
org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:785)
at
org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:657)
at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:190)
at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:169)

--
View this message in context: 
http://drools.46999.n3.nabble.com/Loading-A-PKG-from-Guvnor-using-Knowledge-Agent-tp3707923p3707923.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