Accumulate function, events and stream processing
by Juanker Atina
I need your help to put to work an accumulate function.
So, i will introduce several facts into working memory (StateEvent, which i
declare as event) and i want to accumulate the last five values.
I have changed a property in drools.default.rulebase.conf
(drools.eventProcessingMode = STREAM) to make the engine works in stream
mode.
And my rule is:
declare StateEvent
@role( event )
end
rule "Testing"
when
$total : Number() from accumulate(
StateEvent(itemName=="Temperatura", $val : newState) over
window:length( 5 ),
sum ( ((DecimalType)$val).toBigDecimal().doubleValue() ) )
then
#actions
end
But it's not working, as the value of $total is 0.0, no matter what i do,
and the rule is firing with every fact in the working memory.
Any help will be appreciated.
Thanks
12 years, 10 months
ruleflow and bpmn files issues with drools and guvnor 5.2 final
by style.x7
Hi all,
I've tried drools 5.2 final version with much excitement but the default
create new drools project is already giving problems:
Issue 1. Exceptions when running default created .rf and .bpmn files.
When I ran ProcessTest.java with .rf file, I get:
java.lang.NullPointerException
at
org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:516)
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:556)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)
at com.sample.ProcessTest.readKnowledgeBase(ProcessTest.java:36)
at com.sample.ProcessTest.main(ProcessTest.java:23)
When I ran ProcessTest.java with .bpmn file, I get:
lang.IllegalArgumentException: Unable to instantiate service for Class
'org.drools.compiler.BPMN2ProcessProvider'
at org.drools.util.ServiceRegistryImpl.get(ServiceRegistryImpl.java:161)
at
org.drools.compiler.BPMN2ProcessFactory.loadProvider(BPMN2ProcessFactory.java:29)
at
org.drools.compiler.BPMN2ProcessFactory.getBPMN2ProcessProvider(BPMN2ProcessFactory.java:21)
at
org.drools.compiler.BPMN2ProcessFactory.configurePackageBuilder(BPMN2ProcessFactory.java:12)
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:559)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)
at com.sample.ProcessTest.readKnowledgeBase(ProcessTest.java:33)
at com.sample.ProcessTest.main(ProcessTest.java:20)
Caused by: java.lang.IllegalArgumentException: Unable to instantiate
'org.jbpm.bpmn2.BPMN2ProcessProviderImpl'
at
org.drools.util.ServiceRegistryImpl$ReflectionInstantiator.newInstance(ServiceRegistryImpl.java:210)
at
org.drools.util.ServiceRegistryImpl$ReflectionInstantiator.call(ServiceRegistryImpl.java:202)
at org.drools.util.ServiceRegistryImpl.get(ServiceRegistryImpl.java:159)
... 7 more
Caused by: java.lang.ClassNotFoundException:
org.jbpm.bpmn2.BPMN2ProcessProviderImpl
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
org.drools.util.ServiceRegistryImpl$ReflectionInstantiator.newInstance(ServiceRegistryImpl.java:207)
... 9 more
Issue 2: Guvnor 5.2 final unable to display .rf and .bpmn files
No error message was given when guvnor is unable to display .rf files. The
popup shows blank diagrams.
For .bpmn files, guvnor with designer-1.0.0.052-jboss.war shows the oryx
editor with blank diagrams, error message:
SEVERE [JbpmProfileImpl] Could not find BPMNDI information
java.lang.IllegalArgumentException: Could not find BPMNDI information
at
com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshallProcess(Bpmn2JsonMarshaller.java:347)
at
com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshallDefinitions(Bpmn2JsonMarshaller.java:255)
at
com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshall(Bpmn2JsonMarshaller.java:138)
at
com.intalio.web.profile.impl.JbpmProfileImpl$2.parseModel(JbpmProfileImpl.java:197)
at
com.intalio.web.repository.impl.UUIDBasedJbpmRepository.load(UUIDBasedJbpmRepository.java:38)
at
com.intalio.web.server.UUIDBasedRepositoryServlet.doGet(UUIDBasedRepositoryServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
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
com.intalio.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
My development environment is eclipse 3.6, drools plugin 5.2 final, java 6,
windows 7, jboss as 5.1 jdk 6.
Any help would be greatly appreciated.
--
View this message in context: http://drools.46999.n3.nabble.com/ruleflow-and-bpmn-files-issues-with-dro...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 10 months
Loading A PKG from Guvnor using Knowledge Agent
by 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-Knowled...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 10 months
Difference between Rule Base and Knowledge Base
by Swapnil Sawant
Hi,
I had a very basic doubt. 'Rule Base' and 'Knowledge Base' are two different concepts (may be from implementation point of view )?
I got this doubt when I was going through section '1.4.7.2. Drools execution server' of drools guvnor (v5.0) where it was written like :
The drools execution server (drools-server) module is a war which you can deploy to execute "knowledgebases (rulebases)" remotely for any sort of client application
The thing is that , I have created Knowledge base from changeset.xml as follows :
kagent = KnowledgeAgentFactory.newKnowledgeAgent( "MyRuleAgent" );
kagent.applyChangeSet( ResourceFactory.newUrlResource( changesetUrl ) );
kbase = kagent.getKnowledgeBase();
Now if I wish to get Rule Base corresponding to my changeset(or rather my DRL file) using 'this kbase object' , how can I do that ?
Thanks,
Swapnil Sawant
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
______________________________________________________________________
12 years, 10 months
Eclipse plugin for editing DSLR
by Stephen Masters
Hi folks,
I was thinking the Eclipse DSLR editor just didn't work, but discovered this morning that actually it's just that it only works properly (i.e. shows the 'generated' DRL) if I put the DSLR in the same directory as the DSL. Until now, I have kept the DSL in the 'main' side of my Maven source tree and DSLRs for use in unit testing in the 'test' side.
So I was wondering whether there's a means of configuring the Eclipse plugin so that it can find DSL resources in another directory.
As a side note, I was thinking that this would be a handy thing for a Maven Drools plugin to configure for me, when I run "mvn eclipse:eclipse". It could be based on project structure conventions or through me indicating the location of my rules resources. I noticed a couple of old interactions on the mailing list regarding Maven Drools plugins, but I also notice that so far nothing has appeared in the droolsjbpm-tools Github repo.
Steve
12 years, 10 months
Unable to start guvnor with no initial repository
by arup
Hi all,
I'm running my Guvnor 5.2 on WAS 6.1. But after deploying the war file when
i'm trying to hit the guvnor link i'm getting the following errors:
[2/1/12 12:41:04:483 IST] 00000028 SystemOut O ERROR 01-02 12:41:04,483
(LoggingHelper.java:error:69) Service method 'public abstract
java.lang.String[]
org.drools.guvnor.client.rpc.RepositoryService.listStates() throws
com.google.gwt.user.client.rpc.SerializationException' threw an unexpected
exception: java.lang.IllegalStateException: java.lang.NullPointerException
java.lang.IllegalStateException: java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:113)
at
org.drools.guvnor.server.RepositoryServiceServlet.getService(RepositoryServiceServlet.java:69)
at
org.drools.guvnor.server.RepositoryServiceServlet.listStates(RepositoryServiceServlet.java:630)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by:
java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
... 30 more
[2/1/12 12:41:04:483 IST] 00000021 SystemOut O ERROR 01-02 12:41:04,483
(LoggingHelper.java:error:69) Service method 'public abstract
java.lang.String[]
org.drools.guvnor.client.rpc.CategoryService.loadChildCategories(java.lang.String)'
threw an unexpected exception: java.lang.IllegalStateException:
java.lang.NullPointerException
java.lang.IllegalStateException: java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:113)
at
org.drools.guvnor.server.RepositoryServiceServlet.getCategoryService(RepositoryServiceServlet.java:120)
at
org.drools.guvnor.server.RepositoryServiceServlet.loadChildCategories(RepositoryServiceServlet.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by:
java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
... 30 more
[2/1/12 12:41:04:493 IST] 00000026 WebApp A SRVE0181I:
[drools-guvnor_war#drools-guvnor.war] [/drools-guvnor] [Servlet.LOG]:
Exception while dispatching incoming RPC call:
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract java.util.Collection
org.drools.guvnor.client.rpc.ConfigurationService.loadPerspectiveConfigurations()'
threw an unexpected exception: java.lang.IllegalStateException: Unable to
get repo to run tests
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: java.lang.IllegalStateException: Unable to get repo to run tests
at
org.drools.guvnor.server.ConfigurationServiceImplementation.getRepository(ConfigurationServiceImplementation.java:112)
at
org.drools.guvnor.server.ConfigurationServiceImplementation.loadPerspectiveConfigurations(ConfigurationServiceImplementation.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
... 23 more
Caused by: java.lang.IllegalStateException: java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:113)
at
org.drools.guvnor.server.ConfigurationServiceImplementation.getRepository(ConfigurationServiceImplementation.java:109)
... 29 more
Caused by: java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
... 30 more
[2/1/12 12:41:04:493 IST] 00000027 SystemOut O ERROR 01-02 12:41:04,493
(LoggingHelper.java:error:69) Service method 'public abstract
org.drools.guvnor.client.rpc.PackageConfigData[]
org.drools.guvnor.client.rpc.PackageService.listPackages()' threw an
unexpected exception: java.lang.IllegalStateException:
java.lang.NullPointerException
java.lang.IllegalStateException: java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:113)
at
org.drools.guvnor.server.RepositoryServiceServlet.getPackageService(RepositoryServiceServlet.java:106)
at
org.drools.guvnor.server.RepositoryServiceServlet.listPackages(RepositoryServiceServlet.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by:
java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
... 30 more
[2/1/12 12:41:04:787 IST] 00000028 SystemOut O ERROR 01-02 12:41:04,777
(LoggingHelper.java:error:69) Service method 'public abstract
org.drools.guvnor.client.rpc.PackageConfigData[]
org.drools.guvnor.client.rpc.PackageService.listPackages()' threw an
unexpected exception: java.lang.IllegalStateException:
java.lang.NullPointerException
java.lang.IllegalStateException: java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:113)
at
org.drools.guvnor.server.RepositoryServiceServlet.getPackageService(RepositoryServiceServlet.java:106)
at
org.drools.guvnor.server.RepositoryServiceServlet.listPackages(RepositoryServiceServlet.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by:
java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
... 30 more
[2/1/12 12:41:04:787 IST] 00000020 SystemOut O ERROR 01-02 12:41:04,787
(LoggingHelper.java:error:69) Service method 'public abstract
org.drools.guvnor.client.rpc.PackageConfigData
org.drools.guvnor.client.rpc.PackageService.loadGlobalPackage()' threw an
unexpected exception: java.lang.IllegalStateException:
java.lang.NullPointerException
java.lang.IllegalStateException: java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:113)
at
org.drools.guvnor.server.RepositoryServiceServlet.getPackageService(RepositoryServiceServlet.java:106)
at
org.drools.guvnor.server.RepositoryServiceServlet.loadGlobalPackage(RepositoryServiceServlet.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by:
java.lang.NullPointerException
at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
... 32 more
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R Failed to get the
repository session:
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R
java.lang.NullPointerException
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
org.drools.guvnor.server.RepositoryServiceServlet.getService(RepositoryServiceServlet.java:69)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
org.drools.guvnor.server.RepositoryServiceServlet.listStates(RepositoryServiceServlet.java:630)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
java.lang.reflect.Method.invoke(Method.java:618)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[2/1/12 12:41:04:473 IST] 00000028 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
[2/1/12 12:41:04:483 IST] 00000028 SystemErr R at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R Failed to get the
repository session:
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R
java.lang.NullPointerException
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
org.drools.guvnor.server.RepositoryServiceServlet.getCategoryService(RepositoryServiceServlet.java:120)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
org.drools.guvnor.server.RepositoryServiceServlet.loadChildCategories(RepositoryServiceServlet.java:188)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
java.lang.reflect.Method.invoke(Method.java:618)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
[2/1/12 12:41:04:483 IST] 00000021 SystemErr R at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R Failed to get the
repository session:
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R
java.lang.NullPointerException
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
org.drools.guvnor.server.ConfigurationServiceImplementation.getRepository(ConfigurationServiceImplementation.java:109)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
org.drools.guvnor.server.ConfigurationServiceImplementation.loadPerspectiveConfigurations(ConfigurationServiceImplementation.java:71)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
java.lang.reflect.Method.invoke(Method.java:618)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
[2/1/12 12:41:04:483 IST] 00000026 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[2/1/12 12:41:04:493 IST] 00000026 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[2/1/12 12:41:04:493 IST] 00000026 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[2/1/12 12:41:04:493 IST] 00000026 SystemErr R at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[2/1/12 12:41:04:493 IST] 00000026 SystemErr R at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[2/1/12 12:41:04:493 IST] 00000026 SystemErr R at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[2/1/12 12:41:04:493 IST] 00000026 SystemErr R at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[2/1/12 12:41:04:493 IST] 00000026 SystemErr R at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
[2/1/12 12:41:04:493 IST] 00000026 SystemErr R at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
[2/1/12 12:41:04:493 IST] 00000026 SystemErr R at
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
[2/1/12 12:41:04:493 IST] 00000026 SystemErr R at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R Failed to get the
repository session:
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R
java.lang.NullPointerException
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
org.drools.guvnor.server.RepositoryServiceServlet.getPackageService(RepositoryServiceServlet.java:106)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
org.drools.guvnor.server.RepositoryServiceServlet.listPackages(RepositoryServiceServlet.java:215)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
java.lang.reflect.Method.invoke(Method.java:618)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
[2/1/12 12:41:04:493 IST] 00000027 SystemErr R at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R Failed to get the
repository session:
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R
java.lang.NullPointerException
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
org.drools.guvnor.server.RepositoryServiceServlet.getPackageService(RepositoryServiceServlet.java:106)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
org.drools.guvnor.server.RepositoryServiceServlet.listPackages(RepositoryServiceServlet.java:215)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
java.lang.reflect.Method.invoke(Method.java:618)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
[2/1/12 12:41:04:777 IST] 00000028 SystemErr R at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R Failed to get the
repository session:
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R
java.lang.NullPointerException
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
org.drools.guvnor.server.RepositoryServiceServlet.getPackageService(RepositoryServiceServlet.java:106)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
org.drools.guvnor.server.RepositoryServiceServlet.loadGlobalPackage(RepositoryServiceServlet.java:223)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
java.lang.reflect.Method.invoke(Method.java:618)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
[2/1/12 12:41:04:787 IST] 00000020 SystemErr R at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
My components.xml is as follow:
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
xmlns:core="http://jboss.com/products/seam/core"
xmlns:security="http://jboss.com/products/seam/security"
xmlns:web="http://jboss.com/products/seam/web"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:transaction="http://jboss.com/products/seam/transaction"
xsi:schemaLocation="http://jboss.com/products/seam/core
http://jboss.com/products/seam/core-2.0.xsd
http://jboss.com/products/seam/security
http://jboss.com/products/seam/security-2.0.xsd
http://jboss.com/products/seam/components
http://jboss.com/products/seam/components-2.0.xsd
http://jboss.com/products/seam/web
http://jboss.com/products/seam/web-2.0.xsd
http://jboss.com/products/seam/transaction
http://jboss.com/products/seam/transaction-2.0.xsd">
<core:init transaction-management-enabled="false" />
<transaction:no-transaction />
<component name="repositoryConfiguration">
<property
name="homeDirectory">C:\Users\240931\Desktop\repository</property>
<property
name="configurator">org.drools.repository.JackrabbitRepositoryConfigurator</property>
</component>
<security:identity
authenticate-method="#{nilAuthenticator.authenticate}"/>
<component name="org.jboss.seam.security.roleBasedPermissionResolver">
<property name="enableRoleBasedAuthorization">false</property>
</component>
</components>
--
View this message in context: http://drools.46999.n3.nabble.com/Unable-to-start-guvnor-with-no-initial-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 10 months