Buggy code:
private String title = null ; private Paint backgroundPaint = null ; private double zoom = 0 ; private double size = 0 ; private double width = 0 ; private double height = 0 ; private List < Annotation > currAnnotationList ; private List < Annotation > annotationList ; private HashMap < Integer , Color > annotationFillColorMap ; private HashMap < Integer , Color > annotationBorderColorMap ; private HashMap < Integer , Color > annotationTextColorMap ; private HashMap < Integer , Double > annotationZoomMap ; private HashMap < Integer , Double > annotationFontSizeMap ; private HashMap < Integer , Double > annotationBorderWidthMap ; private HashMap < Integer , String > annotationTextMap ; private double xalign ; private double yalign ; private CyServiceRegistrar bundleContext ; private CyApplicationManager appManager ; private AnnotationManager annotationManager ; private CyNetworkView networkView = null ; private CyNetwork currentNetwork = null ; private CyTable nodeTable = null ; private CyTable edgeTable = null ; private BufferedImage networkImage = null ; private Map < Long , View < CyNode > > nodeMap = null ; private Map < Long , View < CyEdge > > edgeMap = null ; private VisualStyle vizStyle = null ; private List < CyNode > nodeList = null ; private List < CyEdge > edgeList = null ; private List < Long > nodeIdList = null ; private List < Long > edgeIdList = null ; private List < Long > annotationIdList = null ; private int intercount = 0 ; private Point3D centerPoint = null ; private SynchronousTaskManager < ? > taskManager ; private static final int IMAGE_WIDTH = 200 ; private static final int IMAGE_HEIGHT = 150 ; public CyFrame ( CyServiceRegistrar bc ) { } public void populate ( ) { } public void captureImage ( ) throws IOException { } public void display ( ) { } public void clearDisplay ( ) { } public String getID ( ) { } public void setID ( String ID ) { } public CyNetwork getCurrentNetwork ( ) { } public int getInterCount ( ) { } public void setInterCount ( int intercount ) { } public String getTitle ( ) { } public void setTitle ( String title ) { } public double getZoom ( ) { } public void setZoom ( double zoom ) { } public Paint getBackgroundPaint ( ) { } public void setBackgroundPaint ( Paint bg ) { } public Double getNetworkSize ( ) { } public void setNetworkSize ( Double size ) { } public Double getNetworkWidth ( ) { } public void setNetworkWidth ( Double width ) { } public Double getNetworkHeight ( ) { } public void setNetworkHeight ( Double height ) { } public double getAnnotationZoom ( int hashcode ) { } public void setAnnotationZoom ( int hashcode , double zoom ) { } public Color getAnnotationFillColor ( int hashcode ) { } public void setAnnotationFillColor ( int hashcode , Color color ) { } public Color getAnnotationBorderColor ( int hashcode ) { } public void setAnnotationBorderColor ( int hashcode , Color color ) { } public Color getAnnotationTextColor ( int hashcode ) { } public void setAnnotationTextColor ( int hashcode , Color color ) { } public double getAnnotationFontSize ( int hashcode ) { } public void setAnnotationFontSize ( int hashcode , double size ) { } public double getAnnotationBorderWidth ( int hashcode ) { } public void setAnnotationBorderWidth ( int hashcode , double size ) { } public String getAnnotationText ( int hashcode ) { if ( annotationTextMap . containsKey ( hashcode ) ) return annotationTextMap . get ( hashcode ) ; <START_BUG> return null ; <END_BUG> } public void setAnnotationText ( int hashcode , String text ) { } public NodeShape getNodeShape ( long nodeID ) { } public void setNodeShape ( long nodeID , NodeShape shape ) { } public double [ ] getNodePosition ( long nodeID ) { } public void setNodePosition ( long nodeID , double [ ] pos ) { } public Color getNodeColor ( long nodeID ) { } public Color getNodeFillColor ( long nodeID ) { } public void setNodeColor ( long nodeID , Color color ) { } public void setNodeFillColor ( long nodeID , Color color ) { } public Color getEdgeColor ( long edgeID ) { } public Color getEdgeStrokeColor ( long edgeID ) { } public void setEdgeColor ( long edgeID , Color color ) { } public void setEdgeStrokeColor ( long edgeID , Color color ) { } public Integer getEdgeOpacity ( long edgeID ) { } public Integer getEdgeStrokeOpacity ( long edgeID ) { } public void setEdgeOpacity ( long edgeID , Integer opacity ) { } public void setEdgeStrokeOpacity ( long edgeID , Integer opacity ) { } public Integer getNodeOpacity ( long nodeID ) { } public Integer getNodeFillOpacity ( long nodeID ) { } public void setNodeOpacity ( long nodeID , Integer opacity ) { } public void setNodeFillOpacity ( long nodeID , Integer opacity ) { } public double [ ] getNodeSize ( long nodeID ) { } public void setNodeSize ( long nodeID , double [ ] size ) { } public double getNodeBorderWidth ( long nodeID ) { } public void setNodeBorderWidth ( long nodeID , double width ) { } public Color getNodeBorderColor ( long nodeID ) { } public void setNodeBorderColor ( long nodeID , Color color ) { } public Integer getNodeBorderTrans ( long nodeID ) { } public void setNodeBorderTrans ( long nodeID , Integer trans ) { } public Integer getNodeLabelFontSize ( long nodeID ) { } public void setNodeLabelFontSize ( long nodeID , Integer size ) { } public Font getNodeLabelFont ( long nodeID ) { } public void setNodeLabelFont ( long nodeID , Font font ) { } public Double getNodeLabelWidth ( long nodeID ) { } public void setNodeLabelWidth ( long nodeID , Double width ) { } public Integer getNodeLabelTrans ( long nodeID ) { }

Fix:
return "" ;