Forum Post: RE: Progress Developer Studio: open file not in workspace

  • Thread starter Thread starter Lars Neumeier
  • Start date Start date
Status
Not open for further replies.
L

Lars Neumeier

Guest
That's the beauty of java error messages, they give you the exact error location. Line 357: IFile file = (IFile) input.getAdapter(File.class); That line results in a ClassCastException because the getAdapter Method is returning java.io.File und the programmer thought File.class returns an object of org.eclipse.core.internal.resources.File which indeed implements IFile.

Continue reading...
 
Status
Not open for further replies.
Back
Top