BIRT 2.0 IDEReportEditor.getFile() class cast exception [message #91722] |
Wed, 16 November 2005 20:39 |
Mike Boyersmith Messages: 143 Registered: July 2009 |
Senior Member |
|
|
Hello,
I have ran into a class cast problem using BIRT 2.0 Latest Source.
The Class cast exception occurs in the file IDEReportEditor.java method
private IFile getFile( IEditorInput input ){
return ( (ReportFileEditorInput) input ).getFile( );
}
However, IEditorInput input can be ReportEditorInput which is also an
IEditorInput (it is used to support reports found outside projects and
workspaces) which doesn't have a getFile() method on it. This causes a
deeply nested exception that causes the report desinger to not be able
to show a report that might be physically located outside a workspace.
I have filed a defect 116706 on this issue but thought I'd also raise
attention to the problem here as well.
Is there another way around this at the moment?
|
|
|
Powered by
FUDForum. Page generated in 0.03578 seconds