About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
When attributes have been deleted or modified substantially (that is, the underlying data type has been modified), these attributes cannot be used in snapshot filters where the attribute was deleted or modified after the snapshot was created. In such cases the server responds with an error. ** Problem resolved in Rational Requirements Composer, Version 3.0.1.1.
Symptom
A 500 Internal Server Error message is displayed in a snapshot when applying a filter that includes an attribute.
Cause
Although the user interface displays the attributes as they were when the snapshot was taken, the server filter mechanism attempts to use current attributes, which might fail if the attributes have been changed or deleted.
Diagnosing The Problem
On the web page, the error details have the following content :
ERROR com.ibm.rdm.fronting.server.rrs.views.ViewService - Server Error: Entry [b766e0af1b841c14]
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
at com.ibm.rdm.fronting.server.rrs.views.ViewExecutionRequest.executeView(ViewExecutionRequest.java:208)
at com.ibm.rdm.fronting.server.rrs.views.ViewExecutionRequest.executeView(ViewExecutionRequest.java:151)
at com.ibm.rdm.fronting.server.rrs.views.ViewExecutionRequest.executeInlineView(ViewExecutionRequest.java:120)
at com.ibm.rdm.fronting.server.rrs.views.ViewExecutionRequest.execute(ViewExecutionRequest.java:98)
at com.ibm.rdm.fronting.server.core.internal.request.RRSCommandBase.call(RRSCommandBase.java:139)
at com.ibm.rdm.fronting.server.core.internal.request.RRSCommandBase.call(RRSCommandBase.java:1)
at com.ibm.rdm.fronting.server.core.request.async.internal.CommandRunnerService.runCommand(CommandRunnerService.java:84)
at com.ibm.rdm.fronting.server.core.internal.request.RRSCommandComposite.execute(RRSCommandComposite.java:38)
at com.ibm.rdm.fronting.server.core.internal.request.RRSCommandBase.call(RRSCommandBase.java:139)
at com.ibm.rdm.fronting.server.core.internal.request.RRSCommandBase.call(RRSCommandBase.java:1)
at com.ibm.rdm.fronting.server.core.request.async.internal.CommandRunnerService.runCommand(CommandRunnerService.java:84)
at com.ibm.rdm.fronting.server.core.internal.InternalDomainServiceBase.runCompositeCommandSynchronously(InternalDomainServiceBase.java:599)
at com.ibm.rdm.fronting.server.rrs.views.ViewServiceInternal.doPostInternal(ViewServiceInternal.java:83)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.runInternalMethod(RRSRestServiceBase.java:342)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.handleMethod(RRSRestServiceBase.java:275)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.doPost(RRSRestServiceBase.java:96)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.service(RRSRestServiceBase.java:149)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:152)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:295)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:811)
Caused by:
java.lang.RuntimeException: java.lang.NullPointerException
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.TypeModel.getAttributeDefinition(TypeModel.java:220)
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.SparqlRqlVisitor.visitFieldPart(SparqlRqlVisitor.java:579)
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.SparqlRqlVisitor.visitFieldValue(SparqlRqlVisitor.java:557)
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.SparqlRqlVisitor.visitFieldValue(SparqlRqlVisitor.java:1)
at com.ibm.rdm.rql.expr.value.FieldValue.accept(FieldValue.java:283)
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.SparqlRqlVisitor.generateWhereObjectFragments(SparqlRqlVisitor.java:415)
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.SparqlRqlVisitor.visitWhereObject(SparqlRqlVisitor.java:265)
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.SparqlRqlVisitor.visitWhere(SparqlRqlVisitor.java:235)
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.SparqlRqlVisitor.visitWhere(SparqlRqlVisitor.java:1)
at com.ibm.rdm.rql.expr.WhereExpr.accept(WhereExpr.java:31)
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.SparqlRqlVisitor.visitRqlQuery(SparqlRqlVisitor.java:133)
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.SparqlRqlVisitor.visitRqlQuery(SparqlRqlVisitor.java:1)
at com.ibm.rdm.rql.expr.RqlQuery.accept(RqlQuery.java:118)
at com.ibm.rdm.fronting.server.rrs.views.execution.ViewExecutor.queryToSparql(ViewExecutor.java:121)
at com.ibm.rdm.fronting.server.rrs.views.execution.ViewExecutor.queryToSparql(ViewExecutor.java:107)
at com.ibm.rdm.fronting.server.rrs.views.execution.grid.ArtifactGridViewExecutor.generateSparql(ArtifactGridViewExecutor.java:63)
at com.ibm.rdm.fronting.server.rrs.views.execution.grid.ArtifactGridViewExecutor.executeGridViewRequest(ArtifactGridViewExecutor.java:37)
at com.ibm.rdm.fronting.server.rrs.views.execution.grid.GridViewExecutor.execute(GridViewExecutor.java:69)
at com.ibm.rdm.fronting.server.rrs.views.ViewExecutionRequest.executeView(ViewExecutionRequest.java:182)
... 42 more
Caused by:
java.lang.NullPointerException
at com.ibm.rdm.fronting.server.services.types.internal.ProjectTypeSystem.getWellKnownAttributeDefinition(ProjectTypeSystem.java:770)
at com.ibm.rdm.fronting.server.rrs.views.execution.sparql.TypeModel.getAttributeDefinition(TypeModel.java:169)
... 60 more
Resolving The Problem
Identify the attribute that is causing the error, and remove the attribute from the filter. Identifying and removing the problem attribute is a trial-and-error process.
[{"Product":{"code":"SSWMEQ","label":"Rational Requirements Composer"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"3.0.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Was this topic helpful?
Document Information
More support for:
Rational Requirements Composer
Software version:
3.0.1
Operating system(s):
Windows, Linux
Document number:
161611
Modified date:
16 June 2018
UID
swg21502302