Buggy code:
public abstract class PropPanel extends TabSpawnable implements MElementListener , TabModelTarget , UMLUserInterfaceContainer { private Object _target ; private MModelElement _modelElement ; private static Profile _profile ; private LinkedList _navListeners = new LinkedList ( ) ; private ResourceBundle _bundle = null ; private Vector _panels = new Vector ( ) ; private UMLNameEventListener _nameListener ; protected JPanel buttonPanel = new JPanel ( ) ; protected JPanel buttonPanelWithFlowLayout = new JPanel ( ) ; protected JPanel captionPanel = new JPanel ( ) ; protected static ImageIcon _navBackIcon = ResourceLoader . lookupIconResource ( "NavigateBack" ) ; protected static ImageIcon _navForwardIcon = ResourceLoader . lookupIconResource ( "NavigateForward" ) ; protected static ImageIcon _deleteIcon = ResourceLoader . lookupIconResource ( "RedDelete" ) ; protected static ImageIcon _navUpIcon = ResourceLoader . lookupIconResource ( "NavigateUp" ) ; protected Font smallFont = MetalLookAndFeel . getSubTextFont ( ) ; public PropPanel ( String title , int panelCount ) { } public PropPanel ( String title , ImageIcon icon , int panelCount ) { } public void addCaption ( Component component , int row , int panel , double weighty ) { } public void addCaption ( String label , int row , int panel , double weighty ) { } public final String localize ( String key ) { } public ResourceBundle getResourceBundle ( ) { } public void addField ( Component component , int row , int panel , double weighty ) { } public final void addLinkField ( Component component , int row , int panel , double weighty ) { } public Profile getProfile ( ) { if ( ( PropPanel . _profile ) == null ) { <START_BUG> PropPanel . _profile = new ProfileJava ( ) ; <END_BUG> } return PropPanel . _profile ; } protected void removeMElementListener ( MBase target ) { } public void addMElementListener ( MBase target ) { } private static Method _removePromisc = null ; private static Method _addPromisc = null ; private static boolean _loadPromisc = true ; private static final void loadPromiscMethods ( ) { } public static final void removePromiscuousListener ( MBase base , MElementListener listener ) { } public static boolean addPromiscuousListener ( MBase base , MElementListener listener ) { } public void setTarget ( Object t ) { } public final Object getTarget ( ) { } public final MModelElement getModelElement ( ) { } public void refresh ( ) { } public boolean shouldBeEnabled ( ) { } public void propertySet ( MElementEvent mee ) { } public void listRoleItemSet ( MElementEvent mee ) { } public void recovered ( MElementEvent mee ) { } public void removed ( MElementEvent mee ) { } public void roleAdded ( MElementEvent mee ) { } public void roleRemoved ( MElementEvent mee ) { } protected MNamespace getDisplayNamespace ( ) { } public String formatElement ( MModelElement element ) { } public String formatNamespace ( MNamespace ns ) { } public String formatCollection ( Iterator iter ) { } public void navigateTo ( Object element ) { } public void open ( Object element ) { } public boolean navigateBack ( boolean attempt ) { } public void navigateBackAction ( ) { } public boolean navigateForward ( boolean attempt ) { } public void navigateForwardAction ( ) { } public boolean isNavigateForwardEnabled ( ) { } public boolean isNavigateBackEnabled ( ) { } public void addNavigationListener ( NavigationListener navListener ) { } public void removeNavigationListener ( NavigationListener navListener ) { } public void setNameEventListening ( Class [ ] metaclasses ) { } public void removeElement ( ) { } public boolean isAcceptibleStereotype ( MModelElement element ) { } protected abstract boolean isAcceptibleBaseMetaClass ( String baseClass ) { } public void setStereotype ( MStereotype stereotype ) { } public MStereotype getStereotype ( ) { } }

Fix:
PropPanel . _profile = ProfileJava . getInstance ( ) ;