Community
Participate
Working Groups
Build Identifier: M20100211-1343 The resource path setup in BIRT designer is not working on preview mode. If has multiple reports in one report project in separated folders the preview can't load the rptdesign if it's containing different resource link then relative path. The following method call the ModuleUtil.checkVersion() method, but it is not has the reosurce folder setup. It's generate NullPointerException (load on RPTLibrary). org.eclipse.birt.report.designer.ui.editors.MultiPageReportEditor.addPages() If the check disabled by directly on code, the resource locator get the exactly value of preferences resource folder option, for example {$project_loc}. It is not resolving the variables, and cant load the rptdesign. It's generate NullPointerException too (load on RPTLibrary). I know if, the resource folder empty in preferences the resource explorer working fine, because it is handling it as current project folder but the editor not working with relative path of project folder. Please fix this bug. Reproducible: Always Steps to Reproduce: 1. Create a report project 2. Create two subdirectory in project 3. Create two rptdesign in each folder 4. Create two subfolder in each folder for resources (name: RESOURCES) 5. Set up the resource folder to {$project_loc}, or leave empty 6. Create two RPTLibrary in each RESOURCES folder 7. Assign the each RPTLibrary to the parent folder containing rptdesign 8. Check the resource assignment in rptdesign source (be to relative from report project), because that is the setup. 9. Open the rptdesign in designer 10., Look the exception
*** This bug has been marked as a duplicate of bug 306277 ***