FindBugs Results

The following document contains the results of FindBugs - http://findbugs.sourceforge.net/. This isn't formatted like a pretty CheckStyle / JDepend sheet as the FindBugs XML output is very terse and does not describe what each error type is. We have no desire to hardcode messages against FindBugs, so we'll wait until FindBugs XML output can be modified to produce easy to use messages.

L DE: org.dbe.studio.editors.odm.KBIconnect.Base64.decode(String) might ignore java.lang.Exception  At Base64.java:[line 671]
L DE: org.dbe.studio.editors.odm.KBIconnect.Base64.encodeBytes(byte[],int,int,int) might ignore java.lang.Exception  At Base64.java:[line 423]
L DE: org.dbe.studio.editors.odm.KBIconnect.Base64.encodeObject(java.io.Serializable,int) might ignore java.lang.Exception  At Base64.java:[line 302]
H NP: Null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.decodeFromFile(String)  At Base64.java:[line 832]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.decode(String) on exception path  At Base64.java:[line 670]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.decode(String) on exception path  At Base64.java:[line 673]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.decode(String) on exception path  At Base64.java:[line 676]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.decodeFromFile(String) on exception path  At Base64.java:[line 832]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.decodeToFile(String,String) on exception path  At Base64.java:[line 778]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.decodeToObject(String) on exception path  At Base64.java:[line 716]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.decodeToObject(String) on exception path  At Base64.java:[line 719]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.encodeBytes(byte[],int,int,int) on exception path  At Base64.java:[line 422]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.encodeBytes(byte[],int,int,int) on exception path  At Base64.java:[line 425]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.encodeBytes(byte[],int,int,int) on exception path  At Base64.java:[line 428]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.encodeFromFile(String) on exception path  At Base64.java:[line 877]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.encodeObject(java.io.Serializable,int) on exception path  At Base64.java:[line 301]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.encodeObject(java.io.Serializable,int) on exception path  At Base64.java:[line 304]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.encodeObject(java.io.Serializable,int) on exception path  At Base64.java:[line 307]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.encodeObject(java.io.Serializable,int) on exception path  At Base64.java:[line 310]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Base64.encodeToFile(byte[],String) on exception path  At Base64.java:[line 749]
L PZLA: Should org.dbe.studio.editors.odm.KBIconnect.Base64.decode(byte[],int,int) return a zero length array rather than null?  At Base64.java:[line 612]
M DE: org.dbe.studio.editors.odm.KBIconnect.SaveProcedure.SaveAtKB() might ignore java.lang.Exception  At SaveProcedure.java:[line 2052]
L NP: Possible null pointer dereference in org.dbe.studio.editors.odm.KBIconnect.Test.connect() on exception path  At Test.java:[line 31]
L OS: org.dbe.studio.editors.odm.KBIconnect.xmlConverter.decode(String,String) may fail to close stream on exception  At xmlConverter.java:[line 32]
L OS: org.dbe.studio.editors.odm.KBIconnect.xmlConverter.encode(String,String,String) may fail to close stream on exception  At xmlConverter.java:[line 15]
M MS: org.dbe.studio.editors.odm.annotations.BentCornerFigure.DEFAULT_CORNER_SIZE isn't final but should be
M MS: org.dbe.studio.editors.odm.dataTypeProperty.ColumnTypes.DATATYPES is a mutable array
M SIC: Should org.dbe.studio.editors.odm.dataTypeProperty.ColumnsFigure$ColumnFigureBorder be a _static_ inner class?
M UrF: Unread field: org.dbe.studio.editors.odm.dataTypeProperty.DataTypePropertyDirectEditPolicy.oldValue
M UrF: Unread field: org.dbe.studio.editors.odm.diagram.ClusterEdgeCreator.edgesAdded
M UrF: Unread field: org.dbe.studio.editors.odm.diagram.ClusterEdgeCreator.graph
M SIC: Should org.dbe.studio.editors.odm.diagram.ClusterEdgeCreator$Cluster be a _static_ inner class?
M UuF: Unused field: org.dbe.studio.editors.odm.diagram.DelegatingLayoutManager.figureToBoundsMap
M UuF: Unused field: org.dbe.studio.editors.odm.diagram.DelegatingLayoutManager.partsToNodeMap
M Dm: org.dbe.studio.editors.odm.diagram.Diagram.setLayoutManualDesired(boolean) invokes dubious Boolean constructor; use Boolean.valueOf(...) instead  At Diagram.java:[line 151]
L Se: Class org.dbe.studio.editors.odm.diagram.Diagram defines non-transient non-serializable instance field java.util.Map.tablesMap  At unknown source line
M UrF: Unread field: org.dbe.studio.editors.odm.diagram.Diagram.ontologyPropertyList
M UrF: Unread field: org.dbe.studio.editors.odm.diagram.DummyEdgeCreator.cleanNextTime
M UrF: Unread field: org.dbe.studio.editors.odm.diagram.DummyEdgeCreator.graph
L SIC: Should org.dbe.studio.editors.odm.diagram.DummyEdgeCreator$1 be a _static_ inner class?
M UuF: Unused field: org.dbe.studio.editors.odm.diagram.GraphLayoutManager.figureToBoundsMap
M UuF: Unused field: org.dbe.studio.editors.odm.diagram.GraphLayoutManager.partsToNodeMap
M UrF: Unread field: org.dbe.studio.editors.odm.diagram.TableAddCommand.index
M UuF: Unused field: org.dbe.studio.editors.odm.editor.GraphicalViewerCreator.actionRegistry
M UuF: Unused field: org.dbe.studio.editors.odm.editor.GraphicalViewerCreator.sharedKeyHandler
M MS: org.dbe.studio.editors.odm.editor.Images.Annotation isn't final but should be
M MS: org.dbe.studio.editors.odm.editor.Images.ClassThing isn't final but should be
M MS: org.dbe.studio.editors.odm.editor.Images.DatatypeProperty isn't final but should be
M MS: org.dbe.studio.editors.odm.editor.Images.Enumeration isn't final but should be
M MS: org.dbe.studio.editors.odm.editor.Images.Literal isn't final but should be
M MS: org.dbe.studio.editors.odm.editor.Images.ODMClass isn't final but should be
M MS: org.dbe.studio.editors.odm.editor.Images.ObjectProperty isn't final but should be
M MS: org.dbe.studio.editors.odm.editor.Images.ObjectPropertyThing isn't final but should be
M MS: org.dbe.studio.editors.odm.editor.Images.SEARCH_BUTTON isn't final but should be
M UrF: Unread field: org.dbe.studio.editors.odm.enumeration.LiteralDirectEditPolicy.oldValue
M UrF: Unread field: org.dbe.studio.editors.odm.enumeration.ResetNameForLiteralCommand.columnPart
M NP: Possible null pointer dereference in org.dbe.studio.editors.odm.factory.OntologyEditPartFactory.createEditPart(org.eclipse.gef.EditPart,Object)  At OntologyEditPartFactory.java:[line 57]
M UrF: Unread field: org.dbe.studio.editors.odm.outlineView.FilterElements.classThing
M UrF: Unread field: org.dbe.studio.editors.odm.outlineView.FilterElements.objectPropertyThingContainer
M MS: org.dbe.studio.editors.odm.outlineView.OutlineView.ontology isn't final and can't be
M MS: org.dbe.studio.editors.odm.outlineView.OutlineView.text isn't final and can't be
M MS: org.dbe.studio.editors.odm.outlineView.OutlineView.treeViewer isn't final and can't be
M UrF: Unread field: org.dbe.studio.editors.odm.outlineView.OutlineView.blnLocalMenuItemsAdded
L SIC: Should org.dbe.studio.editors.odm.outlineView.OutlineView$1 be a _static_ inner class?
L SIC: Should org.dbe.studio.editors.odm.outlineView.OutlineView$14 be a _static_ inner class?
L SIC: Should org.dbe.studio.editors.odm.outlineView.OutlineView$15 be a _static_ inner class?
L SIC: Should org.dbe.studio.editors.odm.outlineView.OutlineView$6 be a _static_ inner class?
M EI: org.dbe.studio.editors.odm.outlineView.OutlineViewContentProvider.getChildren(Object) may expose internal representation by returning org.dbe.studio.editors.odm.outlineView.OutlineViewContentProvider.EMPTY_ARRAY  At OutlineViewContentProvider.java:[line 49]
M EI: org.dbe.studio.editors.odm.outlineView.OutlineViewContentProvider.getChildren(Object) may expose internal representation by returning org.dbe.studio.editors.odm.outlineView.OutlineViewContentProvider.EMPTY_ARRAY  At OutlineViewContentProvider.java:[line 53]
M EI: org.dbe.studio.editors.odm.outlineView.OutlineViewContentProvider.getChildren(Object) may expose internal representation by returning org.dbe.studio.editors.odm.outlineView.OutlineViewContentProvider.EMPTY_ARRAY  At OutlineViewContentProvider.java:[line 90]
L Se: Class org.dbe.studio.editors.odm.outlineView.input.Ontology defines non-transient non-serializable instance field java.util.Map.annotations  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.Ontology defines non-transient non-serializable instance field java.util.Map.diagrams  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.Ontology defines non-transient non-serializable instance field java.util.Map.ontologyProperties  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.Ontology defines non-transient non-serializable instance field java.util.Map.tables  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.Ontology$OntologyProperty defines non-transient non-serializable instance field java.util.Map.rangeOntologies  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.annotations  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.classDiagrams  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.dataTypeProperties  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.disjointClasses  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.equivalentClasses  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.inheritedDataTypeProperties  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.inheritedObjectProperties  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.intersectionOfClasses  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.objectProperties  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.restrictions  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.subClasses  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.superClasses  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeClass defines non-transient non-serializable instance field java.util.Map.unionOfClasses  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeDataTypeProperty defines non-transient non-serializable instance field java.util.Map.annotations  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeDataTypeProperty defines non-transient non-serializable instance field java.util.Map.domainClasses  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeDataTypeProperty defines non-transient non-serializable instance field java.util.Map.equivalentDataTypeProperties  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeDataTypeProperty defines non-transient non-serializable instance field java.util.Map.subPropertyOfClasses  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeEnumeration defines non-transient non-serializable instance field java.util.Map.plainLiterals  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeObjectProperty defines non-transient non-serializable instance field java.util.Map.domainClasses  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeObjectProperty defines non-transient non-serializable instance field java.util.Map.equivalentObjectProperties  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeObjectProperty defines non-transient non-serializable instance field java.util.Map.rangeClasses  At unknown source line
L Se: Class org.dbe.studio.editors.odm.outlineView.input.TreeObjectProperty defines non-transient non-serializable instance field java.util.Map.subPropertyOfClasses  At unknown source line
M UrF: Unread field: org.dbe.studio.editors.odm.perspective.ExitApplication.window
M UrF: Unread field: org.dbe.studio.editors.odm.perspective.NewModelAction.window
M UrF: Unread field: org.dbe.studio.editors.odm.perspective.OpenEditor.window
M UrF: Unread field: org.dbe.studio.editors.odm.perspective.SaveAllDiagramsAction.window
M UrF: Unread field: org.dbe.studio.editors.odm.perspective.SaveDiagramAction.window
M UrF: Unread field: org.dbe.studio.editors.odm.perspective.SaveOntologyToKBIAction.window
M EI: org.dbe.studio.editors.odm.perspective.deleteOntology.AvailableLocalOntologiesListContentProvider.getChildren(Object) may expose internal representation by returning org.dbe.studio.editors.odm.perspective.deleteOntology.AvailableLocalOntologiesListContentProvider.EMPTY_ARRAY  At AvailableLocalOntologiesListContentProvider.java:[line 17]
M UCF: Useless control flow in org.dbe.studio.editors.odm.perspective.deleteOntology.DeleteOntologyAction.run(org.eclipse.jface.action.IAction)  At DeleteOntologyAction.java:[line 55]
M UrF: Unread field: org.dbe.studio.editors.odm.perspective.deleteOntology.DeleteOntologyAction.window
M UCF: Useless control flow in org.dbe.studio.editors.odm.perspective.deleteOntology.DeleteOntologyFromKBIAction.run(org.eclipse.jface.action.IAction)  At DeleteOntologyFromKBIAction.java:[line 24]
M UrF: Unread field: org.dbe.studio.editors.odm.perspective.deleteOntology.DeleteOntologyFromKBIAction.window
M UuF: Unused field: org.dbe.studio.editors.odm.perspective.deleteOntology.FindAvailableOntologiesWizard.addressPage
M EI: org.dbe.studio.editors.odm.perspective.openOntology.AvailableOntologiesListContentProvider.getChildren(Object) may expose internal representation by returning org.dbe.studio.editors.odm.perspective.openOntology.AvailableOntologiesListContentProvider.EMPTY_ARRAY  At AvailableOntologiesListContentProvider.java:[line 17]
M UuF: Unused field: org.dbe.studio.editors.odm.perspective.openOntology.FindAvailableOntologiesWizard.addressPage
M UuF: Unused field: org.dbe.studio.editors.odm.perspective.openOntology.FindAvailableOntologiesWizard.intOntologyPageStatus
M UrF: Unread field: org.dbe.studio.editors.odm.perspective.openOntology.OpenLocalOntologyAction.window
M UCF: Useless control flow in org.dbe.studio.editors.odm.perspective.openOntology.OpenOntologyAction.run(org.eclipse.jface.action.IAction)  At OpenOntologyAction.java:[line 31]
M UCF: Useless control flow in org.dbe.studio.editors.odm.perspective.openOntology.OpenOntologyAction.run(org.eclipse.jface.action.IAction)  At OpenOntologyAction.java:[line 56]
M UrF: Unread field: org.dbe.studio.editors.odm.perspective.openOntology.OpenOntologyAction.window
M UrF: Unread field: org.dbe.studio.editors.odm.propertySheets.AnnotationSheet.nik
M UrF: Unread field: org.dbe.studio.editors.odm.propertySheets.ClassSheet.nik
L SIC: Should org.dbe.studio.editors.odm.propertySheets.ClassSheet$3 be a _static_ inner class?
L SIC: Should org.dbe.studio.editors.odm.propertySheets.ClassSheet$4 be a _static_ inner class?
M UrF: Unread field: org.dbe.studio.editors.odm.propertySheets.DatatypePropertySheet.nik
M UrF: Unread field: org.dbe.studio.editors.odm.propertySheets.EnumerationSheet.nik
M UrF: Unread field: org.dbe.studio.editors.odm.propertySheets.LiteralSheet.nik
M UrF: Unread field: org.dbe.studio.editors.odm.propertySheets.ObjectPropertySheet.nik
L SIC: Should org.dbe.studio.editors.odm.propertySheets.ObjectPropertySheet$1 be a _static_ inner class?
M UuF: Unused field: org.dbe.studio.editors.odm.propertySheets.OntologySheetFindAvailableOntologiesFirstPage.addressText
M UuF: Unused field: org.dbe.studio.editors.odm.propertySheets.OntologySheetFindAvailableOntologiesFirstPage1.addressText
M UrF: Unread field: org.dbe.studio.editors.odm.propertySheets.RestrictionSheet.nik
M EI: org.dbe.studio.editors.odm.propertySheets.RestrictionSheetAvailableClassesContentProvider.getChildren(Object) may expose internal representation by returning org.dbe.studio.editors.odm.propertySheets.RestrictionSheetAvailableClassesContentProvider.EMPTY_ARRAY  At RestrictionSheetAvailableClassesContentProvider.java:[line 17]
M UCF: Useless control flow in org.dbe.studio.editors.odm.relationship.CreateConnectionCommand.getAllSubClasses(String)  At CreateConnectionCommand.java:[line 157]
M UrF: Unread field: org.dbe.studio.editors.odm.table.ColumnTransferCommand.columnAfter
M UrF: Unread field: org.dbe.studio.editors.odm.table.ColumnTransferCommand.oldIndex
M UrF: Unread field: org.dbe.studio.editors.odm.table.FindExistingDTPropertiesWizard.tableClass
M MS: org.dbe.studio.editors.odm.table.TableFigure.titleColor isn't final but should be
M UCF: Useless control flow in org.dbe.studio.editors.odm.table.delete.DeleteClassFromOntologyEditPolicy.getAllSubClasses(String)  At DeleteClassFromOntologyEditPolicy.java:[line 56]