bikku Posted August 29, 2006 Share Posted August 29, 2006 I using Jasper report ver 0.6 know i would likes to upgrade it to ver 1.2.5 i had configured totally as per the Requirment.html from jasper site setted all the jar to the classpath:gives me this error : java.lang.NullPointerException at java.util.Hashtable.put(Unknown Source) at net.sf.jasperreports.engine.fill.JRFillDataset.setParameterValues(JRFillDataset.java:574) at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:879) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:708) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:666) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:63) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402) while its works fine with ver 0.6 .Please any one can suggest me where iam going wrong Link to comment Share on other sites More sharing options...
Teodor Danciu Posted August 29, 2006 Share Posted August 29, 2006 Hi, Yes, this seems to be a problem.Until we fix it, you could try pass parameters in a HashMap instance, which accepts null values, instead of a Hashtable instance. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
bikku Posted August 30, 2006 Author Share Posted August 30, 2006 thanks teodord it works fine when i change to HashMap thanks lot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now