Skip to main content



      Home
Home » Archived » BIRT » BIRT 2.0 IDEReportEditor.getFile() class cast exception
BIRT 2.0 IDEReportEditor.getFile() class cast exception [message #91722] Wed, 16 November 2005 15:39
Eclipse UserFriend
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?
Previous Topic:Dynamic "italics"?
Next Topic:Rendering quality
Goto Forum:
  


Current Time: Mon Jun 02 18:11:13 EDT 2025

Powered by FUDForum. Page generated in 0.03310 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top