It's all about the answers!

Ask a question

Why do I get ERROR ting.server.rrs.importer.commands.CsvExportCommand - Unexpected exception in RRC?


Guido Schneider (3.4k1486115) | asked Oct 20 '12, 12:50 p.m.
If I export records to a CSV file within RRC, not all records will be exported and I see a lot of error messages in rm.log.

I can edit a record which was not exported, change one character somewhere and save. In next export it can be exported.

What is corrupt with my records? Or is something wrong configured? How can I debug?

I'm using V.3.0.1.4 on Windows 2008-R2/64bit with WAS 8.0.0.4/64bit and DB2 9.7.5/64bit

Here the full error message:

2012-10-16 11:28:44,725 [              WebContainer : 5] ERROR ting.server.rrs.importer.commands.CsvExportCommand  - Unexpected exception
java.lang.NullPointerException
    at com.ibm.rdm.fronting.server.rrs.importer.commands.CsvExportCommand.iterateProperties(CsvExportCommand.java:533)
    at com.ibm.rdm.fronting.server.rrs.importer.commands.CsvExportCommand.doRequirementBody(CsvExportCommand.java:315)
    at com.ibm.rdm.fronting.server.rrs.importer.commands.CsvExportCommand$CsvViewQueryResultsWriter.render(CsvExportCommand.java:1022)
    at com.ibm.rdm.fronting.server.rrs.views.execution.results.ViewQueryResultsWriterExecutor$ViewQueryResultsWriter.countAndRender(ViewQueryResultsWriterExecutor.java:96)
    at com.ibm.rdm.fronting.server.rrs.views.execution.results.ViewQueryResultsWriterExecutor.renderRows(ViewQueryResultsWriterExecutor.java:51)
    at com.ibm.rdm.fronting.server.rrs.views.execution.results.ViewQueryResultsWriterExecutor.execute(ViewQueryResultsWriterExecutor.java:43)
    at com.ibm.rdm.fronting.server.rrs.importer.commands.CsvExportCommand$AutoPagingGridViewExecutor.execute(CsvExportCommand.java:897)
    at com.ibm.rdm.fronting.server.rrs.importer.commands.CsvExportCommand.executeView(CsvExportCommand.java:217)
    at com.ibm.rdm.fronting.server.rrs.importer.commands.CsvExportCommand.execute(CsvExportCommand.java:169)
    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.rrs.importer.commands.ExportExecutorCommand.execute(ExportExecutorCommand.java:102)
    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.rrs.importer.internal.ExportServiceInternal.doPostInternal(ExportServiceInternal.java:119)
    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.rdm.fronting.server.core.servlet.RestServiceStreamingServlet.dispatchRequest(RestServiceStreamingServlet.java:87)
    at com.ibm.rdm.fronting.server.core.servlet.RestServiceStreamingServlet.service(RestServiceStreamingServlet.java:144)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
    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:67)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    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:831)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3935)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
    at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
    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:138)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)


2 answers



permanent link
Benjamin Silverman (4.1k610) | answered Oct 21 '12, 11:38 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Guido,

The problem you are reporting sounds a lot like Primary text cannot be printed if it is modified or created on the grid (65623).  Is it possible that the artifact was last modified through the grid?

Comments
Erwin Kunz commented Oct 22 '12, 2:15 a.m.

Hi Benjamin

We are doing the support of end user, so we're not able to say for sure what they did.

What is sure is that 90% of the artifact have been imported using CSV import.

Is there a way to check if that is really the issue?

Thanks
erwin


permanent link
Benjamin Silverman (4.1k610) | answered Oct 22 '12, 12:35 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I'd suggest testing the scenario described in the work item using CSV export (instead of export to Word/PDF as described) to confirm whether or not it is related to the same defect.

Comments
Erwin Kunz commented Oct 23 '12, 4:31 a.m.

Hi Benjamin

I ran some test, but without error. I can modify Primary Text of artifact in the grid view and still those are exported using CSV export.

erwin

Your answer


Register or 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.