mirjua Posted November 21, 2008 Share Posted November 21, 2008 When I try to modify several reports with iReports-nb-3.1.1 after saving the changes it's become unusable!When I try to use it, I receive the following message:com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 4-byte UTF-8 sequence.net.sf.jasperreports.engine.JRException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 4-byte UTF-8 sequence.andnet.sf.jasperreports.engine.JRException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 4-byte UTF-8 sequence. and if I try to open it again in iReport, this gave me a BIG error and says "Invalid Report" Whats happenig?This happens with any change! and with any report! Link to comment Share on other sites More sharing options...
Gaby38 Posted November 22, 2008 Share Posted November 22, 2008 Hello,I also got this trouble. If you do a search on this forum you will find some posts about that.Just to say that one people gave a work-around : load the plugin-module : "XML and schema" from the "Plugin" menu and this will upgrade iReport in the good way. I did it and it was OK for me. You can also see on this forum (previous pos) that I have encountered the same kind of error when migrating from 3.1.1 to 3.1.2 and the work-around doesn't work !! Link to comment Share on other sites More sharing options...
mirjua Posted November 25, 2008 Author Share Posted November 25, 2008 I've read a post with a solution, but with another problem!There were another folks whom had the same problem, and someone fixed it installing the "XML and Schema" plugin...But, how can I install such plugin in a machine that's not connected to internet?I tested it in another machine (wich is connected, and it worked fine, but, how can I do it in the other machine? Link to comment Share on other sites More sharing options...
Gaby38 Posted November 26, 2008 Share Posted November 26, 2008 In fact, the modules you download from internet are somewhere (I don't exactly remember where but I saw them) on your machine connected to internet. Perhaps you can copy them on the other and have to "activate" them through the same menu "Plugin" ( list of loaded modules) but without needing to be connected. Link to comment Share on other sites More sharing options...
mirjua Posted November 26, 2008 Author Share Posted November 26, 2008 Thanks! I discovered that the message where I found the solution was yours! (thanks again) I already can't use this forum correctly! I'll search it too Link to comment Share on other sites More sharing options...
vetal Posted December 15, 2008 Share Posted December 15, 2008 iReport: 3.1.2 The same problem was solved adding parameter -Dfile.encoding=UTF-8 to the VM. To add parameter edit etc/ireport.conf, modify 'default_options' parameter it should look like this: default_options="-J-Dfile.encoding=UTF-8 -J-Xms24m -J-Xmx64m" 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