Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:39
Mike Boyersmith is currently offline Mike BoyersmithFriend
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?
Previous Topic:Dynamic "italics"?
Next Topic:Rendering quality
Goto Forum:
  


Current Time: Wed Feb 05 14:08:27 GMT 2025

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

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

Back to the top