Bug 149648 [Markers] Error accessing marker type. Marker id 2135563 not found.
I20060704-0800 Found these in my log: !ENTRY org.eclipse.ui.ide 4 4 2006-07-05 11:10:12.908 !MESSAGE Error accessing marker type !ENTRY org.eclipse.core.resources 4 376 2006-07-05 11:10:12.908 !MESSAGE Marker id 2135563 not found. !ENTRY org.eclipse.ui.ide 4 4 2006-07-05 11:10:12.908 !MESSAGE Error accessing marker type !ENTRY org.eclipse.core.resources 4 376 2006-07-05 11:10:12.908 !MESSAGE Marker id 2135563 not found. !ENTRY org.eclipse.ui.ide 4 4 2006-07-05 11:10:12.908 !MESSAGE Error accessing marker type !ENTRY org.eclipse.core.resources 4 376 2006-07-05 11:10:12.923 !MESSAGE Marker id 2135563 not found. Sadly, there's no stacktrace. Could be from org.eclipse.ui.wizards.datatransfer.ImportOperation.setResourceAttributes(..), which swallows the trace: } catch (CoreException e) { //Inform the log that the attributes reading failed IDEWorkbenchPlugin.getDefault().getLog().log(e.getStatus()); }
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/datatransfer/ImportOperation.java
IPath pathname = new Path(provider.getFullPath(fileSystemObject));
        if (createContainerStructure) {
			return createContainersFor(pathname.removeLastSegments(1));
		}
        if (source == fileSystemObject) {
			return null;
		}
        IPath sourcePath = new Path(provider.getFullPath(source));
        IPath destContainerPath = pathname.removeLastSegments(1);
        IPath relativePath = destContainerPath.removeFirstSegments(
                sourcePath.segmentCount()).setDevice(null);
        return createContainersFor(relativePath);
        
    }
    /**
     * Returns the resource either casted to or adapted to an IFile. 
     * 
     * @param resource resource to cast/adapt
     * @return the resource either casted to or adapted to an IFile.
     * 	<code>null</code> if the resource does not adapt to IFile 
     */
    IFile getFile(IResource resource) {
        if (resource instanceof IFile) {
            return (IFile) resource;
        }
        Object adapted = ((IAdaptable) resource).getAdapter(IFile.class);
        if(adapted == null) {
			return null;
		}
        return (IFile) adapted;