Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Submit RAM asset community problem

In the RAM 7202, when we select submit asset, then beside the community list, it shows a lot of community names, like following:
"; communityMap["1290"]="27Jun_testing"; communityMap["1430"]="test entrp
"; communityMap["1410"]="comm1"; communityMap["1360"]="qwert"; communityMap["1870"]="abc_66086"; communityMap["1190"]="Test"; communityMap["1400"]="ApiTestCommunity"; communityMap["1960"]="For automation"; communityMap["1560"]="ESA test community "; communityMap["1000"]="Cloud Computing Core Community"; communityMap["1010"]="Cloud Computing Developer Community"; communityMap["1020"]="Cloud Computing Enterprise Community"; communityMap["1030"]="Cloud Computing Private Image Community"; communityMap["1720"]="test"; communityMap["1740"]="test community"; communityMap["1580"]="Community for services"; ...

But our same library if export and deploy to another RAM server which has same RAM version, 7202, it has no this issue.
Also, if I change this RAM server library to other version, this issue still exist.
The error log is:
[11/22/12 5:48:57:140 GMT] 00000042 SystemOut     O [11/22/12 05:48:57 GMT] CRRAM0002W  410548  WARN   ws com.ibm.ram.common.util.ValidationManager -
java.lang.NullPointerException
    at com.ibm.ram.io.util.SynchronizedInputStream.read(SynchronizedInputStream.java:69)
    at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
    at com.ibm.ram.internal.common.util.XMLUtility.evaluateXPathExpression(XMLUtility.java:111)
    at com.ibm.ram.common.util.ValidationManager.bindXMLArtifactContent(ValidationManager.java:736)
    at com.ibm.ram.common.util.ValidationManager.validateArtifactConstraints(ValidationManager.java:984)
    at com.ibm.ram.common.util.ValidationManager.validate(ValidationManager.java:209)
    at com.ibm.ram.common.util.ValidationManager.validate(ValidationManager.java:193)
    at com.ibm.ram.repository.web.RAMAssetAccess.submitAsset(RAMAssetAccess.java:591)
    at com.ibm.ram.repository.web.RAMAssetAccess.upload(RAMAssetAccess.java:250)
    at com.ibm._jsp._RAMAssetAccess._jspService(_RAMAssetAccess.java:68)
    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1219)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
    at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)
    at com.ibm.ram.repository.web.ws.RAMSecure.doPost(RAMSecure.java:48)
    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:1219)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    at com.ibm.ram.repository.web.RAMWSServletFilter.doFilter(RAMWSServletFilter.java:411)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:186)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:457)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:300)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:271)
    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$1.run(AsyncChannelFuture.java:205)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1560)

0 votes

Comments

Not enough information here .... are both servers on the same TestFix level? 

You will need to go through service/support on this one.

Gili,
Thank you, we have found the root cause, it is due to our tester make the security testing by add a community using the name
'testing <script>alert(78)</script>'
After we removed this community, it is no problem.


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 22 '12, 2:09 a.m.

Question was seen: 4,243 times

Last updated: Nov 27 '12, 8:29 p.m.

Confirmation Cancel Confirm