Integrating JRSwapFileVirtualizer throws a 'Could not resolved style(s):' Exception
posted 6 years ago
I'm trying to better manage memory by integrating JRSwapFileVirtualizer with existing JasperReport code. However, I keep getting the "Could not resolved style(s): null" RuntimeException. Can someone help please? This is the code I use:
I can see exactly where the exception is thrown and why, but I don't know how to fix it. I need the JRFillStaticText etc. objects found in delayedStyleSettersByName Map object in checkUnresolvedReferences() to build the JasperReport layout, or at least I needed that before I tried to integrate the JRSwapFileVirtualizer in my code.
Do you have any suggestions please on how I can make it work without compromising the layout of the current Jasper reports?