APAR status
Closed as program error.
Error description
NPE on promotion when ignore-relationship is set to appliesTo.
Local fix
Not applicable
Problem summary
In certain circumstances attempting to promote an artifact to the Production environment may cause a Null pointer Exsception. Specifically when ignore-relationship is set to applies to The exception looks like: [6/22/11 16:51:39:197 BST] 00000024 api 3 com.ibm.sr.api.impl.MoveDataDBImpl capture Examining modelledMetadata with name : appliesTo isMany : true isContained : false type com.ibm.serviceregistry.sdo.BaseObject [6/22/11 16:51:39:197 BST] 00000024 api 3 com.ibm.sr.api.impl.MoveDataDBImpl capture Decided this is a relationship/containment to ignore targets; appliesTo [6/22/11 16:51:39:197 BST] 00000024 api 3 com.ibm.sr.api.impl.MoveDataDBImpl capture Will select those targets that are in same governance collection [6/22/11 16:51:39:198 BST] 00000024 api E com.ibm.sr.api.ServiceRegistryModifierImpl invokeModifiers GSR5000I: Captured exception [188]: java.lang.NullPointerException [6/22/11 16:51:39:201 BST] 00000024 api E com.ibm.sr.api.ServiceRegistryModifierImpl invokeModifiers java.lang.NullPointerException at com.ibm.sr.api.impl.MoveDataDBImpl.capture(MoveDataDBImpl.java:8 68) at com.ibm.sr.governance.api.ServiceRegistryPromotionImpl.exportMet aData(ServiceRegistryPromotionImpl.java:513) at com.ibm.sr.promotion.modifier.PromotionModifier.promoteToFile(Pr omotionModifier.java:331) at com.ibm.sr.promotion.modifier.PromotionModifier.transition(Promo tionModifier.java:136) at com.ibm.sr.api.ServiceRegistryModifierImpl.invokeModifiers(Servi ceRegistryModifierImpl.java:163) at com.ibm.sr.api.ServiceRegistryModifierImpl.transition(ServiceReg istryModifierImpl.java:285) at com.ibm.sr.governance.api.ServiceRegistryGovernanceImpl.invokeMo dification(ServiceRegistryGovernanceImpl.java:1265) at com.ibm.sr.governance.api.ServiceRegistryGovernanceImpl.transiti on(ServiceRegistryGovernanceImpl.java:609) at com.ibm.serviceregistry.governance.ServiceRegistryGovernanceBean .transition(ServiceRegistryGovernanceBean.java:442) at com.ibm.serviceregistry.governance.EJSLocalStatelessServiceRegis tryGovernance_602675c1.transition(EJSLocalStatelessServiceRegist ryGovernance_602675c1.java:538) at com.ibm.sr.ui.delegate.GovernanceDelegate.transition(GovernanceD elegate.java:310) at com.ibm.sr.ui.mediators.GovernanceMediator.transition(Governance Mediator.java:558) at com.ibm.sr.ui.actions.GovernanceAction.transition(GovernanceActi on.java:287) at com.ibm.sr.ui.actions.GovernanceAction.buttonPressed(GovernanceA ction.java:372) at sun.reflect.GeneratedMethodAccessor1071.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.apache.struts.actions.DispatchAction.dispatchMethod(Dispatch Action.java:280) at com.ibm.sr.ui.actions.ServiceRegistryMappingDispatchAction.execu te(ServiceRegistryMappingDispatchAction.java:101) at org.apache.struts.action.RequestProcessor.processActionPerform(R equestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcess or.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.jav a:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java :525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:738) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr apper.java:1657) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser vletWrapper.java:939) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser vletWrapper.java:502) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest (ServletWrapperImpl.java:179) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java: 3826) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.j ava:276) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer. java:931) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContai ner.java:1583) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLin k.java:186) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr imination(HttpInboundLink.java:445) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe quest(HttpInboundLink.java:504) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequ est(HttpInboundLink.java:301) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpI nboundLink.java:275) at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChann el(SSLConnectionLink.java:1016) at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCal lback.complete(SSLConnectionLink.java:639) at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadComplet edCallback.complete(SSLReadServiceContext.java:1772) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureComp leted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyn cFuture.java:217) at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.jav a:205) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1563) [6/22/11 16:51:39:203 BST] 00000024 api E com.ibm.sr.api.ServiceRegistryModifierImpl invokeModifiers GSR5001I: Captured exception [188] ends [6/22/11 16:51:39:204 BST] 00000024 plugin 3 com.ibm.sr.api.ServiceRegistryModifierImpl invokeModifiers Caught exception: java.lang.NullPointerException
Problem conclusion
The Null Pointer has been fixed and promotion will now occur as intended. The fix is targeted for WSRR 7.0.0.5
Temporary fix
Comments
APAR Information
APAR number
IV02297
Reported component name
SERVICE REGISTR
Reported component ID
5724N7200
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-06-23
Closed date
2011-07-22
Last modified date
2011-07-22
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
SERVICE REGISTR
Fixed component ID
5724N7200
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSWLGF","label":"WebSphere Service Registry and Repository"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
22 July 2011