[#12411] - java.io.NotSerializableException: org.postgresql.jdbc4.Jdbc4Array

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Getting the following error when running a report in the jasper server hosted in AWS (Jaspersoft on Windows Server Powered by GlobalSolutions image)

The server has encountered an error. Please excuse the inconvenience.

Error Message
java.io.NotSerializableException: org.postgresql.jdbc4.Jdbc4Array

Error Trace
java.io.NotSerializableException: org.postgresql.jdbc4.Jdbc4Array at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at net.sf.jasperreports.engine.virtualization.VirtualizationOutput.writeJRObject(VirtualizationOutput.java:115) at net.sf.jasperreports.engine.virtualization.VirtualizationOutput.writeJRObject(VirtualizationOutput.java:98) at net.sf.jasperreports.engine.fill.JRTemplatePrintText.writeVirtualized(JRTemplatePrintText.java:981) at net.sf.jasperreports.engine.virtualization.SerializableSerializer.write(SerializableSerializer.java:102) at net.sf.jasperreports.engine.virtualization.SerializableSerializer.write(SerializableSerializer.java:35) at net.sf.jasperreports.engine.virtualization.VirtualizationOutput.writeJRObject(VirtualizationOutput.java:139) at net.sf.jasperreports.engine.base.VirtualElementsData.writeVirtualized(VirtualElementsData.java:129) at net.sf.jasperreports.engine.virtualization.SerializableSerializer.write(SerializableSerializer.java:102) at net.sf.jasperreports.engine.virtualization.SerializableSerializer.write(SerializableSerializer.java:35) at net.sf.jasperreports.engine.virtualization.VirtualizationOutput.writeJRObject(VirtualizationOutput.java:139) at net.sf.jasperreports.engine.virtualization.VirtualizationOutput.writeJRObject(VirtualizationOutput.java:98) at net.sf.jasperreports.engine.util.VirtualizationSerializer.writeData(VirtualizationSerializer.java:127) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer.writeData(JRAbstractLRUVirtualizer.java:621) at net.sf.jasperreports.engine.fill.JRFileVirtualizer.pageOut(JRFileVirtualizer.java:124) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer.virtualizeData(JRAbstractLRUVirtualizer.java:582) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer.evict(JRAbstractLRUVirtualizer.java:402) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer.registerObject(JRAbstractLRUVirtualizer.java:356) at net.sf.jasperreports.engine.base.ElementsBlock.register(VirtualizableElementList.java:249) at net.sf.jasperreports.engine.base.ElementsBlock.preAdd(VirtualizableElementList.java:298) at net.sf.jasperreports.engine.base.ElementsBlock.add(VirtualizableElementList.java:333) at net.sf.jasperreports.engine.base.ElementsBlock.add(VirtualizableElementList.java:349) at net.sf.jasperreports.engine.base.VirtualizableElementList.add(VirtualizableElementList.java:125) at net.sf.jasperreports.engine.base.JRVirtualPrintPage.addElement(JRVirtualPrintPage.java:136) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillBand(JRVerticalFiller.java:2116) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillBandNoOverflow(JRVerticalFiller.java:467) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVerticalFiller.java:421) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBreak(JRVerticalFiller.java:1941) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBreak(JRVerticalFiller.java:1968) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:754) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:308) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:155) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:932) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFiller.run(BaseFillHandle.java:120) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$SynchronousExecutor.execute(EngineServiceImpl.java:878) at net.sf.jasperreports.engine.fill.BaseFillHandle.startFill(BaseFillHandle.java:165) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$AsynchronousReportFiller.fillReport(EngineServiceImpl.java:834) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:1696) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runWithDataSource(EngineServiceImpl.java:1055) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runReport(EngineServiceImpl.java:989) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportRunnable.run(EngineServiceImpl.java:900) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

v5.2.0
asela.d's picture
Joined: Dec 12 2019 - 11:53pm
Last seen: 3 years 1 day ago
Feedback
randomness