Skip to content

Commit

Permalink
Minor fix for NPE in JGroups Auditor
Browse files Browse the repository at this point in the history
  • Loading branch information
timpokorny committed Jan 8, 2015
1 parent 942cf1e commit 8a6d8fe
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -292,6 +292,9 @@ else if( message instanceof DeleteObject )
// to get the class name we have to get the object, and from it get the class
int objectHandle = delete.getObjectHandle();
OCInstance object = getObject( objectHandle );
if( object == null )
return "Unknown";

String className = getClassName( object.getRegisteredClassHandle() );

// now get the object name
Expand Down

0 comments on commit 8a6d8fe

Please sign in to comment.