String fullPath = SessionHandleAdapter.getInstance( ) .getSessionHandle( ) .getFileLocator( ) .findFile( SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ), path ); if ( fullPath == null )
String path = URIUtil.getLocalPath( uri ); if ( path != null )
	private URL generateURL( String uri ) throws MalformedURLException	{		String path = URIUtil.getLocalPath( uri );		if ( path != null )		{			String fullPath = SessionHandleAdapter.getInstance( )					.getSessionHandle( )					.getFileLocator( )					.findFile( SessionHandleAdapter.getInstance( )							.getReportDesignHandle( ),							path );			if ( fullPath == null )			{				return null;			}			File file = new File( fullPath );			if ( file.exists( ) )			{				return file.toURL( );			}			return null;		}		return URI.create( uri ).toURL( );	}