The following document contains the results of SpotBugs
SpotBugs Version is 4.9.3
Threshold is
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
549 | 291 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.di.BeanCreationEvent.getBeanProvider() may expose internal representation by returning BeanCreationEvent.beanProvider | MALICIOUS_CODE | EI_EXPOSE_REP | 87 | Medium |
net.sf.jguiraffe.di.BeanCreationEvent.getDependencyProvider() may expose internal representation by returning BeanCreationEvent.dependencyProvider | MALICIOUS_CODE | EI_EXPOSE_REP | 99 | Medium |
new net.sf.jguiraffe.di.BeanCreationEvent(BeanContext, BeanProvider, DependencyProvider, Object) may expose internal representation by storing an externally mutable object into BeanCreationEvent.beanProvider | MALICIOUS_CODE | EI_EXPOSE_REP2 | 65 | Medium |
new net.sf.jguiraffe.di.BeanCreationEvent(BeanContext, BeanProvider, DependencyProvider, Object) may expose internal representation by storing an externally mutable object into BeanCreationEvent.dependencyProvider | MALICIOUS_CODE | EI_EXPOSE_REP2 | 66 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.ConversionHelper at new net.sf.jguiraffe.di.ConversionHelper() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 76 | Medium |
Exception thrown in class net.sf.jguiraffe.di.ConversionHelper at new net.sf.jguiraffe.di.ConversionHelper(ConversionHelper) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 96 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.ReflectionUtils$Signature at new net.sf.jguiraffe.di.ReflectionUtils$Signature(Method) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 565 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.BeanContextWrapper at new net.sf.jguiraffe.di.impl.BeanContextWrapper(BeanContext) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 67 | Medium |
Exception thrown in class net.sf.jguiraffe.di.impl.BeanContextWrapper at new net.sf.jguiraffe.di.impl.BeanContextWrapper(BeanContext, BeanStore) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 83 | Medium |
net.sf.jguiraffe.di.impl.BeanContextWrapper.getWrappedContext() may expose internal representation by returning BeanContextWrapper.context | MALICIOUS_CODE | EI_EXPOSE_REP | 100 | Medium |
new net.sf.jguiraffe.di.impl.BeanContextWrapper(BeanContext, BeanStore) may expose internal representation by storing an externally mutable object into BeanContextWrapper.context | MALICIOUS_CODE | EI_EXPOSE_REP2 | 87 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.CombinedBeanStore at new net.sf.jguiraffe.di.impl.CombinedBeanStore(String, BeanStore[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 93 | Medium |
Exception thrown in class net.sf.jguiraffe.di.impl.CombinedBeanStore at new net.sf.jguiraffe.di.impl.CombinedBeanStore(BeanStore[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 121 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.ConstructorInvocation at new net.sf.jguiraffe.di.impl.ConstructorInvocation(ClassDescription, ClassDescription[], Dependency[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 77 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.di.impl.DefaultBeanContext.getClassLoaderProvider() may expose internal representation by returning DefaultBeanContext.classLoaderProvider | MALICIOUS_CODE | EI_EXPOSE_REP | 106 | Medium |
net.sf.jguiraffe.di.impl.DefaultBeanContext.setClassLoaderProvider(ClassLoaderProvider) may expose internal representation by storing an externally mutable object into DefaultBeanContext.classLoaderProvider | MALICIOUS_CODE | EI_EXPOSE_REP2 | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.Invocation at new net.sf.jguiraffe.di.impl.Invocation(ClassDescription, ClassDescription[], Dependency[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 90 | Medium |
net.sf.jguiraffe.di.impl.Invocation.getParameterDependencies() may expose internal representation by returning Invocation.parameterDependencies | MALICIOUS_CODE | EI_EXPOSE_REP | 130 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.MethodInvocation at new net.sf.jguiraffe.di.impl.MethodInvocation(ClassDescription, String, boolean, ClassDescription[], Dependency[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 128 | Medium |
Exception thrown in class net.sf.jguiraffe.di.impl.MethodInvocation at new net.sf.jguiraffe.di.impl.MethodInvocation(ClassDescription, Dependency, String, boolean, ClassDescription[], Dependency[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 164 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.RestrictedDependencyProvider at new net.sf.jguiraffe.di.impl.RestrictedDependencyProvider(ClassLoaderProvider, InvocationHelper) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 83 | Medium |
Do not catch NullPointerException like in net.sf.jguiraffe.di.impl.RestrictedDependencyProvider.getDependentBean(Dependency) | STYLE | DCN_NULLPOINTER_EXCEPTION | 149 | Medium |
net.sf.jguiraffe.di.impl.RestrictedDependencyProvider.getClassLoaderProvider() may expose internal representation by returning RestrictedDependencyProvider.classLoaderProvider | MALICIOUS_CODE | EI_EXPOSE_REP | 103 | Medium |
net.sf.jguiraffe.di.impl.RestrictedDependencyProvider.getInvocationHelper() may expose internal representation by returning RestrictedDependencyProvider.invocationHelper | MALICIOUS_CODE | EI_EXPOSE_REP | 263 | Medium |
new net.sf.jguiraffe.di.impl.RestrictedDependencyProvider(ClassLoaderProvider, InvocationHelper) may expose internal representation by storing an externally mutable object into RestrictedDependencyProvider.classLoaderProvider | MALICIOUS_CODE | EI_EXPOSE_REP2 | 92 | Medium |
new net.sf.jguiraffe.di.impl.RestrictedDependencyProvider(ClassLoaderProvider, InvocationHelper) may expose internal representation by storing an externally mutable object into RestrictedDependencyProvider.invocationHelper | MALICIOUS_CODE | EI_EXPOSE_REP2 | 93 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.SetPropertyInvocation at new net.sf.jguiraffe.di.impl.SetPropertyInvocation(String, Dependency) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 69 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.providers.CollectionBeanProvider at new net.sf.jguiraffe.di.impl.providers.CollectionBeanProvider(Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 84 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.providers.ConstructorBeanProvider at new net.sf.jguiraffe.di.impl.providers.ConstructorBeanProvider(ConstructorInvocation) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 70 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Shared primitive variable "creating" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 329 | Medium |
Shared primitive variable "initializing" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 284 | Medium |
Exception thrown in class net.sf.jguiraffe.di.impl.providers.LifeCycleBeanProvider at new net.sf.jguiraffe.di.impl.providers.LifeCycleBeanProvider(BeanProvider) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 150 | Medium |
Exception thrown in class net.sf.jguiraffe.di.impl.providers.LifeCycleBeanProvider at new net.sf.jguiraffe.di.impl.providers.LifeCycleBeanProvider(BeanProvider, Invokable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 130 | Medium |
net.sf.jguiraffe.di.impl.providers.LifeCycleBeanProvider.getBeanCreator() may expose internal representation by returning LifeCycleBeanProvider.beanCreator | MALICIOUS_CODE | EI_EXPOSE_REP | 161 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.providers.MapBeanProvider at new net.sf.jguiraffe.di.impl.providers.MapBeanProvider(Collection, Collection, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 92 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.di.impl.providers.MethodInvocationBeanProvider at new net.sf.jguiraffe.di.impl.providers.MethodInvocationBeanProvider(Dependency, MethodInvocation) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 86 | Medium |
Exception thrown in class net.sf.jguiraffe.di.impl.providers.MethodInvocationBeanProvider at new net.sf.jguiraffe.di.impl.providers.MethodInvocationBeanProvider(Dependency, MethodInvocation, ClassDescription) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 126 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.app.Application at new net.sf.jguiraffe.gui.app.Application() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 427 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.app.Application at new net.sf.jguiraffe.gui.app.Application(MainWindowCloseTracker) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 365 | Medium |
net.sf.jguiraffe.gui.app.Application.getApplicationContext() may expose internal representation by returning Application.applicationContext | MALICIOUS_CODE | EI_EXPOSE_REP | 497 | Medium |
net.sf.jguiraffe.gui.app.Application.getCommandQueue() may expose internal representation by returning Application.cmdQueue | MALICIOUS_CODE | EI_EXPOSE_REP | 1248 | Medium |
net.sf.jguiraffe.gui.app.Application.getMainWindowBeanContext() may expose internal representation by returning Application.mainWindowBeanContext | MALICIOUS_CODE | EI_EXPOSE_REP | 1412 | Medium |
net.sf.jguiraffe.gui.app.Application.setApplicationContext(ApplicationContext) may expose internal representation by storing an externally mutable object into Application.applicationContext | MALICIOUS_CODE | EI_EXPOSE_REP2 | 507 | Medium |
net.sf.jguiraffe.gui.app.Application.setCommandQueue(CommandQueue) may expose internal representation by storing an externally mutable object into Application.cmdQueue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1264 | Medium |
Redundant nullcheck of locs, which is known to be non-null in net.sf.jguiraffe.gui.app.Application.findBeanDefinitions(Configuration, BeanContext) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1016 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.app.Application$1.run() invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 400 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.app.ApplicationBuilderData.getActionStore() may expose internal representation by returning ApplicationBuilderData.actionStore | MALICIOUS_CODE | EI_EXPOSE_REP | 140 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.getBindingStrategy() may expose internal representation by returning ApplicationBuilderData.bindingStrategy | MALICIOUS_CODE | EI_EXPOSE_REP | 200 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.getBuilderContext() may expose internal representation by returning ApplicationBuilderData.builderContext | MALICIOUS_CODE | EI_EXPOSE_REP | 382 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.getCommandQueue() may expose internal representation by returning ApplicationBuilderData.commandQueue | MALICIOUS_CODE | EI_EXPOSE_REP | 442 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.getInvocationHelper() may expose internal representation by returning ApplicationBuilderData.invocationHelper | MALICIOUS_CODE | EI_EXPOSE_REP | 402 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.getParentContext() may expose internal representation by returning ApplicationBuilderData.parentContext | MALICIOUS_CODE | EI_EXPOSE_REP | 343 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.getParentWindow() may expose internal representation by returning ApplicationBuilderData.parentWindow | MALICIOUS_CODE | EI_EXPOSE_REP | 263 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.getProperties() may expose internal representation by returning ApplicationBuilderData.properties | MALICIOUS_CODE | EI_EXPOSE_REP | 598 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.setActionStore(ActionStore) may expose internal representation by storing an externally mutable object into ApplicationBuilderData.actionStore | MALICIOUS_CODE | EI_EXPOSE_REP2 | 150 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.setBindingStrategy(BindingStrategy) may expose internal representation by storing an externally mutable object into ApplicationBuilderData.bindingStrategy | MALICIOUS_CODE | EI_EXPOSE_REP2 | 210 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.setBuilderContext(BeanContext) may expose internal representation by storing an externally mutable object into ApplicationBuilderData.builderContext | MALICIOUS_CODE | EI_EXPOSE_REP2 | 392 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.setCommandQueue(CommandQueue) may expose internal representation by storing an externally mutable object into ApplicationBuilderData.commandQueue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 452 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.setInvocationHelper(InvocationHelper) may expose internal representation by storing an externally mutable object into ApplicationBuilderData.invocationHelper | MALICIOUS_CODE | EI_EXPOSE_REP2 | 412 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.setParentContext(BeanContext) may expose internal representation by storing an externally mutable object into ApplicationBuilderData.parentContext | MALICIOUS_CODE | EI_EXPOSE_REP2 | 353 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.setParentWindow(Window) may expose internal representation by storing an externally mutable object into ApplicationBuilderData.parentWindow | MALICIOUS_CODE | EI_EXPOSE_REP2 | 273 | Medium |
net.sf.jguiraffe.gui.app.ApplicationBuilderData.setProperties(Map) may expose internal representation by storing an externally mutable object into ApplicationBuilderData.properties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 609 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.app.ApplicationContextImpl.getActionStore() may expose internal representation by returning ApplicationContextImpl.actionStore | MALICIOUS_CODE | EI_EXPOSE_REP | 470 | Medium |
net.sf.jguiraffe.gui.app.ApplicationContextImpl.getBeanContext() may expose internal representation by returning ApplicationContextImpl.beanContext | MALICIOUS_CODE | EI_EXPOSE_REP | 212 | Medium |
net.sf.jguiraffe.gui.app.ApplicationContextImpl.getConfiguration() may expose internal representation by returning ApplicationContextImpl.configuration | MALICIOUS_CODE | EI_EXPOSE_REP | 192 | Medium |
net.sf.jguiraffe.gui.app.ApplicationContextImpl.getMainWindow() may expose internal representation by returning ApplicationContextImpl.mainWindow | MALICIOUS_CODE | EI_EXPOSE_REP | 450 | Medium |
net.sf.jguiraffe.gui.app.ApplicationContextImpl.getResourceManager() may expose internal representation by returning ApplicationContextImpl.resourceManager | MALICIOUS_CODE | EI_EXPOSE_REP | 161 | Medium |
net.sf.jguiraffe.gui.app.ApplicationContextImpl.properties() may expose internal representation by returning ApplicationContextImpl.properties | MALICIOUS_CODE | EI_EXPOSE_REP | 182 | Medium |
net.sf.jguiraffe.gui.app.ApplicationContextImpl.setActionStore(ActionStore) may expose internal representation by storing an externally mutable object into ApplicationContextImpl.actionStore | MALICIOUS_CODE | EI_EXPOSE_REP2 | 481 | Medium |
net.sf.jguiraffe.gui.app.ApplicationContextImpl.setBeanContext(BeanContext) may expose internal representation by storing an externally mutable object into ApplicationContextImpl.beanContext | MALICIOUS_CODE | EI_EXPOSE_REP2 | 222 | Medium |
net.sf.jguiraffe.gui.app.ApplicationContextImpl.setConfiguration(Configuration) may expose internal representation by storing an externally mutable object into ApplicationContextImpl.configuration | MALICIOUS_CODE | EI_EXPOSE_REP2 | 202 | Medium |
net.sf.jguiraffe.gui.app.ApplicationContextImpl.setMainWindow(Window) may expose internal representation by storing an externally mutable object into ApplicationContextImpl.mainWindow | MALICIOUS_CODE | EI_EXPOSE_REP2 | 460 | Medium |
net.sf.jguiraffe.gui.app.ApplicationContextImpl.setResourceManager(ResourceManager) may expose internal representation by storing an externally mutable object into ApplicationContextImpl.resourceManager | MALICIOUS_CODE | EI_EXPOSE_REP2 | 172 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.app.ApplicationShutdownActionTask.getApplication() may expose internal representation by returning ApplicationShutdownActionTask.application | MALICIOUS_CODE | EI_EXPOSE_REP | 148 | Medium |
net.sf.jguiraffe.gui.app.ApplicationShutdownActionTask.setApplication(Application) may expose internal representation by storing an externally mutable object into ApplicationShutdownActionTask.application | MALICIOUS_CODE | EI_EXPOSE_REP2 | 160 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.app.CommandActionTask.getBeanContext() may expose internal representation by returning CommandActionTask.beanContext | MALICIOUS_CODE | EI_EXPOSE_REP | 241 | Medium |
net.sf.jguiraffe.gui.app.CommandActionTask.setAfterEnabler(ElementEnabler) may expose internal representation by storing an externally mutable object into CommandActionTask.afterEnabler | MALICIOUS_CODE | EI_EXPOSE_REP2 | 231 | Medium |
net.sf.jguiraffe.gui.app.CommandActionTask.setBeanContext(BeanContext) may expose internal representation by storing an externally mutable object into CommandActionTask.beanContext | MALICIOUS_CODE | EI_EXPOSE_REP2 | 252 | Medium |
net.sf.jguiraffe.gui.app.CommandActionTask.setBeforeEnabler(ElementEnabler) may expose internal representation by storing an externally mutable object into CommandActionTask.beforeEnabler | MALICIOUS_CODE | EI_EXPOSE_REP2 | 198 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.app.OpenWindowCommand at new net.sf.jguiraffe.gui.app.OpenWindowCommand(Locator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 113 | Medium |
net.sf.jguiraffe.gui.app.OpenWindowCommand.getApplication() may expose internal representation by returning OpenWindowCommand.application | MALICIOUS_CODE | EI_EXPOSE_REP | 136 | Medium |
net.sf.jguiraffe.gui.app.OpenWindowCommand.setApplication(Application) may expose internal representation by storing an externally mutable object into OpenWindowCommand.application | MALICIOUS_CODE | EI_EXPOSE_REP2 | 149 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.AutoReleaseListener at new net.sf.jguiraffe.gui.builder.AutoReleaseListener(BuilderData) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 82 | Medium |
new net.sf.jguiraffe.gui.builder.AutoReleaseListener(BuilderData) may expose internal representation by storing an externally mutable object into AutoReleaseListener.builderData | MALICIOUS_CODE | EI_EXPOSE_REP2 | 84 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.action.AbstractPopupMenuBuilder.getActionBuilder() may expose internal representation by returning AbstractPopupMenuBuilder.actionBuilder | MALICIOUS_CODE | EI_EXPOSE_REP | 81 | Medium |
net.sf.jguiraffe.gui.builder.action.AbstractPopupMenuBuilder.getActionManager() may expose internal representation by returning AbstractPopupMenuBuilder.actionManager | MALICIOUS_CODE | EI_EXPOSE_REP | 70 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.action.ActionBuilder.getActionManager() may expose internal representation by returning ActionBuilder.actionManager | MALICIOUS_CODE | EI_EXPOSE_REP | 122 | Medium |
net.sf.jguiraffe.gui.builder.action.ActionBuilder.getActionStore() may expose internal representation by returning ActionBuilder.actionStore | MALICIOUS_CODE | EI_EXPOSE_REP | 101 | Medium |
net.sf.jguiraffe.gui.builder.action.ActionBuilder.getContext() may expose internal representation by returning ActionBuilder.context | MALICIOUS_CODE | EI_EXPOSE_REP | 189 | Medium |
net.sf.jguiraffe.gui.builder.action.ActionBuilder.put(JellyContext) may expose internal representation by storing an externally mutable object into ActionBuilder.context | MALICIOUS_CODE | EI_EXPOSE_REP2 | 268 | Medium |
net.sf.jguiraffe.gui.builder.action.ActionBuilder.setActionManager(ActionManager) may expose internal representation by storing an externally mutable object into ActionBuilder.actionManager | MALICIOUS_CODE | EI_EXPOSE_REP2 | 133 | Medium |
net.sf.jguiraffe.gui.builder.action.ActionBuilder.setActionStore(ActionStore) may expose internal representation by storing an externally mutable object into ActionBuilder.actionStore | MALICIOUS_CODE | EI_EXPOSE_REP2 | 112 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.action.ActionInvoker at new net.sf.jguiraffe.gui.builder.action.ActionInvoker(FormAction) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 82 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.builder.action.ActionInvoker at new net.sf.jguiraffe.gui.builder.action.ActionInvoker(FormAction, EventFilter) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 97 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.action.ActionManagerWrapper.getWrappedActionManager() may expose internal representation by returning ActionManagerWrapper.wrappedManager | MALICIOUS_CODE | EI_EXPOSE_REP | 70 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.action.ActionStore.getParent() may expose internal representation by returning ActionStore.parent | MALICIOUS_CODE | EI_EXPOSE_REP | 381 | Medium |
net.sf.jguiraffe.gui.builder.action.ActionStore.setParent(ActionStore) may expose internal representation by storing an externally mutable object into ActionStore.parent | MALICIOUS_CODE | EI_EXPOSE_REP2 | 392 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.action.SimplePopupMenuHandler at new net.sf.jguiraffe.gui.builder.action.SimplePopupMenuHandler(Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 102 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.action.tags.MenuTag.getData() may expose internal representation by returning MenuTag.data | MALICIOUS_CODE | EI_EXPOSE_REP | 114 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.action.tags.RegistrationCallBackBase at new net.sf.jguiraffe.gui.builder.action.tags.RegistrationCallBackBase(String, String, EventListener, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 45 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Do not catch NullPointerException like in net.sf.jguiraffe.gui.builder.components.ColorHelper.getPredefinedColor(String) | STYLE | DCN_NULLPOINTER_EXCEPTION | 116 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData.getBeanContext() may expose internal representation by returning ComponentBuilderData.beanContext | MALICIOUS_CODE | EI_EXPOSE_REP | 1098 | Medium |
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData.getComponentManager() may expose internal representation by returning ComponentBuilderData.componentManager | MALICIOUS_CODE | EI_EXPOSE_REP | 330 | Medium |
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData.getEventManager() may expose internal representation by returning ComponentBuilderData.eventManager | MALICIOUS_CODE | EI_EXPOSE_REP | 452 | Medium |
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData.getForm() may expose internal representation by returning ComponentBuilderData.form | MALICIOUS_CODE | EI_EXPOSE_REP | 425 | Medium |
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData.getToolTipManager() may expose internal representation by returning ComponentBuilderData.toolTipManager | MALICIOUS_CODE | EI_EXPOSE_REP | 484 | Medium |
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData.setBeanContext(BeanContext) may expose internal representation by storing an externally mutable object into ComponentBuilderData.beanContext | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1110 | Medium |
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData.setComponentManager(ComponentManager) may expose internal representation by storing an externally mutable object into ComponentBuilderData.componentManager | MALICIOUS_CODE | EI_EXPOSE_REP2 | 341 | Medium |
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData.setEventManager(FormEventManager) may expose internal representation by storing an externally mutable object into ComponentBuilderData.eventManager | MALICIOUS_CODE | EI_EXPOSE_REP2 | 467 | Medium |
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData.setToolTipManager(ToolTipManager) may expose internal representation by storing an externally mutable object into ComponentBuilderData.toolTipManager | MALICIOUS_CODE | EI_EXPOSE_REP2 | 498 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.ComponentManagerWrapper.getWrappedComponentManager() may expose internal representation by returning ComponentManagerWrapper.wrappedManager | MALICIOUS_CODE | EI_EXPOSE_REP | 98 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.components.DefaultToolTipManager at new net.sf.jguiraffe.gui.builder.components.DefaultToolTipManager(ComponentBuilderData) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 72 | Medium |
net.sf.jguiraffe.gui.builder.components.DefaultToolTipManager.getComponentBuilderData() may expose internal representation by returning DefaultToolTipManager.componentBuilderData | MALICIOUS_CODE | EI_EXPOSE_REP | 113 | Medium |
new net.sf.jguiraffe.gui.builder.components.DefaultToolTipManager(ComponentBuilderData) may expose internal representation by storing an externally mutable object into DefaultToolTipManager.componentBuilderData | MALICIOUS_CODE | EI_EXPOSE_REP2 | 76 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.model.TreeConfigurationChangeHandler.getConfiguration() may expose internal representation by returning TreeConfigurationChangeHandler.configuration | MALICIOUS_CODE | EI_EXPOSE_REP | 107 | Medium |
new net.sf.jguiraffe.gui.builder.components.model.TreeConfigurationChangeHandler(HierarchicalConfiguration, TreeModelChangeListener) may expose internal representation by storing an externally mutable object into TreeConfigurationChangeHandler.configuration | MALICIOUS_CODE | EI_EXPOSE_REP2 | 95 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.components.model.TreeNodePath at new net.sf.jguiraffe.gui.builder.components.model.TreeNodePath(Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 107 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.builder.components.model.TreeNodePath at new net.sf.jguiraffe.gui.builder.components.model.TreeNodePath(ConfigurationNode) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 87 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.BorderLayoutTag.getBorderLayout() may expose internal representation by returning BorderLayoutTag.borderLayout | MALICIOUS_CODE | EI_EXPOSE_REP | 319 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.ButtonLayoutTag.getButtonLayout() may expose internal representation by returning ButtonLayoutTag.buttonLayout | MALICIOUS_CODE | EI_EXPOSE_REP | 235 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.ComponentBaseTag.getToolTipData() may expose internal representation by returning ComponentBaseTag.toolTipData | MALICIOUS_CODE | EI_EXPOSE_REP | 286 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.ComponentGroupTag.getGroup() may expose internal representation by returning ComponentGroupTag.group | MALICIOUS_CODE | EI_EXPOSE_REP | 91 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.FieldTag.setComponentHandler(ComponentHandler) may expose internal representation by storing an externally mutable object into FieldTag.bodyComponentHandler | MALICIOUS_CODE | EI_EXPOSE_REP2 | 80 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.InputComponentTag.getComponentHandler() may expose internal representation by returning InputComponentTag.componentHandler | MALICIOUS_CODE | EI_EXPOSE_REP | 186 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.ListModelItemTag.getTextData() may expose internal representation by returning ListModelItemTag.textData | MALICIOUS_CODE | EI_EXPOSE_REP | 104 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.PanelTag.getTextData() may expose internal representation by returning PanelTag.textData | MALICIOUS_CODE | EI_EXPOSE_REP | 140 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.PercentLayoutTag.getPercentLayout() may expose internal representation by returning PercentLayoutTag.percentLayout | MALICIOUS_CODE | EI_EXPOSE_REP | 247 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.ProgressBarTag.getProgressTextData() may expose internal representation by returning ProgressBarTag.textData | MALICIOUS_CODE | EI_EXPOSE_REP | 211 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.PushButtonTag.getTextIconData() may expose internal representation by returning PushButtonTag.textIconData | MALICIOUS_CODE | EI_EXPOSE_REP | 64 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.components.tags.StaticTextDataImpl at new net.sf.jguiraffe.gui.builder.components.tags.StaticTextDataImpl() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 52 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.TabbedPaneTag.getTabs() may expose internal representation by returning TabbedPaneTag.tabs | MALICIOUS_CODE | EI_EXPOSE_REP | 210 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.TabbedPaneTag$TabData.getTextIconData() may expose internal representation by returning TabbedPaneTag$TabData.textIconData | MALICIOUS_CODE | EI_EXPOSE_REP | 433 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.TextData.getTag() may expose internal representation by returning TextData.tag | MALICIOUS_CODE | EI_EXPOSE_REP | 73 | Medium |
new net.sf.jguiraffe.gui.builder.components.tags.TextData(FormBaseTag) may expose internal representation by storing an externally mutable object into TextData.tag | MALICIOUS_CODE | EI_EXPOSE_REP2 | 64 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.components.tags.TextIconData at new net.sf.jguiraffe.gui.builder.components.tags.TextIconData(FormBaseTag) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 67 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.TextIconTag.getTextIconData() may expose internal representation by returning TextIconTag.textIconData | MALICIOUS_CODE | EI_EXPOSE_REP | 55 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.components.tags.TextListModelTag at new net.sf.jguiraffe.gui.builder.components.tags.TextListModelTag() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 93 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.components.tags.TextListModelTag$TextListModel at new net.sf.jguiraffe.gui.builder.components.tags.TextListModelTag$TextListModel() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 195 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.TransformerBaseTag.getProperties() may expose internal representation by returning TransformerBaseTag.properties | MALICIOUS_CODE | EI_EXPOSE_REP | 82 | Medium |
net.sf.jguiraffe.gui.builder.components.tags.TransformerBaseTag.setProperties(Map) may expose internal representation by storing an externally mutable object into TransformerBaseTag.properties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 96 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.TreeTag.getTreeModel() may expose internal representation by returning TreeTag.treeModel | MALICIOUS_CODE | EI_EXPOSE_REP | 228 | Medium |
net.sf.jguiraffe.gui.builder.components.tags.TreeTag.setTreeModel(HierarchicalConfiguration) may expose internal representation by storing an externally mutable object into TreeTag.treeModel | MALICIOUS_CODE | EI_EXPOSE_REP2 | 240 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.table.ColumnComponentTag.getTableTag() may expose internal representation by returning ColumnComponentTag.tableTag | MALICIOUS_CODE | EI_EXPOSE_REP | 80 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.components.tags.table.ColumnFieldHandler at new net.sf.jguiraffe.gui.builder.components.tags.table.ColumnFieldHandler(FieldHandler) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 70 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.table.DefaultTableEditorValidationHandler.getApplication() may expose internal representation by returning DefaultTableEditorValidationHandler.application | MALICIOUS_CODE | EI_EXPOSE_REP | 89 | Medium |
net.sf.jguiraffe.gui.builder.components.tags.table.DefaultTableEditorValidationHandler.setApplication(Application) may expose internal representation by storing an externally mutable object into DefaultTableEditorValidationHandler.application | MALICIOUS_CODE | EI_EXPOSE_REP2 | 107 | Medium |
Return value of net.sf.jguiraffe.gui.builder.utils.MessageOutput.show(Window, Object, String, int, int) ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 159 | Medium |
Useless object stored in variable buf of method net.sf.jguiraffe.gui.builder.components.tags.table.DefaultTableEditorValidationHandler.validationPerformed(Object, Form, TableTag, FormValidatorResults, int, int) | STYLE | UC_USELESS_OBJECT | 136 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.table.TableColumnTag.getHeaderText() may expose internal representation by returning TableColumnTag.headerText | MALICIOUS_CODE | EI_EXPOSE_REP | 357 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.components.tags.table.TableFormController at new net.sf.jguiraffe.gui.builder.components.tags.table.TableFormController(TableTag) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 97 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.builder.components.tags.table.TableFormController at new net.sf.jguiraffe.gui.builder.components.tags.table.TableFormController(TableTag, TransformerFactory) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 112 | Medium |
net.sf.jguiraffe.gui.builder.components.tags.table.TableFormController.getDataModel() may expose internal representation by returning TableFormController.dataModel | MALICIOUS_CODE | EI_EXPOSE_REP | 129 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.components.tags.table.TableTag.getColumnWidthController() may expose internal representation by returning TableTag.columnWidthController | MALICIOUS_CODE | EI_EXPOSE_REP | 687 | Medium |
net.sf.jguiraffe.gui.builder.components.tags.table.TableTag.getColumns() may expose internal representation by returning TableTag.columns | MALICIOUS_CODE | EI_EXPOSE_REP | 579 | Medium |
net.sf.jguiraffe.gui.builder.components.tags.table.TableTag.getRowEditForm() may expose internal representation by returning TableTag.editForm | MALICIOUS_CODE | EI_EXPOSE_REP | 633 | Medium |
net.sf.jguiraffe.gui.builder.components.tags.table.TableTag.getRowRenderForm() may expose internal representation by returning TableTag.renderForm | MALICIOUS_CODE | EI_EXPOSE_REP | 618 | Medium |
net.sf.jguiraffe.gui.builder.components.tags.table.TableTag.getTableFormController() may expose internal representation by returning TableTag.tableFormController | MALICIOUS_CODE | EI_EXPOSE_REP | 656 | Medium |
net.sf.jguiraffe.gui.builder.components.tags.table.TableTag.getTableModel() may expose internal representation by returning TableTag.tableModel | MALICIOUS_CODE | EI_EXPOSE_REP | 644 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.DIBuilderData.getClassLoaderProvider() may expose internal representation by returning DIBuilderData.classLoaderProvider | MALICIOUS_CODE | EI_EXPOSE_REP | 119 | Medium |
net.sf.jguiraffe.gui.builder.di.DIBuilderData.getInvocationHelper() may expose internal representation by returning DIBuilderData.invocationHelper | MALICIOUS_CODE | EI_EXPOSE_REP | 150 | Medium |
net.sf.jguiraffe.gui.builder.di.DIBuilderData.initRootBeanStore(MutableBeanStore) may expose internal representation by storing an externally mutable object into DIBuilderData.rootBeanStore | MALICIOUS_CODE | EI_EXPOSE_REP2 | 188 | Medium |
net.sf.jguiraffe.gui.builder.di.DIBuilderData.setClassLoaderProvider(ClassLoaderProvider) may expose internal representation by storing an externally mutable object into DIBuilderData.classLoaderProvider | MALICIOUS_CODE | EI_EXPOSE_REP2 | 131 | Medium |
net.sf.jguiraffe.gui.builder.di.DIBuilderData.setInvocationHelper(InvocationHelper) may expose internal representation by storing an externally mutable object into DIBuilderData.invocationHelper | MALICIOUS_CODE | EI_EXPOSE_REP2 | 164 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.AbstractBeanTag.getBeanStoreTag() may expose internal representation by returning AbstractBeanTag.beanStoreTag | MALICIOUS_CODE | EI_EXPOSE_REP | 107 | Medium |
net.sf.jguiraffe.gui.builder.di.tags.AbstractBeanTag.getTargetDependency() may expose internal representation by returning AbstractBeanTag.targetDependency | MALICIOUS_CODE | EI_EXPOSE_REP | 119 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.BeanStoreTag.getParentStoreTag() may expose internal representation by returning BeanStoreTag.parentStoreTag | MALICIOUS_CODE | EI_EXPOSE_REP | 97 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.BeanTag.getBeanCreator() may expose internal representation by returning BeanTag.beanCreator | MALICIOUS_CODE | EI_EXPOSE_REP | 378 | Medium |
net.sf.jguiraffe.gui.builder.di.tags.BeanTag.getValueData() may expose internal representation by returning BeanTag.valueData | MALICIOUS_CODE | EI_EXPOSE_REP | 407 | Medium |
net.sf.jguiraffe.gui.builder.di.tags.BeanTag.setBeanCreator(BeanProvider) may expose internal representation by storing an externally mutable object into BeanTag.beanCreator | MALICIOUS_CODE | EI_EXPOSE_REP2 | 397 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.CollectionTag.getElementClassData() may expose internal representation by returning CollectionTag.elementClassData | MALICIOUS_CODE | EI_EXPOSE_REP | 102 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.ConstructorTag.getBeanTag() may expose internal representation by returning ConstructorTag.beanTag | MALICIOUS_CODE | EI_EXPOSE_REP | 96 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.DependencyTag.getRefClassData() may expose internal representation by returning DependencyTag.refClassData | MALICIOUS_CODE | EI_EXPOSE_REP | 105 | Medium |
net.sf.jguiraffe.gui.builder.di.tags.DependencyTag.getValueData() may expose internal representation by returning DependencyTag.valueData | MALICIOUS_CODE | EI_EXPOSE_REP | 94 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.EntryTag.getKeyData() may expose internal representation by returning EntryTag.keyData | MALICIOUS_CODE | EI_EXPOSE_REP | 228 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.FactoryTag.getBeanTag() may expose internal representation by returning FactoryTag.beanTag | MALICIOUS_CODE | EI_EXPOSE_REP | 121 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.InvocationTag.getTargetClassData() may expose internal representation by returning InvocationTag.targetClassData | MALICIOUS_CODE | EI_EXPOSE_REP | 114 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.MapTag.getKeyClassData() may expose internal representation by returning MapTag.keyClassData | MALICIOUS_CODE | EI_EXPOSE_REP | 203 | Medium |
net.sf.jguiraffe.gui.builder.di.tags.MapTag.getValueClassData() may expose internal representation by returning MapTag.valueClassData | MALICIOUS_CODE | EI_EXPOSE_REP | 256 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.di.tags.ParameterTag.getInvocationTag() may expose internal representation by returning ParameterTag.invocationTag | MALICIOUS_CODE | EI_EXPOSE_REP | 199 | Medium |
net.sf.jguiraffe.gui.builder.di.tags.ParameterTag.getParameterClassData() may expose internal representation by returning ParameterTag.parameterClassData | MALICIOUS_CODE | EI_EXPOSE_REP | 209 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.di.tags.ValueData at new net.sf.jguiraffe.gui.builder.di.tags.ValueData(Tag) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 79 | Medium |
net.sf.jguiraffe.gui.builder.di.tags.ValueData.getOwner() may expose internal representation by returning ValueData.owner | MALICIOUS_CODE | EI_EXPOSE_REP | 93 | Medium |
net.sf.jguiraffe.gui.builder.di.tags.ValueData.getValueClassData() may expose internal representation by returning ValueData.valueClassData | MALICIOUS_CODE | EI_EXPOSE_REP | 104 | Medium |
new net.sf.jguiraffe.gui.builder.di.tags.ValueData(Tag) may expose internal representation by storing an externally mutable object into ValueData.owner | MALICIOUS_CODE | EI_EXPOSE_REP2 | 83 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.enablers.ActionEnabler at new net.sf.jguiraffe.gui.builder.enablers.ActionEnabler(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 63 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.enablers.ActionGroupEnabler at new net.sf.jguiraffe.gui.builder.enablers.ActionGroupEnabler(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 56 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.enablers.ChainElementEnabler at new net.sf.jguiraffe.gui.builder.enablers.ChainElementEnabler(Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 62 | Medium |
net.sf.jguiraffe.gui.builder.enablers.ChainElementEnabler.getChildEnablers() may expose internal representation by returning ChainElementEnabler.childEnablers | MALICIOUS_CODE | EI_EXPOSE_REP | 86 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.enablers.ComponentEnabler at new net.sf.jguiraffe.gui.builder.enablers.ComponentEnabler(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 54 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.enablers.InverseEnabler at new net.sf.jguiraffe.gui.builder.enablers.InverseEnabler(ElementEnabler) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 58 | Medium |
net.sf.jguiraffe.gui.builder.enablers.InverseEnabler.getWrappedEnabler() may expose internal representation by returning InverseEnabler.wrappedEnabler | MALICIOUS_CODE | EI_EXPOSE_REP | 72 | Medium |
new net.sf.jguiraffe.gui.builder.enablers.InverseEnabler(ElementEnabler) may expose internal representation by storing an externally mutable object into InverseEnabler.wrappedEnabler | MALICIOUS_CODE | EI_EXPOSE_REP2 | 62 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.event.FormEvent.getHandler() may expose internal representation by returning FormEvent.handler | MALICIOUS_CODE | EI_EXPOSE_REP | 79 | Medium |
new net.sf.jguiraffe.gui.builder.event.FormEvent(Object, ComponentHandler, String) may expose internal representation by storing an externally mutable object into FormEvent.handler | MALICIOUS_CODE | EI_EXPOSE_REP2 | 68 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.event.FormEventManager at new net.sf.jguiraffe.gui.builder.event.FormEventManager(PlatformEventManager) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 101 | Medium |
net.sf.jguiraffe.gui.builder.event.FormEventManager.getComponentStore() may expose internal representation by returning FormEventManager.componentStore | MALICIOUS_CODE | EI_EXPOSE_REP | 153 | Medium |
net.sf.jguiraffe.gui.builder.event.FormEventManager.setComponentStore(ComponentStore) may expose internal representation by storing an externally mutable object into FormEventManager.componentStore | MALICIOUS_CODE | EI_EXPOSE_REP2 | 165 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from net.sf.jguiraffe.gui.builder.event.FormEvent to net.sf.jguiraffe.gui.builder.event.FormActionEvent in net.sf.jguiraffe.gui.builder.event.FormListenerType$1.callListener(FormEventListener, FormEvent) | STYLE | BC_UNCONFIRMED_CAST | 53 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from net.sf.jguiraffe.gui.builder.event.FormEvent to net.sf.jguiraffe.gui.builder.event.FormChangeEvent in net.sf.jguiraffe.gui.builder.event.FormListenerType$2.callListener(FormEventListener, FormEvent) | STYLE | BC_UNCONFIRMED_CAST | 67 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from net.sf.jguiraffe.gui.builder.event.FormEvent to net.sf.jguiraffe.gui.builder.event.FormFocusEvent in net.sf.jguiraffe.gui.builder.event.FormListenerType$3.callListener(FormEventListener, FormEvent) | STYLE | BC_UNCONFIRMED_CAST | 81 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from net.sf.jguiraffe.gui.builder.event.FormEvent to net.sf.jguiraffe.gui.builder.event.FormMouseEvent in net.sf.jguiraffe.gui.builder.event.FormListenerType$4.callListener(FormEventListener, FormEvent) | STYLE | BC_UNCONFIRMED_CAST | 104 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.event.FormMouseEvent at new net.sf.jguiraffe.gui.builder.event.FormMouseEvent(Object, ComponentHandler, String, FormMouseEvent$Type, int, int, int, Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 132 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.event.filter.AbstractEventFilter at new net.sf.jguiraffe.gui.builder.event.filter.AbstractEventFilter() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 56 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.builder.event.filter.AbstractEventFilter at new net.sf.jguiraffe.gui.builder.event.filter.AbstractEventFilter(Class) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 68 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.builder.event.filter.AbstractEventFilter at new net.sf.jguiraffe.gui.builder.event.filter.AbstractEventFilter(Class, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 81 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.event.filter.ChainedEventFilter at new net.sf.jguiraffe.gui.builder.event.filter.ChainedEventFilter(Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 75 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Return value of org.apache.commons.jelly.JellyContext.runScript(InputSource, XMLOutput) ignored, is this OK in net.sf.jguiraffe.gui.builder.impl.JellyBeanBuilder.executeScript(Locator, JellyContext, MutableBeanStore, ClassLoaderProvider, InvocationHelper) | STYLE | RV_RETURN_VALUE_IGNORED_INFERRED | 181 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.impl.JellyBuilder.getActionManager() may expose internal representation by returning JellyBuilder.actionManager | MALICIOUS_CODE | EI_EXPOSE_REP | 245 | Medium |
net.sf.jguiraffe.gui.builder.impl.JellyBuilder.getComponentManager() may expose internal representation by returning JellyBuilder.componentManager | MALICIOUS_CODE | EI_EXPOSE_REP | 266 | Medium |
net.sf.jguiraffe.gui.builder.impl.JellyBuilder.setActionManager(ActionManager) may expose internal representation by storing an externally mutable object into JellyBuilder.actionManager | MALICIOUS_CODE | EI_EXPOSE_REP2 | 256 | Medium |
net.sf.jguiraffe.gui.builder.impl.JellyBuilder.setComponentManager(ComponentManager) may expose internal representation by storing an externally mutable object into JellyBuilder.componentManager | MALICIOUS_CODE | EI_EXPOSE_REP2 | 277 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.impl.JellyContextBeanStore at new net.sf.jguiraffe.gui.builder.impl.JellyContextBeanStore(JellyContext, BeanStore) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 92 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.builder.impl.JellyContextBeanStore at new net.sf.jguiraffe.gui.builder.impl.JellyContextBeanStore(JellyContext, BeanStore, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 74 | Medium |
net.sf.jguiraffe.gui.builder.impl.JellyContextBeanStore.getContext() may expose internal representation by returning JellyContextBeanStore.context | MALICIOUS_CODE | EI_EXPOSE_REP | 102 | Medium |
new net.sf.jguiraffe.gui.builder.impl.JellyContextBeanStore(JellyContext, BeanStore, String) may expose internal representation by storing an externally mutable object into JellyContextBeanStore.context | MALICIOUS_CODE | EI_EXPOSE_REP2 | 77 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.window.WindowBuilderData.getContext() may expose internal representation by returning WindowBuilderData.context | MALICIOUS_CODE | EI_EXPOSE_REP | 234 | Medium |
net.sf.jguiraffe.gui.builder.window.WindowBuilderData.getParentWindow() may expose internal representation by returning WindowBuilderData.parentWindow | MALICIOUS_CODE | EI_EXPOSE_REP | 165 | Medium |
net.sf.jguiraffe.gui.builder.window.WindowBuilderData.getResultWindow() may expose internal representation by returning WindowBuilderData.resultWindow | MALICIOUS_CODE | EI_EXPOSE_REP | 186 | Medium |
net.sf.jguiraffe.gui.builder.window.WindowBuilderData.put(JellyContext) may expose internal representation by storing an externally mutable object into WindowBuilderData.context | MALICIOUS_CODE | EI_EXPOSE_REP2 | 358 | Medium |
net.sf.jguiraffe.gui.builder.window.WindowBuilderData.setParentWindow(Window) may expose internal representation by storing an externally mutable object into WindowBuilderData.parentWindow | MALICIOUS_CODE | EI_EXPOSE_REP2 | 176 | Medium |
net.sf.jguiraffe.gui.builder.window.WindowBuilderData.setResultWindow(Window) may expose internal representation by storing an externally mutable object into WindowBuilderData.resultWindow | MALICIOUS_CODE | EI_EXPOSE_REP2 | 197 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.window.WindowEvent.getSourceWindow() may expose internal representation by returning WindowEvent.sourceWindow | MALICIOUS_CODE | EI_EXPOSE_REP | 72 | Medium |
new net.sf.jguiraffe.gui.builder.window.WindowEvent(Object, Window, WindowEvent$Type) may expose internal representation by storing an externally mutable object into WindowEvent.sourceWindow | MALICIOUS_CODE | EI_EXPOSE_REP2 | 61 | Medium |
Class net.sf.jguiraffe.gui.builder.window.WindowEvent defines non-transient non-serializable instance field sourceWindow | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.window.ctrl.FormController.getComponentBuilderData() may expose internal representation by returning FormController.componentBuilderData | MALICIOUS_CODE | EI_EXPOSE_REP | 162 | Medium |
net.sf.jguiraffe.gui.builder.window.ctrl.FormController.getValidationMessageFormat() may expose internal representation by returning FormController.validationMessageFormat | MALICIOUS_CODE | EI_EXPOSE_REP | 309 | Medium |
net.sf.jguiraffe.gui.builder.window.ctrl.FormController.getWindowBuilderData() may expose internal representation by returning FormController.windowBuilderData | MALICIOUS_CODE | EI_EXPOSE_REP | 185 | Medium |
net.sf.jguiraffe.gui.builder.window.ctrl.FormController.setComponentBuilderData(ComponentBuilderData) may expose internal representation by storing an externally mutable object into FormController.componentBuilderData | MALICIOUS_CODE | EI_EXPOSE_REP2 | 175 | Medium |
net.sf.jguiraffe.gui.builder.window.ctrl.FormController.setValidationMessageFormat(FormValidationMessageFormat) may expose internal representation by storing an externally mutable object into FormController.validationMessageFormat | MALICIOUS_CODE | EI_EXPOSE_REP2 | 327 | Medium |
net.sf.jguiraffe.gui.builder.window.ctrl.FormController.setWindowBuilderData(WindowBuilderData) may expose internal representation by storing an externally mutable object into FormController.windowBuilderData | MALICIOUS_CODE | EI_EXPOSE_REP2 | 198 | Medium |
Return value of net.sf.jguiraffe.gui.builder.utils.MessageOutput.show(Window, Object, String, int, int) ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 619 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerFieldStatusEvent at new net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerFieldStatusEvent(FormController, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 59 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerValidationEvent at new net.sf.jguiraffe.gui.builder.window.ctrl.FormControllerValidationEvent(FormController, FormValidatorResults) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 60 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.window.ctrl.FormValidationTriggerFocus.getFormController() may expose internal representation by returning FormValidationTriggerFocus.formController | MALICIOUS_CODE | EI_EXPOSE_REP | 61 | Medium |
net.sf.jguiraffe.gui.builder.window.ctrl.FormValidationTriggerFocus.initTrigger(FormController) may expose internal representation by storing an externally mutable object into FormValidationTriggerFocus.formController | MALICIOUS_CODE | EI_EXPOSE_REP2 | 75 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.builder.window.ctrl.ToolTipFieldMarker at new net.sf.jguiraffe.gui.builder.window.ctrl.ToolTipFieldMarker(FormValidationMessageFormat) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 79 | Medium |
new net.sf.jguiraffe.gui.builder.window.ctrl.ToolTipFieldMarker(FormValidationMessageFormat) may expose internal representation by storing an externally mutable object into ToolTipFieldMarker.format | MALICIOUS_CODE | EI_EXPOSE_REP2 | 83 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.builder.window.tags.WindowBaseTag.getWindow() may expose internal representation by returning WindowBaseTag.window | MALICIOUS_CODE | EI_EXPOSE_REP | 238 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.cmd.CommandBase at new net.sf.jguiraffe.gui.cmd.CommandBase() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 61 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.cmd.CommandBase at new net.sf.jguiraffe.gui.cmd.CommandBase(boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 47 | Medium |
net.sf.jguiraffe.gui.cmd.CommandBase.getException() may expose internal representation by returning CommandBase.exception | MALICIOUS_CODE | EI_EXPOSE_REP | 138 | Medium |
net.sf.jguiraffe.gui.cmd.CommandBase.setException(Throwable) may expose internal representation by storing an externally mutable object into CommandBase.exception | MALICIOUS_CODE | EI_EXPOSE_REP2 | 153 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.cmd.CommandQueueImpl at new net.sf.jguiraffe.gui.cmd.CommandQueueImpl(GUISynchronizer) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 78 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.cmd.CommandQueueImpl at new net.sf.jguiraffe.gui.cmd.CommandQueueImpl(GUISynchronizer, ExecutorService) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 54 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.cmd.CommandWrapper at new net.sf.jguiraffe.gui.cmd.CommandWrapper(Command) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 49 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.dlg.AbstractDialogOptions at new net.sf.jguiraffe.gui.dlg.AbstractDialogOptions(DialogResultCallback) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 117 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.dlg.AbstractDialogOptions at new net.sf.jguiraffe.gui.dlg.AbstractDialogOptions(DialogResultCallback, Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 97 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.gui.forms.DefaultFieldHandler.getComponentHandler() may expose internal representation by returning DefaultFieldHandler.componentHandler | MALICIOUS_CODE | EI_EXPOSE_REP | 192 | Medium |
net.sf.jguiraffe.gui.forms.DefaultFieldHandler.setComponentHandler(ComponentHandler) may expose internal representation by storing an externally mutable object into DefaultFieldHandler.componentHandler | MALICIOUS_CODE | EI_EXPOSE_REP2 | 202 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.forms.DefaultFormValidatorResults at new net.sf.jguiraffe.gui.forms.DefaultFormValidatorResults(Map) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 70 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.forms.DefaultTransformerWrapper at new net.sf.jguiraffe.gui.forms.DefaultTransformerWrapper(Transformer, TransformerContext) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 55 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.forms.DefaultValidatorWrapper at new net.sf.jguiraffe.gui.forms.DefaultValidatorWrapper(Validator, TransformerContext) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 57 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.forms.Form at new net.sf.jguiraffe.gui.forms.Form(TransformerContext, BindingStrategy) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 107 | Medium |
net.sf.jguiraffe.gui.forms.Form.getComponentStore() may expose internal representation by returning Form.fields | MALICIOUS_CODE | EI_EXPOSE_REP | 310 | Medium |
new net.sf.jguiraffe.gui.forms.Form(TransformerContext, BindingStrategy) may expose internal representation by storing an externally mutable object into Form.bindingStrategy | MALICIOUS_CODE | EI_EXPOSE_REP2 | 117 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.layout.CellGroup at new net.sf.jguiraffe.gui.layout.CellGroup(int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 107 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.layout.CellGroup at new net.sf.jguiraffe.gui.layout.CellGroup(int, int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 122 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.layout.CellGroup at new net.sf.jguiraffe.gui.layout.CellGroup(int, int, int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 138 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.layout.CellGroup at new net.sf.jguiraffe.gui.layout.CellGroup(int[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 86 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.gui.layout.NumberWithUnit at new net.sf.jguiraffe.gui.layout.NumberWithUnit() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 74 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.layout.NumberWithUnit at new net.sf.jguiraffe.gui.layout.NumberWithUnit(double, Unit) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 98 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.layout.NumberWithUnit at new net.sf.jguiraffe.gui.layout.NumberWithUnit(int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 85 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.layout.NumberWithUnit at new net.sf.jguiraffe.gui.layout.NumberWithUnit(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 121 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Shared primitive variable "totalWeightX" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 385 | Medium |
Shared primitive variable "totalWeightY" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 386 | Medium |
Shared primitive variable "canShrink" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 232 | Medium |
Shared primitive variable "totalWeightX" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 278 | Medium |
Shared primitive variable "totalWeightY" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 311 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.layout.PercentLayoutBase at new net.sf.jguiraffe.gui.layout.PercentLayoutBase(int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 145 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.layout.PercentLayoutBase at new net.sf.jguiraffe.gui.layout.PercentLayoutBase(String, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 185 | Medium |
Exception thrown in class net.sf.jguiraffe.gui.layout.PercentLayoutBase at new net.sf.jguiraffe.gui.layout.PercentLayoutBase(Collection, Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 165 | Medium |
net.sf.jguiraffe.gui.layout.PercentLayoutBase.getConstraintsBuilder() may expose internal representation by returning PercentLayoutBase.constraintsBuilder | MALICIOUS_CODE | EI_EXPOSE_REP | 457 | Medium |
net.sf.jguiraffe.gui.layout.PercentLayoutBase.getPlatformAdapter() may expose internal representation by returning PercentLayoutBase.platformAdapter | MALICIOUS_CODE | EI_EXPOSE_REP | 197 | Medium |
net.sf.jguiraffe.gui.layout.PercentLayoutBase.setPlatformAdapter(PercentLayoutPlatformAdapter) may expose internal representation by storing an externally mutable object into PercentLayoutBase.platformAdapter | MALICIOUS_CODE | EI_EXPOSE_REP2 | 208 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.locators.LocatorConverter.getClassLoaderProvider() may expose internal representation by returning LocatorConverter.classLoaderProvider | MALICIOUS_CODE | EI_EXPOSE_REP | 144 | Medium |
new net.sf.jguiraffe.locators.LocatorConverter(ClassLoaderProvider) may expose internal representation by storing an externally mutable object into LocatorConverter.classLoaderProvider | MALICIOUS_CODE | EI_EXPOSE_REP2 | 118 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.locators.LocatorWrapper at new net.sf.jguiraffe.locators.LocatorWrapper(Locator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 64 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.resources.Message at new net.sf.jguiraffe.resources.Message(Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 69 | Medium |
Exception thrown in class net.sf.jguiraffe.resources.Message at new net.sf.jguiraffe.resources.Message(Object, Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 82 | Medium |
Exception thrown in class net.sf.jguiraffe.resources.Message at new net.sf.jguiraffe.resources.Message(Object, Object, Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 101 | Medium |
Exception thrown in class net.sf.jguiraffe.resources.Message at new net.sf.jguiraffe.resources.Message(Object, Object, Object, Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 123 | Medium |
Exception thrown in class net.sf.jguiraffe.resources.Message at new net.sf.jguiraffe.resources.Message(Object, Object, Object, Object, Object[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 149 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.resources.impl.bundle.BundleResourceGroup at new net.sf.jguiraffe.resources.impl.bundle.BundleResourceGroup(String, Locale, ClassLoader) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.resources.impl.bundle.BundleResourceLoader at new net.sf.jguiraffe.resources.impl.bundle.BundleResourceLoader() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 77 | Medium |
Exception thrown in class net.sf.jguiraffe.resources.impl.bundle.BundleResourceLoader at new net.sf.jguiraffe.resources.impl.bundle.BundleResourceLoader(ClassLoaderProvider, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 60 | Medium |
net.sf.jguiraffe.resources.impl.bundle.BundleResourceLoader.getClassLoaderProvider() may expose internal representation by returning BundleResourceLoader.classLoaderProvider | MALICIOUS_CODE | EI_EXPOSE_REP | 109 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.transform.DateTransformerBase at new net.sf.jguiraffe.transform.DateTransformerBase() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 201 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.transform.DefaultValidationResult.getValidationMessages() may expose internal representation by returning DefaultValidationResult.messages | MALICIOUS_CODE | EI_EXPOSE_REP | 124 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class (net.sf.jguiraffe.transform.DummyTransformer) using singleton design pattern has non-private constructor. | CORRECTNESS | SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR | 33 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class net.sf.jguiraffe.transform.TransformerContextPropertiesWrapper at new net.sf.jguiraffe.transform.TransformerContextPropertiesWrapper(TransformerContext, Map) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 71 | Medium |
new net.sf.jguiraffe.transform.TransformerContextPropertiesWrapper(TransformerContext, Map) may expose internal representation by storing an externally mutable object into TransformerContextPropertiesWrapper.properties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 81 | Medium |