Community
Participate
Working Groups
Build Identifier: M20100909-0800 After installing the BIRT Framework into Eclispe 3.6.1 running on Linux and trying to import a preference file the following error is displayed to the console [Fatal Error] :-1:-1: Premature end of file Also, it appears that not all preferences from the file are imported. No information is printed to the .log Reproducible: Always Steps to Reproduce: 1. Install Eclipse 3.6.1 on Linux 2. Export preference file 3. Import the preference file with no errors 4. Make some changes to java preferences - change compiler compliance - unchecked all Classfile Generation options 5. Install BIRT Framework 2.6.1.v20100709a 6. Import the preference file 7. Note the error message and not all preferences have been imported
I don't think this bug related to BIRT component. Could you reproduce this issue if you skip the step 5(install birt features)? BTW, could you attach the epf file before modification and after modification?
Created attachment 184671 [details] Default Java compiler setting for Eclipse 3.6.1
Hello, Here are more detailed steps that I followed to reproduce the problem 1) Start Eclipse 3.6.1 with no BIRT Framework installed 2) Export default preferences (see attached javadefaults.epf file) 3) Make changes to Java compiler preferences and save - Change compliance level from 1.5 to 1.3 - Uncheck all options under Classfile Generation 4) Import preference file. All preferences are returned to default values and no error printed to the console 5) Install BIRT Framework using Help > Install New Software from Helios - http://download.eclipse.org/releases/helios Select Business Intelligence, Reporting and Charting Select BIRT Framework 2.6.1.v20100709a Restart Eclipse after BIRT is installed 6) Make same changes to Java compiler preferences as in step 3 above. 7) Import the preference file. In this case all preferences are returned to default values BUT there is "[Fatal Error] :-1:-1: Premature end of file." in the console. As you can see the problem is not reproducible if BIRT Framework is not installed. As you requested I have attached a copy of the preferences file. If I uninstall BIRT Framework and perform steps 3 - 4 I get the same initial results. Preferences are returned to default values and no error is printed to the console.
I can not reproduce this issue in my environment. The attached epf can be imported to the eclipse after I installed BIRT 2.6.1 from helios. And compile settings were set back to the default value in epf without erros.
Thank you for continuing to assist with this. Just so that I am clear, the error appears in the Linux console window used to launch eclipse. Please confirm for me that this is where you are looking for the error.
(In reply to comment #5) > Thank you for continuing to assist with this. > > Just so that I am clear, the error appears in the Linux console window used to > launch eclipse. Please confirm for me that this is where you are looking for > the error. I still can not reproduce this issue in the Linux(Ubuntu) with on 3.6.1 SDK. There was no error printed to the Linux console. And all selected preference can be restored. Do you have this issue if you use the sun jdk other than the ibm java2 1.5 ?
Set as worksforme as this issue can not be reproduced with 2.6.1/2.6.2.