[rules-users] Unable to start guvnor with no initial repository

arup arup4u2007 at gmail.com
Wed Feb 1 02:13:36 EST 2012


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-repository-tp3705769p3705769.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list