Error on exporting rules project to mws

Getting error when exporting rules project from designer to mws.

mws errors.log:
<log4j:event logger=“com.webmethods.jackrabbit.spi2mws.MwsBatch” timestamp=“1484250042564” level=“WARN” thread=“qtp1355672746-151”>
log4j:message</log4j:message>
log4j:NDC</log4j:NDC>
</log4j:event>

<log4j:event logger=“com.sun.jersey.spi.container.ContainerResponse” timestamp=“1484250042676” level=“ERROR” thread=“qtp1355672746-151”>
log4j:message</log4j:message>
log4j:NDC</log4j:NDC>
log4j:throwable<![CDATA[java.lang.NullPointerException
at com.webmethods.caf.rules.rulepersistence.jcr.JackrabbitClient.removeXmlContent(JackrabbitClient.java:681)
at com.webmethods.caf.rules.rulepersistence.jcr.JackrabbitClient.addXmlContent(JackrabbitClient.java:665)
at com.webmethods.caf.rules.rulepersistence.JcrAccessHandler.addXmlContent(JcrAccessHandler.java:262)
at com.webmethods.caf.rules.locking.PessimisticLockingPersistenceManager.writeProjectLockToJcr(PessimisticLockingPersistenceManager.java:432)
at com.webmethods.caf.rules.locking.PessimisticLockingPersistenceManager.createLockForProject(PessimisticLockingPersistenceManager.java:400)
at com.webmethods.caf.rules.locking.PessimisticLockingPersistenceManager.createExclusiveLockForProject(PessimisticLockingPersistenceManager.java:357)
at com.webmethods.caf.rules.publicapi.RuleProjectWrapper.importProject(RuleProjectWrapper.java:642)
at com.webmethods.caf.rules.publicapi.RuleProjectWrapper.putProjectArchiveValidate(RuleProjectWrapper.java:590)
at com.webmethods.caf.rules.publicapi.RuleProjectWrapper.putProjectArchive(RuleProjectWrapper.java:584)
at com.webmethods.caf.rules.rest.resource.RuleProjectRawContentResource.putRuleProjectArchive(RuleProjectRawContentResource.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)

I was able to resolve by using sysadmin credential. I guess administrator does not have a default right to export rules.

I am having similar issue in 9.10 version even applied fixes released in August 2017 for all IS,MWS,Rules.

As mentioned by you i have tried to export using sysadmin/manage but still have the same result. Any help will be appreciated.

Error:

2017-10-12 09:35:59 EDT (com.sun.jersey.spi.container.ContainerResponse:ERROR) - The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
java.lang.NullPointerException
at com.softwareag.rules.validation.AbstractRulesetValidator.validateDecisionEntityInRuleSet(AbstractRulesetValidator.java:64)
at com.softwareag.rules.validation.AbstractRulesetValidator.validate(AbstractRulesetValidator.java:56)
at com.softwareag.rules.validation.AbstractRulesetValidator.validate(AbstractRulesetValidator.java:25)
at com.softwareag.rules.validation.AbstractGenericChainedRuleAssetValidator.validateInChain(AbstractGenericChainedRuleAssetValidator.java:49)
at com.softwareag.rules.validation.manager.ChainedValidatorManager.validateInChain(ChainedValidatorManager.java:97)
at com.softwareag.rules.validation.manager.CompleteRuleProjectValidationManager.getRuleSetIssues(CompleteRuleProjectValidationManager.java:96)
at com.softwareag.rules.validation.manager.CompleteRuleProjectValidationManager.validateProject(CompleteRuleProjectValidationManager.java:53)
at com.softwareag.rules.validation.manager.CompleteRuleProjectValidationManager.getValidationIssues(CompleteRuleProjectValidationManager.java:65)
at com.softwareag.rules.validation.manager.CompleteRuleProjectValidationManager.containsErrors(CompleteRuleProjectValidationManager.java:74)
at com.webmethods.caf.rules.publicapi.RuleProjectWrapper.validateRuleProject(RuleProjectWrapper.java:692)
at com.webmethods.caf.rules.publicapi.RuleProjectWrapper.importProject(RuleProjectWrapper.java:636)
at com.webmethods.caf.rules.publicapi.RuleProjectWrapper.putProjectArchiveValidate(RuleProjectWrapper.java:593)
at com.webmethods.caf.rules.publicapi.RuleProjectWrapper.putProjectArchive(RuleProjectWrapper.java:587)
at com.webmethods.caf.rules.rest.resource.RuleProjectRawContentResource.putRuleProjectArchive(RuleProjectRawContentResource.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at com.webmethods.caf.faces.servlet.MultipartFilter.doFilter(MultipartFilter.java:69)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at com.webmethods.portal.webapp.jetty7.MwsServer.handle(MwsServer.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)

Hi Experts

We are using wM10.1 version. I’m also getting the same error when I’m trying to export the Business rules to MWS server.

I’m using sysadmin\manage credentials while configuring the MWS server repository.

Your help is much appreciated. Thanks in advance.