2004 IR Help Posted August 20, 2006 Share Posted August 20, 2006 By: xpert - jcox00 UTFDataFormatException 2005-03-24 12:26 Has anybody else seen this when running reports on a platform other than the one that they were originally compiled? java.io.UTFDataFormatException at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(ObjectInputStream.java:2963) at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:2888) at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2701) at java.io.ObjectInputStream.readUTF(ObjectInputStream.java:999) at java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:539) at java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:762) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1503) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:129) at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:314) at com.XpertImage.XpertBilling.Reports.ReportFiller.fillReport(ReportFiller.java:321) at com.XpertImage.XpertBilling.Reports.ReportFiller.run(ReportFiller.java:342) at java.lang.Thread.run(Thread.java:534) Link to comment Share on other sites More sharing options...
benjamintorr Posted July 1, 2010 Share Posted July 1, 2010 Thats my exact problem, has anyone a solution for this?? I don't understand whats wrong!! Do I really have to recompile the all jasper files?? Post Edited by benjamintorr at 07/01/2010 18:29 Link to comment Share on other sites More sharing options...
lucianc Posted July 2, 2010 Share Posted July 2, 2010 Can you upload a .jasper file that fails to load?Regards,Lucian Link to comment Share on other sites More sharing options...
benjamintorr Posted July 2, 2010 Share Posted July 2, 2010 That file was created on a Mac and now I am testing the application on a windos werver, I have the jrxml of some reports but I wouldn't want to create the templates for all the reports that don't (have only the jaspers not the jrxml) .When I compile them on windows they work, but as I said some reports I have only the .jasper files. Thanks in advance. Benjamin Link to comment Share on other sites More sharing options...
lucianc Posted July 5, 2010 Share Posted July 5, 2010 The first thing to check is whether the file somehow got corrupt, that's the most likely explanation of the error. That can happen when trasferring file over the network, saving them in a DB, etc.Do you still have the originally created file? If so, take a MD5 (or similar) sum for both the files and see if they match.Regards,Lucian 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