FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
118 13 0 25

org.springframework.osgi.extender.internal.activator.ContextLoaderListener$NamespaceBundleLister

Bug Category Details Line Priority
Switch statement found in org.springframework.osgi.extender.internal.activator.ContextLoaderListener$NamespaceBundleLister.handleEvent(BundleEvent) where one case falls through to the next case STYLE SF_SWITCH_FALLTHROUGH 165 Medium

org.springframework.osgi.extender.internal.activator.LifecycleManager

Bug Category Details Line Priority
Method org.springframework.osgi.extender.internal.activator.LifecycleManager.destroy() invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 364 Medium
Method org.springframework.osgi.extender.internal.activator.LifecycleManager.maybeCreateApplicationContextFor(Bundle) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 154 Medium

org.springframework.osgi.extender.internal.blueprint.activator.BlueprintContainerProcessor$BlueprintWaitingEventDispatcher

Bug Category Details Line Priority
Unread field: org.springframework.osgi.extender.internal.blueprint.activator.BlueprintContainerProcessor$BlueprintWaitingEventDispatcher.initialized PERFORMANCE URF_UNREAD_FIELD 82 Medium

org.springframework.osgi.extender.internal.blueprint.activator.support.BlueprintContainerConfig

Bug Category Details Line Priority
timeout isn't initialized in org.springframework.osgi.extender.internal.blueprint.activator.support.BlueprintContainerConfig.getTimeout() when invoked from constructor for superclass CORRECTNESS UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR 104 High
createAsync isn't initialized in org.springframework.osgi.extender.internal.blueprint.activator.support.BlueprintContainerConfig.isCreateAsynchronously() when invoked from constructor for superclass CORRECTNESS UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR 98 High
publishContext isn't initialized in org.springframework.osgi.extender.internal.blueprint.activator.support.BlueprintContainerConfig.isPublishContextAsService() when invoked from constructor for superclass CORRECTNESS UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR 102 High
waitForDep isn't initialized in org.springframework.osgi.extender.internal.blueprint.activator.support.BlueprintContainerConfig.isWaitForDependencies() when invoked from constructor for superclass CORRECTNESS UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR 100 High

org.springframework.osgi.extender.internal.dependencies.shutdown.ComparatorServiceDependencySorter$TarganStronglyConnectedSorter

Bug Category Details Line Priority
org.springframework.osgi.extender.internal.dependencies.shutdown.ComparatorServiceDependencySorter$TarganStronglyConnectedSorter.computeServiceDependencyGraph() may expose internal representation by returning ComparatorServiceDependencySorter$TarganStronglyConnectedSorter.bundles MALICIOUS_CODE EI_EXPOSE_REP 103 Medium
new org.springframework.osgi.extender.internal.dependencies.shutdown.ComparatorServiceDependencySorter$TarganStronglyConnectedSorter(Bundle[]) may expose internal representation by storing an externally mutable object into ComparatorServiceDependencySorter$TarganStronglyConnectedSorter.sourcebundles MALICIOUS_CODE EI_EXPOSE_REP2 78 Medium

org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor

Bug Category Details Line Priority
Method call in org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout() passes null for nonnull parameter of new org.springframework.osgi.extender.event.BootstrappingDependenciesFailedEvent(ApplicationContext, Bundle, Throwable, Collection, Filter) CORRECTNESS NP_NULL_PARAM_DEREF 493 Medium

org.springframework.osgi.extender.internal.support.LazyBundleRegistry

Bug Category Details Line Priority
Null pointer dereference of Boolean.FALSE in org.springframework.osgi.extender.internal.support.LazyBundleRegistry.apply(LazyBundleRegistry$Operation) CORRECTNESS NP_ALWAYS_NULL 173 High

org.springframework.osgi.extender.support.ApplicationContextConfiguration

Bug Category Details Line Priority
org.springframework.osgi.extender.support.ApplicationContextConfiguration.getConfigurationLocations() may expose internal representation by returning ApplicationContextConfiguration.configurationLocations MALICIOUS_CODE EI_EXPOSE_REP 168 Medium