FindBugs (1.2.1-dev-20070506)
Analysis for
jboss-4.0.5
FindBugs Analysis generated at: Sun, 29 Apr 2007 20:45:24 -0400
Package |
Code Size |
Bugs |
Bugs p1 |
Bugs p2 |
Bugs p3 |
Bugs Exp. |
Ratio |
Overall
(1410 packages),
(24326 classes)
|
1395012 |
885 |
136 |
749 |
|
|
|
javax.enterprise.deploy.spi.status |
64 |
2 |
|
2 |
|
|
|
javax.jms |
500 |
1 |
|
1 |
|
|
|
javax.management |
2936 |
15 |
|
15 |
|
|
|
javax.management.loading |
252 |
3 |
|
3 |
|
|
|
javax.management.modelmbean |
1241 |
4 |
|
4 |
|
|
|
javax.management.monitor |
723 |
2 |
|
2 |
|
|
|
javax.management.openmbean |
1424 |
11 |
|
11 |
|
|
|
javax.management.relation |
1863 |
11 |
|
11 |
|
|
|
javax.management.timer |
306 |
2 |
|
2 |
|
|
|
javax.resource.spi |
323 |
1 |
|
1 |
|
|
|
javax.resource.spi.work |
166 |
1 |
|
1 |
|
|
|
javax.security.jacc |
736 |
3 |
2 |
1 |
|
|
|
javax.xml.registry |
339 |
1 |
|
1 |
|
|
|
org.jboss |
429 |
2 |
|
2 |
|
|
|
org.jboss.aop |
6303 |
1 |
1 |
|
|
|
|
org.jboss.aop.advice |
1805 |
1 |
1 |
|
|
|
|
org.jboss.aop.annotation |
757 |
2 |
|
2 |
|
|
|
org.jboss.aop.deployment |
796 |
11 |
5 |
6 |
|
|
|
org.jboss.aop.pointcut |
2091 |
2 |
|
2 |
|
|
|
org.jboss.aop.proxy |
400 |
2 |
|
2 |
|
|
|
org.jboss.aop.proxy.container |
815 |
5 |
|
5 |
|
|
|
org.jboss.aspects.asynch |
305 |
3 |
|
3 |
|
|
|
org.jboss.aspects.asynchronous.aspects.jboss |
96 |
1 |
|
1 |
|
|
|
org.jboss.aspects.dbc |
140 |
1 |
1 |
|
|
|
|
org.jboss.aspects.dbc.condition |
370 |
2 |
|
2 |
|
|
|
org.jboss.aspects.dbc.condition.parser |
256 |
1 |
|
1 |
|
|
|
org.jboss.aspects.jmx |
158 |
4 |
|
4 |
|
|
|
org.jboss.aspects.remoting |
337 |
2 |
|
2 |
|
|
|
org.jboss.aspects.tx |
447 |
3 |
|
3 |
|
|
|
org.jboss.aspects.txlock |
238 |
5 |
|
5 |
|
|
|
org.jboss.aspects.versioned |
2049 |
17 |
4 |
13 |
|
|
|
org.jboss.cache.invalidation |
509 |
2 |
|
2 |
|
|
|
org.jboss.cache.invalidation.bridges |
503 |
2 |
|
2 |
|
|
|
org.jboss.cache.invalidation.triggers |
59 |
1 |
|
1 |
|
|
|
org.jboss.console.manager |
254 |
2 |
1 |
1 |
|
|
|
org.jboss.console.manager.interfaces.impl |
323 |
5 |
1 |
4 |
|
|
|
org.jboss.console.navtree |
542 |
7 |
|
7 |
|
|
|
org.jboss.console.plugins |
647 |
14 |
|
14 |
|
|
|
org.jboss.console.plugins.helpers |
380 |
6 |
|
6 |
|
|
|
org.jboss.console.plugins.helpers.jmx |
248 |
6 |
1 |
5 |
|
|
|
org.jboss.console.plugins.helpers.servlet |
174 |
1 |
|
1 |
|
|
|
org.jboss.console.plugins.monitor |
754 |
10 |
|
10 |
|
|
|
org.jboss.console.remote |
163 |
2 |
|
2 |
|
|
|
org.jboss.console.twiddle.command |
1001 |
7 |
1 |
6 |
|
|
|
org.jboss.crypto |
95 |
1 |
|
1 |
|
|
|
org.jboss.crypto.digest |
127 |
2 |
|
2 |
|
|
|
org.jboss.deployment |
2858 |
15 |
7 |
8 |
|
|
|
org.jboss.deployment.cache |
185 |
3 |
2 |
1 |
|
|
|
org.jboss.deployment.scanner |
1309 |
19 |
11 |
8 |
|
|
|
org.jboss.deployment.spi |
908 |
3 |
1 |
2 |
|
|
|
org.jboss.deployment.spi.beans |
360 |
9 |
1 |
8 |
|
|
|
org.jboss.ejb |
4537 |
25 |
7 |
18 |
|
|
|
org.jboss.ejb.plugins |
5227 |
10 |
|
10 |
|
|
|
org.jboss.ejb.plugins.cmp.jdbc |
7442 |
13 |
3 |
10 |
|
|
|
org.jboss.ejb.plugins.cmp.jdbc.bridge |
2630 |
5 |
|
5 |
|
|
|
org.jboss.ejb.plugins.cmp.jdbc.keygen |
449 |
2 |
|
2 |
|
|
|
org.jboss.ejb.plugins.cmp.jdbc.metadata |
2703 |
3 |
|
3 |
|
|
|
org.jboss.ejb.plugins.cmp.jdbc2 |
972 |
1 |
|
1 |
|
|
|
org.jboss.ejb.plugins.cmp.jdbc2.bridge |
1240 |
2 |
1 |
1 |
|
|
|
org.jboss.ejb.plugins.cmp.jdbc2.schema |
1800 |
5 |
1 |
4 |
|
|
|
org.jboss.ejb.plugins.jms |
915 |
2 |
|
2 |
|
|
|
org.jboss.ejb.plugins.local |
531 |
2 |
|
2 |
|
|
|
org.jboss.ejb.plugins.lock |
578 |
4 |
|
4 |
|
|
|
org.jboss.ejb.txtimer |
1384 |
3 |
|
3 |
|
|
|
org.jboss.ha.framework.interfaces |
697 |
12 |
2 |
10 |
|
|
|
org.jboss.ha.framework.server |
2608 |
12 |
1 |
11 |
|
|
|
org.jboss.ha.framework.test |
76 |
2 |
|
2 |
|
|
|
org.jboss.ha.hasessionstate.server |
591 |
1 |
|
1 |
|
|
|
org.jboss.ha.jndi |
1082 |
3 |
1 |
2 |
|
|
|
org.jboss.iiop |
474 |
3 |
2 |
1 |
|
|
|
org.jboss.iiop.csiv2 |
1054 |
2 |
|
2 |
|
|
|
org.jboss.iiop.jacorb |
199 |
1 |
|
1 |
|
|
|
org.jboss.iiop.rmi |
1496 |
5 |
1 |
4 |
|
|
|
org.jboss.iiop.rmi.ir |
1697 |
1 |
|
1 |
|
|
|
org.jboss.iiop.rmi.marshal |
507 |
1 |
|
1 |
|
|
|
org.jboss.iiop.test |
63 |
1 |
|
1 |
|
|
|
org.jboss.invocation |
1136 |
3 |
|
3 |
|
|
|
org.jboss.invocation.http.interfaces |
350 |
4 |
1 |
3 |
|
|
|
org.jboss.invocation.http.server |
435 |
4 |
1 |
3 |
|
|
|
org.jboss.invocation.iiop |
308 |
1 |
1 |
|
|
|
|
org.jboss.invocation.jrmp.interfaces |
201 |
1 |
1 |
|
|
|
|
org.jboss.invocation.jrmp.server |
613 |
7 |
|
7 |
|
|
|
org.jboss.invocation.pooled.interfaces |
664 |
4 |
1 |
3 |
|
|
|
org.jboss.invocation.pooled.server |
599 |
5 |
|
5 |
|
|
|
org.jboss.invocation.unified.marshall |
107 |
2 |
|
2 |
|
|
|
org.jboss.invocation.unified.server |
156 |
1 |
|
1 |
|
|
|
org.jboss.jaxr.juddi |
554 |
4 |
|
4 |
|
|
|
org.jboss.jdbc |
294 |
3 |
|
3 |
|
|
|
org.jboss.jms.asf |
408 |
2 |
1 |
1 |
|
|
|
org.jboss.jms.recovery |
158 |
1 |
|
1 |
|
|
|
org.jboss.jmx.adaptor.rmi |
66 |
1 |
1 |
|
|
|
|
org.jboss.jmx.adaptor.snmp.agent |
1284 |
16 |
|
16 |
|
|
|
org.jboss.jmx.adaptor.snmp.system |
77 |
1 |
|
1 |
|
|
|
org.jboss.jmx.connector.invoker |
442 |
2 |
|
2 |
|
|
|
org.jboss.logging |
814 |
2 |
|
2 |
|
|
|
org.jboss.mail |
149 |
1 |
|
1 |
|
|
|
org.jboss.management.j2ee |
2717 |
18 |
2 |
16 |
|
|
|
org.jboss.management.j2ee.cluster |
320 |
2 |
|
2 |
|
|
|
org.jboss.management.j2ee.statistics |
565 |
2 |
|
2 |
|
|
|
org.jboss.management.mejb |
598 |
12 |
|
12 |
|
|
|
org.jboss.metadata |
3587 |
17 |
4 |
13 |
|
|
|
org.jboss.metadata.serviceref |
280 |
1 |
|
1 |
|
|
|
org.jboss.monitor |
685 |
2 |
1 |
1 |
|
|
|
org.jboss.monitor.alerts |
128 |
1 |
|
1 |
|
|
|
org.jboss.monitor.services |
634 |
1 |
|
1 |
|
|
|
org.jboss.mq |
5349 |
26 |
7 |
19 |
|
|
|
org.jboss.mq.il.http |
714 |
8 |
|
8 |
|
|
|
org.jboss.mq.il.oil |
789 |
1 |
|
1 |
|
|
|
org.jboss.mq.il.oil2 |
1042 |
8 |
1 |
7 |
|
|
|
org.jboss.mq.il.uil2 |
1118 |
26 |
|
26 |
|
|
|
org.jboss.mq.il.uil2.msgs |
900 |
3 |
|
3 |
|
|
|
org.jboss.mq.pm |
310 |
2 |
1 |
1 |
|
|
|
org.jboss.mq.pm.jdbc2 |
1244 |
12 |
|
12 |
|
|
|
org.jboss.mq.security |
459 |
3 |
|
3 |
|
|
|
org.jboss.mq.selectors |
2858 |
5 |
|
5 |
|
|
|
org.jboss.mq.server |
3267 |
6 |
2 |
4 |
|
|
|
org.jboss.mq.server.jmx |
996 |
2 |
|
2 |
|
|
|
org.jboss.mq.xml |
434 |
2 |
|
2 |
|
|
|
org.jboss.mx.capability |
556 |
2 |
|
2 |
|
|
|
org.jboss.mx.interceptor |
621 |
4 |
|
4 |
|
|
|
org.jboss.mx.loading |
2534 |
26 |
8 |
18 |
|
|
|
org.jboss.mx.metadata |
906 |
2 |
|
2 |
|
|
|
org.jboss.mx.modelmbean |
652 |
3 |
|
3 |
|
|
|
org.jboss.mx.notification |
390 |
1 |
|
1 |
|
|
|
org.jboss.mx.server |
1885 |
9 |
|
9 |
|
|
|
org.jboss.mx.server.registry |
400 |
5 |
|
5 |
|
|
|
org.jboss.mx.service |
12 |
1 |
|
1 |
|
|
|
org.jboss.mx.util |
1738 |
21 |
5 |
16 |
|
|
|
org.jboss.naming |
1343 |
1 |
1 |
|
|
|
|
org.jboss.naming.client.java |
74 |
1 |
|
1 |
|
|
|
org.jboss.naming.java |
12 |
1 |
|
1 |
|
|
|
org.jboss.proxy |
238 |
1 |
|
1 |
|
|
|
org.jboss.proxy.compiler |
1452 |
8 |
4 |
4 |
|
|
|
org.jboss.proxy.ejb |
1552 |
10 |
4 |
6 |
|
|
|
org.jboss.proxy.ejb.handle |
221 |
1 |
|
1 |
|
|
|
org.jboss.resource.adapter.jdbc.remote |
583 |
5 |
|
5 |
|
|
|
org.jboss.resource.adapter.jdbc.vendor |
209 |
2 |
2 |
|
|
|
|
org.jboss.resource.connectionmanager |
3211 |
9 |
|
9 |
|
|
|
org.jboss.resource.deployment |
837 |
1 |
|
1 |
|
|
|
org.jboss.resource.security |
512 |
1 |
|
1 |
|
|
|
org.jboss.security |
1921 |
6 |
|
6 |
|
|
|
org.jboss.security.auth |
47 |
2 |
1 |
1 |
|
|
|
org.jboss.security.auth.callback |
358 |
3 |
|
3 |
|
|
|
org.jboss.security.auth.spi |
1907 |
5 |
1 |
4 |
|
|
|
org.jboss.security.jacc |
643 |
2 |
|
2 |
|
|
|
org.jboss.security.plugins |
1616 |
19 |
8 |
11 |
|
|
|
org.jboss.security.srp |
1517 |
10 |
|
10 |
|
|
|
org.jboss.security.srp.jaas |
362 |
4 |
|
4 |
|
|
|
org.jboss.services.binding |
532 |
4 |
|
4 |
|
|
|
org.jboss.system |
1898 |
5 |
|
5 |
|
|
|
org.jboss.system.pm |
452 |
2 |
|
2 |
|
|
|
org.jboss.system.server |
1302 |
15 |
2 |
13 |
|
|
|
org.jboss.system.server.jmx |
165 |
6 |
5 |
1 |
|
|
|
org.jboss.tm |
2172 |
8 |
|
8 |
|
|
|
org.jboss.tm.usertx.client |
242 |
2 |
|
2 |
|
|
|
org.jboss.varia.deployment |
350 |
3 |
|
3 |
|
|
|
org.jboss.varia.scheduler |
1357 |
5 |
|
5 |
|
|
|
org.jboss.verifier |
157 |
1 |
|
1 |
|
|
|
org.jboss.verifier.event |
138 |
2 |
|
2 |
|
|
|
org.jboss.verifier.factory |
39 |
1 |
|
1 |
|
|
|
org.jboss.verifier.strategy |
2833 |
7 |
|
7 |
|
|
|
org.jboss.web |
1549 |
14 |
3 |
11 |
|
|
|
org.jboss.web.tomcat.security |
1398 |
7 |
1 |
6 |
|
|
|
org.jboss.web.tomcat.servlets |
32 |
1 |
|
1 |
|
|
|
org.jboss.web.tomcat.tc5 |
1322 |
8 |
|
8 |
|
|
|
org.jboss.web.tomcat.tc5.jasper |
466 |
2 |
1 |
1 |
|
|
|
org.jboss.web.tomcat.tc5.jca |
88 |
1 |
|
1 |
|
|
|
org.jboss.web.tomcat.tc5.session |
3299 |
21 |
6 |
15 |
|
|
|
org.jboss.web.tomcat.tc5.sso |
912 |
3 |
|
3 |
|
|
|
org.jboss.webservice.metadata.serviceref |
300 |
1 |
|
1 |
|
|
|
org.jboss.webservice.transport.jms |
107 |
1 |
|
1 |
|
|
|
org.jnp.interfaces |
918 |
7 |
|
7 |
|
|
|
org.jnp.interfaces.java |
23 |
2 |
|
2 |
|
|
|
org.jnp.interfaces.jnp |
16 |
2 |
|
2 |
|
|
|
org.jnp.server |
643 |
3 |
|
3 |
|
|
|
Analyzed Files:
- /export/home/pugh/demo/jboss-4.0.5.jar
 Â
P1
 Â
P2
 Â
P3
 Â
Exp.
 Â
P1
 Â
P2
 Â
P3
 Â
Exp.
SA / SA_LOCAL_SELF_COMPARISON
This method compares a local variable with itself, and may indicate a typo or
a logic error. Make sure that you are comparing the right things.
UG / UG_SYNC_SET_UNSYNC_GET
This class contains similarly-named get and set
methods where the set method is synchronized and the get method is not.
This may result in incorrect behavior at runtime, as callers of the get
method will not necessarily see a consistent state for the object.
The get method should be made synchronized.
Nm / NM_FIELD_NAMING_CONVENTION
Names of fields that are not final should be in mixed case with a lowercase first letter and the first letters of subsequent words capitalized.
SA / SA_LOCAL_DOUBLE_ASSIGNMENT
This method contains a double assignment of a local variable; e.g.
public void foo() {
int x,y;
x = x = 17;
}
Assigning the same value to a variable twice is useless, and may indicate a logic error or typo.
UPM / UPM_UNCALLED_PRIVATE_METHOD
This private method is never called. Although it is
possible that the method will be invoked through reflection,
it is more likely that the method is never used, and should be
removed.
Eq / EQ_COMPARETO_USE_OBJECT_EQUALS
This class defines a compareTo(...)
method but inherits its
equals()
method from java.lang.Object
.
Generally, the value of compareTo should return zero if and only if
equals returns true. If this is violated, weird and unpredictable
failures will occur in classes such as PriorityQueue.
In Java 5 the PriorityQueue.remove method uses the compareTo method,
while in Java 6 it uses the equals method.
From the JavaDoc for the compareTo method in the Comparable interface:
It is strongly recommended, but not strictly required that (x.compareTo(y)==0) == (x.equals(y))
.
Generally speaking, any class that implements the Comparable interface and violates this condition
should clearly indicate this fact. The recommended language
is "Note: this class has a natural ordering that is inconsistent with equals."
ODR / ODR_OPEN_DATABASE_RESOURCE
The method creates a database resource (such as a database connection
or row set), does not assign it to any
fields, pass it to other methods, or return it, and does not appear to close
the object on all paths out of the method. Failure to
close database resources on all paths out of a method may
result in poor performance, and could cause the application to
have problems communicating with the database.
RCN / RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE
This method contains a redundant check of a known null value against
the constant null.
SIC / SIC_INNER_SHOULD_BE_STATIC
This class is an inner class, but does not use its embedded reference
to the object which created it. This reference makes the instances
of the class larger, and may keep the reference to the creator object
alive longer than necessary. If possible, the class should be
made static.
FI / FI_FINALIZER_NULLS_FIELDS
This finalizer nulls out fields. This is usually an error, as it does not aid garbage collection,
and the object is going to be garbage collected anyway.
ES / ES_COMPARING_PARAMETER_STRING_WITH_EQ
This code compares a java.lang.String
parameter for reference
equality using the == or != operators. Requiring callers to
pass only String constants or interned strings to a method is unnecessarily
fragile, and rarely leads to measurable performance gains. Consider
using the equals(Object)
method instead.
Dm / DM_STRING_VOID_CTOR
Creating a new java.lang.String
object using the
no-argument constructor wastes memory because the object so created will
be functionally indistinguishable from the empty string constant
""
. Java guarantees that identical string constants
will be represented by the same String
object. Therefore,
you should just use the empty string constant directly.
Nm / NM_METHOD_NAMING_CONVENTION
Methods should be verbs, in mixed case with the first letter lowercase, with the first letter of each internal word capitalized.
NP / NP_NULL_PARAM_DEREF_NONVIRTUAL
A possibly-null value is passed to a method which unconditionally
dereferences it. This will almost certainly result in a null pointer exception.
IP / IP_PARAMETER_IS_DEAD_BUT_OVERWRITTEN
The initial value of this parameter is ignored, and the parameter
is overwritten here. This often indicates a mistaken belief that
the write to the parameter will be conveyed back to
the caller.
RV / RV_RETURN_VALUE_IGNORED
The return value of this method should be checked. One common
cause of this warning is to invoke a method on an immutable object,
thinking that it updates the object. For example, in the following code
fragment,
String dateString = getHeaderField(name);
dateString.trim();
the programmer seems to be thinking that the trim() method will update
the String referenced by dateString. But since Strings are immutable, the trim()
function returns a new String value, which is being ignored here. The code
should be corrected to:
String dateString = getHeaderField(name);
dateString = dateString.trim();
DP / DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED
This code creates a classloader, which requires a security manager.
If this code will be granted security permissions, but might be invoked by code that does not
have security permissions, then the classloader creation needs to occur inside a doPrivileged block.
ES / ES_COMPARING_STRINGS_WITH_EQ
This code compares java.lang.String
objects for reference
equality using the == or != operators.
Unless both strings are either constants in a source file, or have been
interned using the String.intern()
method, the same string
value may be represented by two different String objects. Consider
using the equals(Object)
method instead.
UW / UW_UNCOND_WAIT
This method contains a call to java.lang.Object.wait()
which
is not guarded by conditional control flow. The code should
verify that condition it intends to wait for is not already satisfied
before calling wait; any previous notifications will be ignored.
INT / INT_VACUOUS_COMPARISON
There is an integer comparison that always returns
the same value (e.g., x <= Integer.MAX_VALUE).
UwF / UWF_UNWRITTEN_FIELD
This field is never written. All reads of it will return the default
value. Check for errors (should it have been initialized?), or remove it if it is useless.
BC / BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS
The equals(Object o)
method shouldn't make any assumptions
about the type of o
. It should simply return
false if o
is not the same type as this
.
CN / CN_IDIOM_NO_SUPER_CALL
This non-final class defines a clone() method that does not call super.clone().
If this class ("A") is extended by a subclass ("B"),
and the subclass B calls super.clone(), then it is likely that
B's clone() method will return an object of type A,
which violates the standard contract for clone().
If all clone() methods call super.clone(), then they are guaranteed
to use Object.clone(), which always returns an object of the correct type.
Dm / DM_GC
Code explicitly invokes garbage collection.
Except for specific use in benchmarking, this is very dubious.
In the past, situations where people have explicitly invoked
the garbage collector in routines such as close or finalize methods
has led to huge performance black holes. Garbage collection
can be expensive. Any situation that forces hundreds or thousands
of garbage collections will bring the machine to a crawl.
UrF / URF_UNREAD_FIELD
This field is never read. Consider removing it from the class.
NP / NP_LOAD_OF_KNOWN_NULL_VALUE
The variable referenced at this point is known to be null due to an earlier
check against null. Although this is valid, it might be a mistake (perhaps you
intended to refer to a different variable, or perhaps the earlier check to see if the
variable is null should have been a check to see if it was nonnull.
IM / IM_BAD_CHECK_FOR_ODD
The code uses x % 2 == 1 to check to see if a value is odd, but this won't work
for negative numbers (e.g., (-5) % 2 == -1). If this code is intending to check
for oddness, consider using x & 1 == 1, or x % 2 != 0.
SWL / SWL_SLEEP_WITH_LOCK_HELD
This method calls Thread.sleep() with a lock held. This may result
in very poor performance and scalability, or a deadlock, since other threads may
be waiting to acquire the lock. It is a much better idea to call
wait() on the lock, which releases the lock and allows other threads
to run.
IS / IS2_INCONSISTENT_SYNC
The fields of this class appear to be accessed inconsistently with respect
to synchronization. This bug report indicates that the bug pattern detector
judged that
- The class contains a mix of locked and unlocked accesses,
- At least one locked access was performed by one of the class's own methods, and
- The number of unsynchronized field accesses (reads and writes) was no more than
one third of all accesses, with writes being weighed twice as high as reads
A typical bug matching this bug pattern is forgetting to synchronize
one of the methods in a class that is intended to be thread-safe.
You can select the nodes labeled "Unsynchronized access" to show the
code locations where the detector believed that a field was accessed
without synchronization.
Note that there are various sources of inaccuracy in this detector;
for example, the detector cannot statically detect all situations in which
a lock is held. Also, even when the detector is accurate in
distinguishing locked vs. unlocked accesses, the code in question may still
be correct.
This description refers to the "IS2" version of the pattern detector,
which has more accurate ways of detecting locked vs. unlocked accesses
than the older "IS" detector.
Se / SE_COMPARATOR_SHOULD_BE_SERIALIZABLE
This class implements the Comparator
interface. You
should consider whether or not it should also implement the Serializable
interface. If a comparator is used to construct an ordered collection
such as a TreeMap
, then the TreeMap
will be serializable only if the comparator is also serializable.
As most comparators have little or no state, making them serializable
is generally easy and good defensive programming.
CN / CN_IDIOM
Class implements Cloneable but does not define or
use the clone method.
DE / DE_MIGHT_IGNORE
This method might ignore an exception. In general, exceptions
should be handled or reported in some way, or they should be thrown
out of the method.
DMI / DMI_INVOKING_TOSTRING_ON_ARRAY
The code invokes toString on an array, which will generate a fairly useless result
such as [C@16f0472. Consider using Arrays.toString to convert the array into a readable
String that gives the contents of the array. See Programming Puzzlers, chapter 3, puzzle 12.
NP / NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE
A reference value which is null on some exception control path is
dereferenced here. This may lead to a NullPointerException
when the code is executed. The value may be null because it
was return from a method which is known to return possibly-null values.
Dm / DM_EXIT
Invoking System.exit shuts down the entire Java virtual machine. This
should only been done when it is appropriate. Such calls make it
hard or impossible for your code to be invoked by other code.
Consider throwing a RuntimeException instead.
UwF / UWF_NULL_FIELD
All writes to this field are of the constant value null, and thus
all reads of the field will return null.
Check for errors, or remove it if it is useless.
NN / NN_NAKED_NOTIFY
A call to notify()
or notifyAll()
was made without any (apparent) accompanying
modification to mutable object state. In general, calling a notify
method on a monitor is done because some condition another thread is
waiting for has become true. However, for the condition to be meaningful,
it must involve a heap object that is visible to both threads.
This bug does not necessarily indicate an error, since the change to
mutable object state may have taken place in a method which then called
the method containing the notification.
OS / OS_OPEN_STREAM
The method creates an IO stream object, does not assign it to any
fields, pass it to other methods that might close it,
or return it, and does not appear to close
the stream on all paths out of the method. This may result in
a file descriptor leak. It is generally a good
idea to use a finally
block to ensure that streams are
closed.
HE / HE_USE_OF_UNHASHABLE_CLASS
A class defines an equals(Object) method but not a hashCode() method,
and thus doesn't fulfill the requirement that equal Objects have equal hashCodes.
An instance of this class is used in a hash data structure, making the need to
fix this problem of highest importance.
EC / EC_BAD_ARRAY_COMPARE
This method invokes the .equals(Object o) method on an array. Since arrays do not override the equals
method of Object, calling equals on an array is the same as comparing their addresses. To compare the
contents of the arrays, use java.util.Arrays.equals(Object[], Object[]).
Se / SE_BAD_FIELD
This Serializable class defines a non-primitive instance field which is neither transient,
Serializable, or java.lang.Object
, and does not appear to implement
the Externalizable
interface or the
readObject()
and writeObject()
methods.
Objects of this class will not be deserialized correctly if a non-Serializable
object is stored in this field.
REC / REC_CATCH_EXCEPTION
This method uses a try-catch block that catches Exception objects, but Exception is not
thrown within the try block, and RuntimeException is not explicitly caught. It is a common bug pattern to
say try { ... } catch (Exception e) { something } as a shorthand for catching a number of types of exception
each of whose catch blocks is identical, but this construct also accidentally catches RuntimeException as well,
masking potential bugs.
UR / UR_UNINIT_READ
This constructor reads a field which has not yet been assigned a value.
This is often caused when the programmer mistakenly uses the field instead
of one of the constructor's parameters.
Eq / EQ_SELF_USE_OBJECT
This class defines a covariant version of the equals()
method, but inherits the normal equals(Object)
method
defined in the base java.lang.Object
class.
The class should probably define a non-covariant version of equals()
.
(I.e., a method with the signature boolean equals(java.lang.Object)
.
RR / RR_NOT_CHECKED
This method ignores the return value of one of the variants of
java.io.InputStream.read()
which can return multiple bytes.
If the return value is not checked, the caller will not be able to correctly
handle the case where fewer bytes were read than the caller requested.
This is a particularly insidious kind of bug, because in many programs,
reads from input streams usually do read the full amount of data requested,
causing the program to fail only sporadically.
RCN / RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
This method contains a redundant check of a known non-null value against
the constant null.
Se / SE_METHOD_MUST_BE_PRIVATE
This class implements the Serializable
interface, and defines a method
for custom serialization/deserialization. But since that method isn't declared private,
it will be silently ignored by the serialization/deserialization API.
SS / SS_SHOULD_BE_STATIC
This class contains an instance final field that
is initialized to a compile-time static value.
Consider making the field static.
ST / ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD
This instance method writes to a static field. This is tricky to get
correct if multiple instances are being manipulated,
and generally bad practice.
NP / NP_TOSTRING_COULD_RETURN_NULL
This toString method seems to return null in some circumstances. A liberal reading of the
spec could be interpreted as allowing this, but it is probably a bad idea and could cause
other code to break. Return the empty string or some other appropriate string rather than null.
Se / SE_TRANSIENT_FIELD_NOT_RESTORED
This class contains a field that is updated at multiple places in the class, thus it seems to be part of the state of the class. However, since the field is marked as transient and not set in readObject or readResolve, it will contain the default value in any
deserialized instance of the class.
EC / EC_NULL_ARG
This method calls equals(Object), passing a null value as
the argument. According to the contract of the equals() method,
this call should always return false
.
Dm / DM_STRING_TOSTRING
Calling String.toString()
is just a redundant operation.
Just use the String.
NP / NP_NULL_PARAM_DEREF
This method call passes a null value to a method which might
dereference it unconditionally.
Dm / DM_BOOLEAN_CTOR
Creating new instances of java.lang.Boolean
wastes
memory, since Boolean
objects are immutable and there are
only two useful values of this type. Use the Boolean.valueOf()
method (or Java 1.5 autoboxing) to create Boolean
objects instead.
DLS / DLS_DEAD_LOCAL_STORE
This instruction assigns a value to a local variable,
but the value is not read by any subsequent instruction.
Often, this indicates an error, because the value computed
is never used.
Note that Sun's javac compiler often generates dead stores for
final local variables. Because FindBugs is a bytecode-based tool,
there is no easy way to eliminate these false positives.
NP / NP_ALWAYS_NULL_EXCEPTION
A pointer which is null on an exception path is dereferenced here.
This will lead to a NullPointerException
when the code is executed.
Note that because FindBugs currently does not prune infeasible exception paths,
this may be a false warning.
Also note that FindBugs considers the default case of a switch statement to
be an exception path, since the default case is often infeasible.
HE / HE_EQUALS_USE_HASHCODE
This class overrides equals(Object)
, but does not
override hashCode()
, and inherits the implementation of
hashCode()
from java.lang.Object
(which returns
the identity hash code, an arbitrary value assigned to the object
by the VM). Therefore, the class is very likely to violate the
invariant that equal objects must have equal hashcodes.
If you don't think instances of this class will ever be inserted into a HashMap/HashTable,
the recommended hashCode
implementation to use is:
public int hashCode() {
assert false : "hashCode not designed";
return 42; // any arbitrary constant will do
}
DB / DB_DUPLICATE_BRANCHES
This method uses the same code to implement two branches of a conditional branch.
Check to ensure that this isn't a coding mistake.
Dm / DM_STRING_CTOR
Using the java.lang.String(String)
constructor wastes memory
because the object so constructed will be functionally indistinguishable
from the String
passed as a parameter. Just use the
argument String
directly.
SnVI / SE_NO_SERIALVERSIONID
This class implements the Serializable
interface, but does
not define a serialVersionUID
field.
A change as simple as adding a reference to a .class object
will add synthetic fields to the class,
which will unfortunately change the implicit
serialVersionUID (e.g., adding a reference to String.class
will generate a static field class$java$lang$String
).
Also, different source code to bytecode compilers may use different
naming conventions for synthetic variables generated for
references to class objects or inner classes.
To ensure interoperability of Serializable across versions,
consider adding an explicit serialVersionUID.
Se / SE_BAD_FIELD_STORE
A non-serializable value is stored into a non-transient field
of a serializable class.
Se / SE_NO_SUITABLE_CONSTRUCTOR_FOR_EXTERNALIZATION
This class implements the Externalizable
interface, but does
not define a void constructor. When Externalizable objects are deserialized,
they first need to be constructed by invoking the void
constructor. Since this class does not have one,
serialization and deserialization will fail at runtime.
ICAST / ICAST_INTEGER_MULTIPLY_CAST_TO_LONG
This code performs integer multiply and then converts the result to a long,
as in:
long convertDaysToMilliseconds(int days) { return 1000*3600*24*days; }
If the multiplication is done using long arithmetic, you can avoid
the possibility that the result will overflow. For example, you
could fix the above code to:
long convertDaysToMilliseconds(int days) { return 1000L*3600*24*days; }
or
static final long MILLISECONDS_PER_DAY = 24L*3600*1000;
long convertDaysToMilliseconds(int days) { return days * MILLISECONDS_PER_DAY; }
SI / SI_INSTANCE_BEFORE_FINALS_ASSIGNED
The class's static initializer creates an instance of the class
before all of the static final fields are assigned.
UI / UI_INHERITANCE_UNSAFE_GETRESOURCE
Calling this.getClass().getResource(...)
could give
results other than expected if this class is extended by a class in
another package.
SBSC / SBSC_USE_STRINGBUFFER_CONCATENATION
The method seems to be building a String using concatenation in a loop.
In each iteration, the String is converted to a StringBuffer/StringBuilder,
appended to, and converted back to a String.
This can lead to a cost quadratic in the number of iterations,
as the growing string is recopied in each iteration.
Better performance can be obtained by using
a StringBuffer (or StringBuilder in Java 1.5) explicitly.
For example:
// This is bad
String s = "";
for (int i = 0; i < field.length; ++i) {
s = s + field[i];
}
// This is better
StringBuffer buf = new StringBuffer();
for (int i = 0; i < field.length; ++i) {
buf.append(field[i]);
}
String s = buf.toString();
SQL / SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE
The method invokes the execute method on an SQL statement with a String that seems
to be dynamically generated. Consider using
a prepared statement instead. It is more efficient and less vulnerable to
SQL injection attacks.
HE / HE_INHERITS_EQUALS_USE_HASHCODE
This class inherits equals(Object)
from an abstract
superclass, and hashCode()
from
java.lang.Object
(which returns
the identity hash code, an arbitrary value assigned to the object
by the VM). Therefore, the class is very likely to violate the
invariant that equal objects must have equal hashcodes.
If you don't want to define a hashCode method, and/or don't
believe the object will ever be put into a HashMap/Hashtable,
define the hashCode()
method
to throw UnsupportedOperationException
.
Wa / WA_NOT_IN_LOOP
This method contains a call to java.lang.Object.wait()
which is not in a loop. If the monitor is used for multiple conditions,
the condition the caller intended to wait for might not be the one
that actually occurred.
BC / BC_IMPOSSIBLE_CAST
This cast will always throw a ClassCastException.
Nm / NM_CLASS_NAMING_CONVENTION
Class names should be nouns, in mixed case with the first letter of each internal word capitalized. Try to keep your class names simple and descriptive. Use whole words-avoid acronyms and abbreviations (unless the abbreviation is much more widely used than the long form, such as URL or HTML).
NP / NP_ALWAYS_NULL
A null pointer is dereferenced here. This will lead to a
NullPointerException
when the code is executed.
UuF / UUF_UNUSED_FIELD
This field is never used. Consider removing it from the class.
RCN / RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE
A value is checked here to see whether it is null, but this value can't
be null because it was previously dereferenced and if it were null a null pointer
exception would have occurred at the earlier dereference.
Essentially, this code and the previous dereference
disagree as to whether this value is allowed to be null. Either the check is redundant
or the previous dereference is erroneous.
HE / HE_EQUALS_NO_HASHCODE
This class overrides equals(Object)
, but does not
override hashCode()
. Therefore, the class may violate the
invariant that equal objects must have equal hashcodes.
Se / SE_NONSTATIC_SERIALVERSIONID
This class defines a serialVersionUID
field that is not static.
The field should be made static
if it is intended to specify
the version UID for purposes of serialization.
BC / BC_VACUOUS_INSTANCEOF
This instanceof test will always return true. Although this is safe, make sure it isn't
an indication of some misunderstanding or some other logic error.
RV / RV_ABSOLUTE_VALUE_OF_HASHCODE
This code generates a hashcode and then computes
the absolute value of that hashcode. If the hashcode
is Integer.MIN_VALUE
, then the result will be negative as well (since
Math.abs(Integer.MIN_VALUE) == Integer.MIN_VALUE
).
UCF / UCF_USELESS_CONTROL_FLOW
This method contains a useless control flow statement, where
control flow continues onto the same place regardless of whether or not
the branch is taken. For example,
this is caused by having an empty statement
block fot an if
statement:
if (argv.length == 0) {
// TODO: handle this case
}
NP / NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT
This implementation of equals(Object) violates the contract defined
by java.lang.Object.equals() because it does not check for null
being passed as the argument. All equals() methods should return
false if passed a null value.
SQL / SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING
The code creates an SQL prepared statement from a nonconstant String.
If unchecked, tainted data from a user is used in building this String, SQL injection could
be used to make the prepared statement do something unexpected and undesirable.
NP / NP_NULL_ON_SOME_PATH
A reference value dereferenced here might be null at runtime.
This may lead to a NullPointerException
when the code is executed.
ICAST / ICAST_IDIV_CAST_TO_DOUBLE
This code casts the result of an integer division operation to double or
float.
Doing division on integers truncates the result
to the integer value closest to zero. The fact that the result
was cast to double suggests that this precision should have been retained.
What was probably meant was to cast one or both of the operands to
double before performing the division. Here is an example:
int x = 2;
int y = 5;
// Wrong: yields result 0.0
double value1 = x / y;
// Right: yields result 0.4
double value2 = x / (double) y;
BC / BC_UNCONFIRMED_CAST
This cast is unchecked, and not all instances of the type casted from can be cast to
the type it is being cast to. Ensure that your program logic ensures that this
cast will not fail.
WMI / WMI_WRONG_MAP_ITERATOR
This method accesses the value of a Map entry, using a key that was retrieved from
a keySet iterator. It is more efficient to use an iterator on the entrySet of the map, to avoid the
Map.get(key) lookup.
RC / RC_REF_COMPARISON
This method compares two reference values using the == or != operator,
where the correct way to compare instances of this type is generally
with the equals() method. Examples of classes which should generally
not be compared by reference are java.lang.Integer, java.lang.Float, etc.
SC / SC_START_IN_CTOR
The constructor starts a thread. This is likely to be wrong if
the class is ever extended/subclassed, since the thread will be started
before the subclass constructor is started.
MF / MF_CLASS_MASKS_FIELD
This class defines a field with the same name as a visible
instance field in a superclass. This is confusing, and
may indicate an error if methods update or access one of
the fields when they wanted the other.
SF / SF_SWITCH_FALLTHROUGH
This method contains a switch statement where one case branch will fall through to the next case.
Usually you need to end this case with a break or return.
ESync / ESync_EMPTY_SYNC
The code contains an empty synchronized block:
synchronized() {}
Empty synchronized blocks are far more subtle and hard to use correctly
than most people recognize, and empty synchronized blocks
are almost never a better solution
than less contrived solutions.
UMAC / UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS
This anonymous class defined a method that is not directly invoked and does not override
a method in a superclass. Since methods in other classes cannot directly invoke methods
declared in an anonymous class, it seems that this method is uncallable. The method
might simply be dead code, but it is also possible that the method is intended to
override a method declared in a superclass, and due to an typo or other error the method does not,
in fact, override the method it is intended to.
Se / SE_NO_SUITABLE_CONSTRUCTOR
This class implements the Serializable
interface
and its superclass does not. When such an object is deserialized,
the fields of the superclass need to be initialized by
invoking the void constructor of the superclass.
Since the superclass does not have one,
serialization and deserialization will fail at runtime.
MWN / MWN_MISMATCHED_NOTIFY
This method calls Object.notify() or Object.notifyAll() without obviously holding a lock
on the object. Calling notify() or notifyAll() without a lock held will result in
an IllegalMonitorStateException
being thrown.
In class javax.enterprise.deploy.spi.status.ProgressEvent
Field javax.enterprise.deploy.spi.status.ProgressEvent.moduleID
In ProgressEvent.java
Class javax.enterprise.deploy.spi.status.ProgressEvent defines non-transient non-serializable instance field moduleID
In class javax.enterprise.deploy.spi.status.ProgressEvent
Field javax.enterprise.deploy.spi.status.ProgressEvent.status
In ProgressEvent.java
Class javax.enterprise.deploy.spi.status.ProgressEvent defines non-transient non-serializable instance field status
In class javax.jms.JMSException
In method javax.jms.JMSException.getLinkedException()
In method javax.jms.JMSException.setLinkedException(Exception)
At JMSException.java:[line 93]
javax.jms.JMSException.getLinkedException() is unsynchronized, javax.jms.JMSException.setLinkedException(Exception) is synchronized
In class javax.management.AndQueryExp
In method javax.management.AndQueryExp.toString()
At AndQueryExp.java:[line 97]
javax.management.AndQueryExp.toString() invokes inefficient new String(String) constructor
In class javax.management.BetweenQueryExp
In method javax.management.BetweenQueryExp.toString()
At BetweenQueryExp.java:[line 137]
javax.management.BetweenQueryExp.toString() invokes inefficient new String(String) constructor
In class javax.management.BinaryOpValueExp
In method javax.management.BinaryOpValueExp.apply(ObjectName)
At BinaryOpValueExp.java:[line 141]
javax.management.BinaryOpValueExp.apply(ObjectName) invokes inefficient new String(String) constructor
In class javax.management.ClassAttributeValueExp
In method javax.management.ClassAttributeValueExp.toString()
At ClassAttributeValueExp.java:[line 86]
javax.management.ClassAttributeValueExp.toString() invokes inefficient new String(String) constructor
In class javax.management.MBeanOperationInfo
Field javax.management.MBeanOperationInfo.cacheHashCode
In MBeanOperationInfo.java
The field javax.management.MBeanOperationInfo.cacheHashCode is transient but isn't set by deserialization
In class javax.management.MBeanServerPermission$MBeanServerPermissionCollections
In MBeanServerPermission.java
Should javax.management.MBeanServerPermission$MBeanServerPermissionCollections be a _static_ inner class?
In class javax.management.MatchQueryExp
In method javax.management.MatchQueryExp.toString()
At MatchQueryExp.java:[line 122]
javax.management.MatchQueryExp.toString() invokes inefficient new String(String) constructor
In class javax.management.MatchQueryExp
In method javax.management.MatchQueryExp.toString()
At MatchQueryExp.java:[line 122]
Method javax.management.MatchQueryExp.toString() invokes toString() method on a String
In class javax.management.NotQueryExp
In method javax.management.NotQueryExp.toString()
At NotQueryExp.java:[line 90]
javax.management.NotQueryExp.toString() invokes inefficient new String(String) constructor
In class javax.management.ObjectName
In method javax.management.ObjectName.initProperties(Hashtable, String)
At ObjectName.java:[line 832]
javax.management.ObjectName.initProperties(Hashtable, String) invokes inefficient new String(String) constructor
In class javax.management.ObjectName
In method javax.management.ObjectName.initProperties(Hashtable, String)
At ObjectName.java:[line 805]
Method javax.management.ObjectName.initProperties(Hashtable, String) makes inefficient use of keySet iterator instead of entrySet iterator
In class javax.management.OrQueryExp
In method javax.management.OrQueryExp.toString()
At OrQueryExp.java:[line 96]
javax.management.OrQueryExp.toString() invokes inefficient new String(String) constructor
In class javax.management.QualifiedAttributeValueExp
In method javax.management.QualifiedAttributeValueExp.apply(ObjectName)
At QualifiedAttributeValueExp.java:[line 81]
javax.management.QualifiedAttributeValueExp.apply(ObjectName) invokes inefficient new String(String) constructor
In class javax.management.QualifiedAttributeValueExp
In method javax.management.QualifiedAttributeValueExp.toString()
At QualifiedAttributeValueExp.java:[line 88]
javax.management.QualifiedAttributeValueExp.toString() invokes inefficient new String(String) constructor
In class javax.management.Query
In method javax.management.Query.value(boolean)
At Query.java:[line 353]
javax.management.Query.value(boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.loading.MLet
In method javax.management.loading.MLet.getMBeansFromURL(URL)
At MLet.java:[line 241]
javax.management.loading.MLet.getMBeansFromURL(URL) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.loading.MLet
In method javax.management.loading.MLet.addURL(URL)
Value contained in javax.management.loading.MLet.rcl
Dereferenced at MLet.java:[line 310]
Known null at MLet.java:[line 308]
Possible null pointer dereference of MLet.rcl in javax.management.loading.MLet.addURL(URL)
In class javax.management.loading.PrivateMLet
In PrivateMLet.java
javax.management.loading.PrivateMLet is Externalizable but doesn't define a void constructor
In class javax.management.modelmbean.DescriptorSupport$FieldName
In DescriptorSupport.java
Should javax.management.modelmbean.DescriptorSupport$FieldName be a _static_ inner class?
In class javax.management.modelmbean.RequiredModelMBean
In method javax.management.modelmbean.RequiredModelMBean.RequiredModelMBean()
At RequiredModelMBean.java:[line 67]
javax.management.modelmbean.RequiredModelMBean.RequiredModelMBean() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.modelmbean.RequiredModelMBean
In method javax.management.modelmbean.RequiredModelMBean.RequiredModelMBean(ModelMBeanInfo)
At RequiredModelMBean.java:[line 67]
javax.management.modelmbean.RequiredModelMBean.RequiredModelMBean(ModelMBeanInfo) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.modelmbean.RequiredModelMBean
In method javax.management.modelmbean.RequiredModelMBean.postDeregister()
At RequiredModelMBean.java:[line 295]
javax.management.modelmbean.RequiredModelMBean.postDeregister() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.monitor.StringMonitor
In method javax.management.monitor.StringMonitor.StringMonitor()
At StringMonitor.java:[line 62]
javax.management.monitor.StringMonitor.StringMonitor() invokes inefficient new String() constructor
In class javax.management.monitor.StringMonitor
In method javax.management.monitor.StringMonitor.initObservedObject(ObservedObject)
At StringMonitor.java:[line 232]
javax.management.monitor.StringMonitor.initObservedObject(ObservedObject) invokes inefficient new String() constructor
In class javax.management.openmbean.CompositeType
Field javax.management.openmbean.CompositeType.cachedHashCode
In CompositeType.java
The field javax.management.openmbean.CompositeType.cachedHashCode is transient but isn't set by deserialization
In class javax.management.openmbean.OpenMBeanAttributeInfoSupport
Field javax.management.openmbean.OpenMBeanAttributeInfoSupport.maxValue
In OpenMBeanAttributeInfoSupport.java
Class javax.management.openmbean.OpenMBeanAttributeInfoSupport defines non-transient non-serializable instance field maxValue
In class javax.management.openmbean.OpenMBeanAttributeInfoSupport
Field javax.management.openmbean.OpenMBeanAttributeInfoSupport.minValue
In OpenMBeanAttributeInfoSupport.java
Class javax.management.openmbean.OpenMBeanAttributeInfoSupport defines non-transient non-serializable instance field minValue
In class javax.management.openmbean.OpenMBeanAttributeInfoSupport
Field javax.management.openmbean.OpenMBeanAttributeInfoSupport.cachedHashCode
In OpenMBeanAttributeInfoSupport.java
The field javax.management.openmbean.OpenMBeanAttributeInfoSupport.cachedHashCode is transient but isn't set by deserialization
In class javax.management.openmbean.OpenMBeanInfoSupport
Field javax.management.openmbean.OpenMBeanInfoSupport.cachedHashCode
In OpenMBeanInfoSupport.java
The field javax.management.openmbean.OpenMBeanInfoSupport.cachedHashCode is transient but isn't set by deserialization
In class javax.management.openmbean.OpenMBeanOperationInfoSupport
Field javax.management.openmbean.OpenMBeanOperationInfoSupport.cachedHashCode
In OpenMBeanOperationInfoSupport.java
The field javax.management.openmbean.OpenMBeanOperationInfoSupport.cachedHashCode is transient but isn't set by deserialization
In class javax.management.openmbean.OpenMBeanParameterInfoSupport
Field javax.management.openmbean.OpenMBeanParameterInfoSupport.maxValue
In OpenMBeanParameterInfoSupport.java
Class javax.management.openmbean.OpenMBeanParameterInfoSupport defines non-transient non-serializable instance field maxValue
In class javax.management.openmbean.OpenMBeanParameterInfoSupport
Field javax.management.openmbean.OpenMBeanParameterInfoSupport.minValue
In OpenMBeanParameterInfoSupport.java
Class javax.management.openmbean.OpenMBeanParameterInfoSupport defines non-transient non-serializable instance field minValue
In class javax.management.openmbean.OpenMBeanParameterInfoSupport
Field javax.management.openmbean.OpenMBeanParameterInfoSupport.cachedHashCode
In OpenMBeanParameterInfoSupport.java
The field javax.management.openmbean.OpenMBeanParameterInfoSupport.cachedHashCode is transient but isn't set by deserialization
In class javax.management.openmbean.TabularDataSupport
In method javax.management.openmbean.TabularDataSupport.validateKey(Object[])
At TabularDataSupport.java:[line 404]
Invocation of toString on an array in javax.management.openmbean.TabularDataSupport.validateKey(Object[])
In class javax.management.openmbean.TabularType
Field javax.management.openmbean.TabularType.cachedHashCode
In TabularType.java
The field javax.management.openmbean.TabularType.cachedHashCode is transient but isn't set by deserialization
In class javax.management.relation.MBeanServerNotificationFilter
In method javax.management.relation.MBeanServerNotificationFilter.isNotificationEnabled(Notification)
Actual type javax.management.Notification
Expected javax.management.MBeanServerNotification
Local variable named notification
At MBeanServerNotificationFilter.java:[line 229]
Unchecked/unconfirmed cast from javax.management.Notification to javax.management.MBeanServerNotification in javax.management.relation.MBeanServerNotificationFilter.isNotificationEnabled(Notification)
In class javax.management.relation.RelationNotification
In method javax.management.relation.RelationNotification.init(int, String, Object, long, long, String, String, String, ObjectName, List, String, List, List)
Actual type java.lang.String
At RelationNotification.java:[line 363]
Comparison of String parameter using == or != in javax.management.relation.RelationNotification.init(int, String, Object, long, long, String, String, String, ObjectName, List, String, List, List)
In class javax.management.relation.RelationService
In method javax.management.relation.RelationService.removeRelation(String)
Exception class java.lang.Exception
At RelationService.java:[line 922]
javax.management.relation.RelationService.removeRelation(String) might ignore java.lang.Exception
In class javax.management.relation.RelationService
In method javax.management.relation.RelationService.validateAndAddRelation(String, Object, String)
Exception class java.lang.Exception
At RelationService.java:[line 1549]
javax.management.relation.RelationService.validateAndAddRelation(String, Object, String) might ignore java.lang.Exception
In class javax.management.relation.RelationService
In method javax.management.relation.RelationService.hasRelation(String)
At RelationService.java:[line 746]
javax.management.relation.RelationService.hasRelation(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.relation.RelationService
In method javax.management.relation.RelationService.removeRelation(String)
At RelationService.java:[line 918]
javax.management.relation.RelationService.removeRelation(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.relation.RelationService
In method javax.management.relation.RelationService.validateAndAddRelation(String, Object, String)
At RelationService.java:[line 1539]
javax.management.relation.RelationService.validateAndAddRelation(String, Object, String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.relation.RelationSupport
In method javax.management.relation.RelationSupport.init(String, ObjectName, MBeanServer, String, RoleList)
At RelationSupport.java:[line 436]
javax.management.relation.RelationSupport.init(String, ObjectName, MBeanServer, String, RoleList) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.relation.RelationSupport
In method javax.management.relation.RelationSupport.setRelationServiceManagementFlag(Boolean)
At RelationSupport.java:[line 376]
javax.management.relation.RelationSupport.setRelationServiceManagementFlag(Boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.relation.Role
In method javax.management.relation.Role.clone()
At Role.java:[line 202]
javax.management.relation.Role.clone() does not call super.clone()
In class javax.management.relation.RoleUnresolved
In method javax.management.relation.RoleUnresolved.clone()
At RoleUnresolved.java:[line 200]
javax.management.relation.RoleUnresolved.clone() does not call super.clone()
In class javax.management.timer.Timer
In method javax.management.timer.Timer.getFixedRate(Integer)
At Timer.java:[line 220]
javax.management.timer.Timer.getFixedRate(Integer) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class javax.management.timer.Timer$RegisteredNotification
In Timer.java
javax.management.timer.Timer$RegisteredNotification inherits equals and uses Object.hashCode()
In class javax.resource.spi.InvalidPropertyException
Field javax.resource.spi.InvalidPropertyException.invalidProperties
In InvalidPropertyException.java
Class javax.resource.spi.InvalidPropertyException defines non-transient non-serializable instance field invalidProperties
In class javax.resource.spi.work.WorkEvent
Field javax.resource.spi.work.WorkEvent.work
In WorkEvent.java
Class javax.resource.spi.work.WorkEvent defines non-transient non-serializable instance field work
In class javax.security.jacc.EJBRoleRefPermission
Field javax.security.jacc.EJBRoleRefPermission.hashCode
In EJBRoleRefPermission.java
The field javax.security.jacc.EJBRoleRefPermission.hashCode is transient but isn't set by deserialization
In class javax.security.jacc.URLPattern
In method javax.security.jacc.URLPattern.equals(URLPattern)
At URLPattern.java:[lines 143-148]
javax.security.jacc.URLPattern defines equals(URLPattern) method and uses Object.equals(Object)
In class javax.security.jacc.WebRoleRefPermission
Field javax.security.jacc.WebRoleRefPermission.hashCode
In WebRoleRefPermission.java
The field javax.security.jacc.WebRoleRefPermission.hashCode is transient but isn't set by deserialization
In class javax.xml.registry.RegistryException
Field javax.xml.registry.RegistryException.key
In RegistryException.java
Class javax.xml.registry.RegistryException defines non-transient non-serializable instance field key
In class org.jboss.Main
In method org.jboss.Main.processCommandLine(String[])
At Main.java:[line 273]
Another occurrence at Main.java:[line 306]
Another occurrence at Main.java:[line 382]
Another occurrence at Main.java:[line 389]
org.jboss.Main.processCommandLine(String[]) invokes System.exit(...), which shuts down the entire virtual machine
In class org.jboss.Main
In method org.jboss.Main.makeURL(String)
At Main.java:[line 219]
Exception is caught when Exception is not thrown in org.jboss.Main.makeURL(String)
In class org.jboss.aop.InstanceDomain
In method org.jboss.aop.InstanceDomain.isAdvisorRegistered(Advisor)
Local variable named advisor
At InstanceDomain.java:[line 84]
Self comparison of advisor with itself org.jboss.aop.InstanceDomain.isAdvisorRegistered(Advisor)
In class org.jboss.aop.advice.PrecedenceDefEntry
In method org.jboss.aop.advice.PrecedenceDefEntry.equals(Object)
At PrecedenceDefEntry.java:[lines 55-72]
org.jboss.aop.advice.PrecedenceDefEntry defines equals and uses Object.hashCode()
In class org.jboss.aop.annotation.AnnotationCreator
In method org.jboss.aop.annotation.AnnotationCreator.visit(ASTIdentifier, Object)
At AnnotationCreator.java:[line 139]
org.jboss.aop.annotation.AnnotationCreator.visit(ASTIdentifier, Object) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.aop.annotation.AnnotationCreator
In method org.jboss.aop.annotation.AnnotationCreator.visit(ASTIdentifier, Object)
Local variable named valueOf
Dereferenced at AnnotationCreator.java:[line 187]
Known null at AnnotationCreator.java:[line 178]
Possible null pointer dereference of valueOf in org.jboss.aop.annotation.AnnotationCreator.visit(ASTIdentifier, Object)
In class org.jboss.aop.deployment.AspectManagerService
In method org.jboss.aop.deployment.AspectManagerService.setOptimized(boolean)
Field org.jboss.aop.AspectManager.optimize
At AspectManagerService.java:[line 366]
Write to static field org.jboss.aop.AspectManager.optimize from instance method org.jboss.aop.deployment.AspectManagerService.setOptimized(boolean)
In class org.jboss.aop.deployment.AspectManagerService
In method org.jboss.aop.deployment.AspectManagerService.setSuppressReferenceErrors(boolean)
Field org.jboss.aop.AspectManager.suppressReferenceErrors
At AspectManagerService.java:[line 400]
Write to static field org.jboss.aop.AspectManager.suppressReferenceErrors from instance method org.jboss.aop.deployment.AspectManagerService.setSuppressReferenceErrors(boolean)
In class org.jboss.aop.deployment.AspectManagerService
In method org.jboss.aop.deployment.AspectManagerService.setSuppressTransformationErrors(boolean)
Field org.jboss.aop.AspectManager.suppressTransformationErrors
At AspectManagerService.java:[line 383]
Write to static field org.jboss.aop.AspectManager.suppressTransformationErrors from instance method org.jboss.aop.deployment.AspectManagerService.setSuppressTransformationErrors(boolean)
In class org.jboss.aop.deployment.AspectManagerService
In method org.jboss.aop.deployment.AspectManagerService.setVerbose(boolean)
Field org.jboss.aop.AspectManager.verbose
At AspectManagerService.java:[line 346]
Write to static field org.jboss.aop.AspectManager.verbose from instance method org.jboss.aop.deployment.AspectManagerService.setVerbose(boolean)
In class org.jboss.aop.deployment.AspectManagerService
In method org.jboss.aop.deployment.AspectManagerService.attachTranslator()
Field org.jboss.aop.hook.JDK14TransformerManager.transformer
At AspectManagerService.java:[line 209]
Write to static field org.jboss.aop.hook.JDK14TransformerManager.transformer from instance method org.jboss.aop.deployment.AspectManagerService.attachTranslator()
In class org.jboss.aop.deployment.AspectManagerService
In method org.jboss.aop.deployment.AspectManagerService.detachTranslator()
Field org.jboss.aop.hook.JDK14TransformerManager.transformer
At AspectManagerService.java:[line 228]
Write to static field org.jboss.aop.hook.JDK14TransformerManager.transformer from instance method org.jboss.aop.deployment.AspectManagerService.detachTranslator()
In class org.jboss.aop.deployment.AspectManagerService
Field org.jboss.aop.deployment.AspectManagerService.created
At AspectManagerService.java:[line 68]
Unread field: org.jboss.aop.deployment.AspectManagerService.created
In class org.jboss.aop.deployment.JBossScopedClassLoaderHelper
In method org.jboss.aop.deployment.JBossScopedClassLoaderHelper.isScopedClassLoader(ClassLoader)
Local variable stored in JVM register 4
At JBossScopedClassLoaderHelper.java:[line 68]
Dead store to $L4 in org.jboss.aop.deployment.JBossScopedClassLoaderHelper.isScopedClassLoader(ClassLoader)
In class org.jboss.aop.deployment.LoaderRepositoryUrlUtil
In method org.jboss.aop.deployment.LoaderRepositoryUrlUtil.getLocalUrls(HeirarchicalLoaderRepository3, URL[])
Called method java.net.URL.equals(Object)
At LoaderRepositoryUrlUtil.java:[line 127]
org.jboss.aop.deployment.LoaderRepositoryUrlUtil.getLocalUrls(HeirarchicalLoaderRepository3, URL[]) invokes java.net.URL.equals(Object), which blocks to do domain name resolution
In class org.jboss.aop.deployment.LoaderRepositoryUrlUtil$UrlInfo
In LoaderRepositoryUrlUtil.java
Should org.jboss.aop.deployment.LoaderRepositoryUrlUtil$UrlInfo be a _static_ inner class?
In class org.jboss.aop.deployment.ScopedJBossClassPool
Field org.jboss.aop.deployment.ScopedJBossClassPool.repository
At ScopedJBossClassPool.java:[line 52]
Unread field: org.jboss.aop.deployment.ScopedJBossClassPool.repository
In class org.jboss.aop.pointcut.DeclareTypeMatcher
In method org.jboss.aop.pointcut.DeclareTypeMatcher.visit(ASTHas, Object)
At DeclareTypeMatcher.java:[line 60]
org.jboss.aop.pointcut.DeclareTypeMatcher.visit(ASTHas, Object) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.aop.pointcut.DeclareTypeMatcher
In method org.jboss.aop.pointcut.DeclareTypeMatcher.visit(ASTHasField, Object)
At DeclareTypeMatcher.java:[line 77]
org.jboss.aop.pointcut.DeclareTypeMatcher.visit(ASTHasField, Object) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.aop.proxy.MarshalledClassProxy
Field org.jboss.aop.proxy.MarshalledClassProxy.advisor
In MarshalledClassProxy.java
Class org.jboss.aop.proxy.MarshalledClassProxy defines non-transient non-serializable instance field advisor
In class org.jboss.aop.proxy.MarshalledInterfaceProxy
Field org.jboss.aop.proxy.MarshalledInterfaceProxy.advisor
In MarshalledInterfaceProxy.java
Class org.jboss.aop.proxy.MarshalledInterfaceProxy defines non-transient non-serializable instance field advisor
In class org.jboss.aop.proxy.container.ContainerProxyFactory
In method org.jboss.aop.proxy.container.ContainerProxyFactory.addMethodFromTemplate(CtClass, String)
At ContainerProxyFactory.java:[line 288]
Private method org.jboss.aop.proxy.container.ContainerProxyFactory.addMethodFromTemplate(CtClass, String) is never called
In class org.jboss.aop.proxy.container.ContainerProxyFactory
In method org.jboss.aop.proxy.container.ContainerProxyFactory.createMixins(HashSet, HashMap, HashSet, Set)
At ContainerProxyFactory.java:[line 427]
Method org.jboss.aop.proxy.container.ContainerProxyFactory.createMixins(HashSet, HashMap, HashSet, Set) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.aop.proxy.container.ProxyTemplate
Field org.jboss.aop.proxy.container.ProxyTemplate.instanceAdvisor
Synchronized 80% of the time
Unsynchronized access at ProxyTemplate.java:[line 103]
Synchronized access at ProxyTemplate.java:[line 78]
Synchronized access at ProxyTemplate.java:[line 87]
Synchronized access at ProxyTemplate.java:[line 85]
Synchronized access at ProxyTemplate.java:[line 97]
Inconsistent synchronization of org.jboss.aop.proxy.container.ProxyTemplate.instanceAdvisor; locked 80% of time
In class org.jboss.aop.proxy.container.ProxyTemplate
Field org.jboss.aop.proxy.container.ProxyTemplate.metadata
At ProxyTemplate.java:[line 71]
Unread field: org.jboss.aop.proxy.container.ProxyTemplate.metadata
In class org.jboss.aop.proxy.container.ProxyTemplate
Field org.jboss.aop.proxy.container.ProxyTemplate.mixins
In ProxyTemplate.java
Unused field: org.jboss.aop.proxy.container.ProxyTemplate.mixins
In class org.jboss.aspects.asynch.AsynchMixin
Field org.jboss.aspects.asynch.AsynchMixin.currentFuture
In AsynchMixin.java
The field org.jboss.aspects.asynch.AsynchMixin.currentFuture is transient but isn't set by deserialization
In class org.jboss.aspects.asynch.FutureProxy
Field org.jboss.aspects.asynch.FutureProxy.delegate
Synchronized 63% of the time
Unsynchronized access at FutureProxy.java:[line 86]
Unsynchronized access at FutureProxy.java:[line 86]
Unsynchronized access at FutureProxy.java:[line 57]
Unsynchronized access at FutureProxy.java:[line 81]
Synchronized access at FutureProxy.java:[line 51]
Synchronized access at FutureProxy.java:[line 75]
Synchronized access at FutureProxy.java:[line 78]
Synchronized access at FutureProxy.java:[line 64]
Synchronized access at FutureProxy.java:[line 66]
Synchronized access at FutureProxy.java:[line 67]
Synchronized access at FutureProxy.java:[line 41]
Inconsistent synchronization of org.jboss.aspects.asynch.FutureProxy.delegate; locked 63% of time
In class org.jboss.aspects.asynch.FutureProxy
In method org.jboss.aspects.asynch.FutureProxy.get()
At FutureProxy.java:[line 65]
Wait not in loop in org.jboss.aspects.asynch.FutureProxy.get()
In class org.jboss.aspects.asynchronous.aspects.jboss.AsynchronousInvokeTask
In method org.jboss.aspects.asynchronous.aspects.jboss.AsynchronousInvokeTask.invoke(Object, Class[], Object[], Class)
At AsynchronousInvokeTask.java:[line 101]
Exception is caught when Exception is not thrown in org.jboss.aspects.asynchronous.aspects.jboss.AsynchronousInvokeTask.invoke(Object, Class[], Object[], Class)
In class org.jboss.aspects.dbc.DesignByContractAspect
In method org.jboss.aspects.dbc.DesignByContractAspect.setVerbose(boolean)
Field org.jboss.aspects.dbc.DesignByContractAspect.verbose
At DesignByContractAspect.java:[line 76]
Write to static field org.jboss.aspects.dbc.DesignByContractAspect.verbose from instance method org.jboss.aspects.dbc.DesignByContractAspect.setVerbose(boolean)
In class org.jboss.aspects.dbc.condition.ConstructorCondition
In method org.jboss.aspects.dbc.condition.ConstructorCondition.equals(Object)
At ConstructorCondition.java:[lines 45-53]
org.jboss.aspects.dbc.condition.ConstructorCondition defines equals but not hashCode
In class org.jboss.aspects.dbc.condition.MethodCondition
In method org.jboss.aspects.dbc.condition.MethodCondition.equals(Object)
At MethodCondition.java:[lines 45-53]
org.jboss.aspects.dbc.condition.MethodCondition defines equals but not hashCode
In class org.jboss.aspects.dbc.condition.parser.BeanshellGenerator
In method org.jboss.aspects.dbc.condition.parser.BeanshellGenerator.createLoopCode(LoopExpression, boolean)
At BeanshellGenerator.java:[line 152]
At BeanshellGenerator.java:[line 156]
Method org.jboss.aspects.dbc.condition.parser.BeanshellGenerator.createLoopCode(LoopExpression, boolean) uses the same code for two branches
In class org.jboss.aspects.jmx.JmxIntrospectingMixin
In method org.jboss.aspects.jmx.JmxIntrospectingMixin.getMBeanInfo()
At JmxIntrospectingMixin.java:[line 320]
Exception is caught when Exception is not thrown in org.jboss.aspects.jmx.JmxIntrospectingMixin.getMBeanInfo()
In class org.jboss.aspects.jmx.JmxIntrospectingMixin$OpsKey
In method org.jboss.aspects.jmx.JmxIntrospectingMixin$OpsKey.equals(Object)
At JmxIntrospectingMixin.java:[line 87]
Equals method for org.jboss.aspects.jmx.JmxIntrospectingMixin$OpsKey assumes the argument is of type JmxIntrospectingMixin$OpsKey
In class org.jboss.aspects.jmx.JmxIntrospectingMixin$OpsKey
In method org.jboss.aspects.jmx.JmxIntrospectingMixin$OpsKey.equals(Object)
Local variable named obj
Dereferenced at JmxIntrospectingMixin.java:[line 88]
org.jboss.aspects.jmx.JmxIntrospectingMixin$OpsKey.equals(Object) does not check for null argument
In class org.jboss.aspects.jmx.JmxIntrospectingMixin$OpsKey
In JmxIntrospectingMixin.java
Should org.jboss.aspects.jmx.JmxIntrospectingMixin$OpsKey be a _static_ inner class?
In class org.jboss.aspects.remoting.ClusteredRemoting
In method org.jboss.aspects.remoting.ClusteredRemoting.unregisterClusteredObject(Object)
At ClusteredRemoting.java:[line 142]
Method org.jboss.aspects.remoting.ClusteredRemoting.unregisterClusteredObject(Object) invokes toString() method on a String
In class org.jboss.aspects.remoting.PojiProxy
Field org.jboss.aspects.remoting.PojiProxy.interceptors
In PojiProxy.java
Class org.jboss.aspects.remoting.PojiProxy defines non-transient non-serializable instance field interceptors
In class org.jboss.aspects.tx.TxInterceptor$Required
In method org.jboss.aspects.tx.TxInterceptor$Required.invoke(Invocation)
Value contained in org.jboss.aspects.tx.TxInterceptor$Required.tm
Dereferenced at TxInterceptor.java:[line 187]
Known null at TxInterceptor.java:[line 182]
Possible null pointer dereference of TxInterceptor$Required.tm in org.jboss.aspects.tx.TxInterceptor$Required.invoke(Invocation)
In class org.jboss.aspects.tx.TxInterceptor$RequiresNew
In method org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(Invocation)
Value contained in org.jboss.aspects.tx.TxInterceptor$RequiresNew.tm
Dereferenced at TxInterceptor.java:[line 247]
Known null at TxInterceptor.java:[line 242]
Possible null pointer dereference of TxInterceptor$RequiresNew.tm in org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(Invocation)
In class org.jboss.aspects.tx.TxTimeoutReaderFactory
In method org.jboss.aspects.tx.TxTimeoutReaderFactory.getTxTimeoutReader()
Local variable named clazz
At TxTimeoutReaderFactory.java:[line 38]
Another occurrence at TxTimeoutReaderFactory.java:[line 47]
Dead store to clazz in org.jboss.aspects.tx.TxTimeoutReaderFactory.getTxTimeoutReader()
In class org.jboss.aspects.txlock.QueuedTxLock
Field org.jboss.aspects.txlock.QueuedTxLock.synched
Synchronized 75% of the time
Unsynchronized access at QueuedTxLock.java:[line 333]
Synchronized access at QueuedTxLock.java:[line 76]
Synchronized access at QueuedTxLock.java:[line 80]
Synchronized access at QueuedTxLock.java:[line 88]
Inconsistent synchronization of org.jboss.aspects.txlock.QueuedTxLock.synched; locked 75% of time
In class org.jboss.aspects.txlock.QueuedTxLock
In method org.jboss.aspects.txlock.QueuedTxLock.nextTransaction(boolean)
At QueuedTxLock.java:[line 355]
Naked notify in org.jboss.aspects.txlock.QueuedTxLock.nextTransaction(boolean)
In class org.jboss.aspects.txlock.QueuedTxLock$TxLock
In method org.jboss.aspects.txlock.QueuedTxLock$TxLock.equals(Object)
At QueuedTxLock.java:[line 126]
Equals method for org.jboss.aspects.txlock.QueuedTxLock$TxLock assumes the argument is of type QueuedTxLock$TxLock
In class org.jboss.aspects.txlock.QueuedTxLock$TxLock
In method org.jboss.aspects.txlock.QueuedTxLock$TxLock.equals(Object)
Local variable named obj
Dereferenced at QueuedTxLock.java:[line 128]
org.jboss.aspects.txlock.QueuedTxLock$TxLock.equals(Object) does not check for null argument
In class org.jboss.aspects.txlock.QueuedTxLock$TxLock
In QueuedTxLock.java
Should org.jboss.aspects.txlock.QueuedTxLock$TxLock be a _static_ inner class?
In class org.jboss.aspects.versioned.DistributedFieldUpdate
In method org.jboss.aspects.versioned.DistributedFieldUpdate.equals(Object)
At DistributedFieldUpdate.java:[line 48]
Equals method for org.jboss.aspects.versioned.DistributedFieldUpdate assumes the argument is of type DistributedFieldUpdate
In class org.jboss.aspects.versioned.DistributedFieldUpdate
In method org.jboss.aspects.versioned.DistributedFieldUpdate.equals(Object)
Local variable named obj
Dereferenced at DistributedFieldUpdate.java:[line 49]
org.jboss.aspects.versioned.DistributedFieldUpdate.equals(Object) does not check for null argument
In class org.jboss.aspects.versioned.DistributedListState
Field org.jboss.aspects.versioned.DistributedListState.tm
In DistributedListState.java
The field org.jboss.aspects.versioned.DistributedListState.tm is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedListState
Field org.jboss.aspects.versioned.DistributedListState.txState
In DistributedListState.java
The field org.jboss.aspects.versioned.DistributedListState.txState is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedListState
Field org.jboss.aspects.versioned.DistributedListState.txVersion
In DistributedListState.java
The field org.jboss.aspects.versioned.DistributedListState.txVersion is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedMapState
Field org.jboss.aspects.versioned.DistributedMapState.tm
In DistributedMapState.java
The field org.jboss.aspects.versioned.DistributedMapState.tm is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedMapState
Field org.jboss.aspects.versioned.DistributedMapState.txState
In DistributedMapState.java
The field org.jboss.aspects.versioned.DistributedMapState.txState is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedMapState
Field org.jboss.aspects.versioned.DistributedMapState.txVersion
In DistributedMapState.java
The field org.jboss.aspects.versioned.DistributedMapState.txVersion is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedPOJOState
Field org.jboss.aspects.versioned.DistributedPOJOState.tm
In DistributedPOJOState.java
The field org.jboss.aspects.versioned.DistributedPOJOState.tm is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedPOJOState
Field org.jboss.aspects.versioned.DistributedPOJOState.advisedRef
In DistributedPOJOState.java
The field org.jboss.aspects.versioned.DistributedPOJOState.advisedRef is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedPOJOState
Field org.jboss.aspects.versioned.DistributedPOJOState.txState
In DistributedPOJOState.java
The field org.jboss.aspects.versioned.DistributedPOJOState.txState is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedSetState
Field org.jboss.aspects.versioned.DistributedSetState.tm
In DistributedSetState.java
The field org.jboss.aspects.versioned.DistributedSetState.tm is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedSetState
Field org.jboss.aspects.versioned.DistributedSetState.txState
In DistributedSetState.java
The field org.jboss.aspects.versioned.DistributedSetState.txState is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedSetState
Field org.jboss.aspects.versioned.DistributedSetState.txVersion
In DistributedSetState.java
The field org.jboss.aspects.versioned.DistributedSetState.txVersion is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.DistributedSynchronizationManager
In method org.jboss.aspects.versioned.DistributedSynchronizationManager.acquireRemoteLocks(GUID, List)
Exception class java.lang.Exception
At DistributedSynchronizationManager.java:[line 172]
org.jboss.aspects.versioned.DistributedSynchronizationManager.acquireRemoteLocks(GUID, List) might ignore java.lang.Exception
In class org.jboss.aspects.versioned.StateManager
Field org.jboss.aspects.versioned.StateManager.lock
In StateManager.java
The field org.jboss.aspects.versioned.StateManager.lock is transient but isn't set by deserialization
In class org.jboss.aspects.versioned.VersionedObject$VersionSynchronization
Field org.jboss.aspects.versioned.VersionedObject$VersionSynchronization.tx
At VersionedObject.java:[line 94]
Unread field: org.jboss.aspects.versioned.VersionedObject$VersionSynchronization.tx
In class org.jboss.cache.invalidation.InvalidationManager$InvalidationGroupImpl
In method org.jboss.cache.invalidation.InvalidationManager$InvalidationGroupImpl.getAttribute(String)
At InvalidationManager.java:[line 500]
org.jboss.cache.invalidation.InvalidationManager$InvalidationGroupImpl.getAttribute(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.cache.invalidation.InvalidatorSynchronization
In method org.jboss.cache.invalidation.InvalidatorSynchronization.sendBatchInvalidations()
At InvalidationsTxGrouper.java:[line 205]
Method org.jboss.cache.invalidation.InvalidatorSynchronization.sendBatchInvalidations() makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge
In method org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge.batchInvalidate(BatchInvalidation[], boolean)
At JGCacheInvalidationBridge.java:[line 233]
Invocation of toString on an array in org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge.batchInvalidate(BatchInvalidation[], boolean)
In class org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge
Field org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge.localGroups
Synchronized 75% of the time
Unsynchronized access at JGCacheInvalidationBridge.java:[line 355]
Synchronized access at JGCacheInvalidationBridge.java:[line 482]
Synchronized access at JGCacheInvalidationBridge.java:[line 484]
Synchronized access at JGCacheInvalidationBridge.java:[line 486]
Inconsistent synchronization of org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge.localGroups; locked 75% of time
In class org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor
Masking field org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor.container
Masked field org.jboss.ejb.plugins.AbstractInterceptor.container
In EntityBeanCacheBatchInvalidatorInterceptor.java
Field EntityBeanCacheBatchInvalidatorInterceptor.container masks field in superclass org.jboss.ejb.plugins.AbstractInterceptor
In class org.jboss.console.manager.PluginManager
In method org.jboss.console.manager.PluginManager.getTreeForProfile(String)
At PluginManager.java:[line 269]
Exception is caught when Exception is not thrown in org.jboss.console.manager.PluginManager.getTreeForProfile(String)
In class org.jboss.console.manager.PluginManager
In method org.jboss.console.manager.PluginManager.startService()
Field org.jboss.console.manager.PluginManager.PLUGIN_MANAGER_NAME
At PluginManager.java:[line 114]
Write to static field org.jboss.console.manager.PluginManager.PLUGIN_MANAGER_NAME from instance method org.jboss.console.manager.PluginManager.startService()
In class org.jboss.console.manager.interfaces.impl.DefaultTreeInfo
In method org.jboss.console.manager.interfaces.impl.DefaultTreeInfo.toString()
At DefaultTreeInfo.java:[line 146]
Invocation of toString on an array in org.jboss.console.manager.interfaces.impl.DefaultTreeInfo.toString()
In class org.jboss.console.manager.interfaces.impl.DefaultTreeInfo
In method org.jboss.console.manager.interfaces.impl.DefaultTreeInfo.toString()
At DefaultTreeInfo.java:[line 158]
Method org.jboss.console.manager.interfaces.impl.DefaultTreeInfo.toString() concatenates strings using + in a loop
In class org.jboss.console.manager.interfaces.impl.GraphMBeanAttributeAction
In GraphMBeanAttributeAction.java
org.jboss.console.manager.interfaces.impl.GraphMBeanAttributeAction is Serializable; consider declaring a serialVersionUID
In class org.jboss.console.manager.interfaces.impl.MBeanResource
In method org.jboss.console.manager.interfaces.impl.MBeanResource.equals(Object)
At MBeanResource.java:[lines 103-106]
org.jboss.console.manager.interfaces.impl.MBeanResource defines equals and uses Object.hashCode()
In class org.jboss.console.manager.interfaces.impl.MBeanResource
In MBeanResource.java
org.jboss.console.manager.interfaces.impl.MBeanResource is Serializable; consider declaring a serialVersionUID
In class org.jboss.console.navtree.AdminTreeBrowser
Field org.jboss.console.navtree.AdminTreeBrowser.openNodeAccounter
At AdminTreeBrowser.java:[line 66]
Unread field: org.jboss.console.navtree.AdminTreeBrowser.openNodeAccounter
In class org.jboss.console.navtree.AdminTreeBrowser
Field org.jboss.console.navtree.AdminTreeBrowser.webHost
At AdminTreeBrowser.java:[line 68]
Unread field: org.jboss.console.navtree.AdminTreeBrowser.webHost
In class org.jboss.console.navtree.AdminTreeBrowser
Field org.jboss.console.navtree.AdminTreeBrowser.selectionListener
At AdminTreeBrowser.java:[line 65]
Field only ever set to null: org.jboss.console.navtree.AdminTreeBrowser.selectionListener
In class org.jboss.console.navtree.AdminTreeBrowser$OpenNodeAccounter
In AdminTreeBrowser.java
Should org.jboss.console.navtree.AdminTreeBrowser$OpenNodeAccounter be a _static_ inner class?
In class org.jboss.console.navtree.AppletBrowser
Field org.jboss.console.navtree.AppletBrowser.ctx
In AppletBrowser.java
Class org.jboss.console.navtree.AppletBrowser defines non-transient non-serializable instance field ctx
In class org.jboss.console.navtree.AppletBrowser
Field org.jboss.console.navtree.AppletBrowser.treeBrowser
In AppletBrowser.java
Class org.jboss.console.navtree.AppletBrowser defines non-transient non-serializable instance field treeBrowser
In class org.jboss.console.navtree.TreeCellRenderer
Field org.jboss.console.navtree.TreeCellRenderer.ctx
In TreeCellRenderer.java
Class org.jboss.console.navtree.TreeCellRenderer defines non-transient non-serializable instance field ctx
In class org.jboss.console.plugins.AOPLister
In method org.jboss.console.plugins.AOPLister.populateMethods(ClassAdvisor, ArrayList)
Local variable named method
Dereferenced at AOPLister.java:[line 526]
Known null at AOPLister.java:[line 523]
Known null at AOPLister.java:[line 524]
Possible null pointer dereference of method in org.jboss.console.plugins.AOPLister.populateMethods(ClassAdvisor, ArrayList)
In class org.jboss.console.plugins.AOPLister
In method org.jboss.console.plugins.AOPLister.outputChain(Interceptor[])
At AOPLister.java:[line 848]
Method org.jboss.console.plugins.AOPLister.outputChain(Interceptor[]) concatenates strings using + in a loop
In class org.jboss.console.plugins.AOPLister
Field org.jboss.console.plugins.AOPLister.refreshPoller
In AOPLister.java
Class org.jboss.console.plugins.AOPLister defines non-transient non-serializable instance field refreshPoller
In class org.jboss.console.plugins.AOPLister
In AOPLister.java
org.jboss.console.plugins.AOPLister is Serializable; consider declaring a serialVersionUID
In class org.jboss.console.plugins.AOPLister
In method org.jboss.console.plugins.AOPLister.createConstructorConstructorCallers(int, ClassAdvisor, HashMap)
At AOPLister.java:[line 642]
Method org.jboss.console.plugins.AOPLister.createConstructorConstructorCallers(int, ClassAdvisor, HashMap) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.console.plugins.AOPLister
In method org.jboss.console.plugins.AOPLister.createConstructorMethodCallers(int, ClassAdvisor, HashMap)
At AOPLister.java:[line 615]
Method org.jboss.console.plugins.AOPLister.createConstructorMethodCallers(int, ClassAdvisor, HashMap) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.console.plugins.AOPLister
In method org.jboss.console.plugins.AOPLister.createMethodConstructorCallers(long, ClassAdvisor, HashMap)
At AOPLister.java:[line 696]
Method org.jboss.console.plugins.AOPLister.createMethodConstructorCallers(long, ClassAdvisor, HashMap) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.console.plugins.AOPLister
In method org.jboss.console.plugins.AOPLister.createMethodMethodCallers(long, ClassAdvisor, HashMap)
At AOPLister.java:[line 669]
Method org.jboss.console.plugins.AOPLister.createMethodMethodCallers(long, ClassAdvisor, HashMap) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.console.plugins.J2EEAppLister
In method org.jboss.console.plugins.J2EEAppLister.createModules(String[])
At J2EEAppLister.java:[line 68]
Method org.jboss.console.plugins.J2EEAppLister.createModules(String[]) invokes toString() method on a String
In class org.jboss.console.plugins.JSR77Lister
In method org.jboss.console.plugins.JSR77Lister.createDeployedObjects(String[])
At JSR77Lister.java:[line 188]
Method org.jboss.console.plugins.JSR77Lister.createDeployedObjects(String[]) invokes toString() method on a String
In class org.jboss.console.plugins.JSR77Lister
In method org.jboss.console.plugins.JSR77Lister.createServer(String)
At JSR77Lister.java:[line 217]
Method org.jboss.console.plugins.JSR77Lister.createServer(String) invokes toString() method on a String
In class org.jboss.console.plugins.JSR77Lister
In method org.jboss.console.plugins.JSR77Lister.createSubResources(String[])
At JSR77Lister.java:[line 156]
Method org.jboss.console.plugins.JSR77Lister.createSubResources(String[]) invokes toString() method on a String
In class org.jboss.console.plugins.JSR77Lister$ListerSorter
In JSR77Lister.java
org.jboss.console.plugins.JSR77Lister$ListerSorter implements Comparator but not Serializable
In class org.jboss.console.plugins.JSR77Lister$ListerSorter
In JSR77Lister.java
Should org.jboss.console.plugins.JSR77Lister$ListerSorter be a _static_ inner class?
In class org.jboss.console.plugins.helpers.AbstractPluginWrapper$StandardMBeanChecker
In method org.jboss.console.plugins.helpers.AbstractPluginWrapper$StandardMBeanChecker.isResourceToBeManaged(ManageableResource)
At AbstractPluginWrapper.java:[line 455]
org.jboss.console.plugins.helpers.AbstractPluginWrapper$StandardMBeanChecker.isResourceToBeManaged(ManageableResource) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.console.plugins.helpers.BasePluginWrapper
Masking field org.jboss.console.plugins.helpers.BasePluginWrapper.pluginName
Masked field org.jboss.console.plugins.helpers.AbstractPluginWrapper.pluginName
In BasePluginWrapper.java
Field BasePluginWrapper.pluginName masks field in superclass org.jboss.console.plugins.helpers.AbstractPluginWrapper
In class org.jboss.console.plugins.helpers.BasePluginWrapper
Masking field org.jboss.console.plugins.helpers.BasePluginWrapper.pluginVersion
Masked field org.jboss.console.plugins.helpers.AbstractPluginWrapper.pluginVersion
In BasePluginWrapper.java
Field BasePluginWrapper.pluginVersion masks field in superclass org.jboss.console.plugins.helpers.AbstractPluginWrapper
In class org.jboss.console.plugins.helpers.BasePluginWrapper
Field org.jboss.console.plugins.helpers.BasePluginWrapper.pluginCtx
In BasePluginWrapper.java
Class org.jboss.console.plugins.helpers.BasePluginWrapper defines non-transient non-serializable instance field pluginCtx
In class org.jboss.console.plugins.helpers.BasePluginWrapper
Field org.jboss.console.plugins.helpers.BasePluginWrapper.script
In BasePluginWrapper.java
Class org.jboss.console.plugins.helpers.BasePluginWrapper defines non-transient non-serializable instance field script
In class org.jboss.console.plugins.helpers.BasePluginWrapper
In BasePluginWrapper.java
org.jboss.console.plugins.helpers.BasePluginWrapper is Serializable; consider declaring a serialVersionUID
In class org.jboss.console.plugins.helpers.jmx.DomainData
In method org.jboss.console.plugins.helpers.jmx.DomainData.equals(Object)
At DomainData.java:[line 54]
Equals method for org.jboss.console.plugins.helpers.jmx.DomainData assumes the argument is of type DomainData
In class org.jboss.console.plugins.helpers.jmx.DomainData
In method org.jboss.console.plugins.helpers.jmx.DomainData.equals(Object)
Local variable named obj
Dereferenced at DomainData.java:[line 55]
org.jboss.console.plugins.helpers.jmx.DomainData.equals(Object) does not check for null argument
In class org.jboss.console.plugins.helpers.jmx.MBeanData
In method org.jboss.console.plugins.helpers.jmx.MBeanData.equals(Object)
At MBeanData.java:[lines 123-127]
org.jboss.console.plugins.helpers.jmx.MBeanData defines equals and uses Object.hashCode()
In class org.jboss.console.plugins.helpers.jmx.Server
In method org.jboss.console.plugins.helpers.jmx.Server.setAttributes(String, HashMap)
At Server.java:[line 198]
Load of known null value in org.jboss.console.plugins.helpers.jmx.Server.setAttributes(String, HashMap)
In class org.jboss.console.plugins.helpers.jmx.Server
In method org.jboss.console.plugins.helpers.jmx.Server.setAttributes(String, HashMap)
Local variable named attr
Redundant null check at Server.java:[line 197]
Redundant nullcheck of attr which is known to be null in org.jboss.console.plugins.helpers.jmx.Server.setAttributes(String, HashMap)
In class org.jboss.console.plugins.helpers.jmx.Server
In method org.jboss.console.plugins.helpers.jmx.Server.setAttributes(String, HashMap)
Local variable named attr
Redundant null check at Server.java:[line 198]
Redundant nullcheck of attr which is known to be null in org.jboss.console.plugins.helpers.jmx.Server.setAttributes(String, HashMap)
In class org.jboss.console.plugins.helpers.servlet.TabTag
In TabTag.java
org.jboss.console.plugins.helpers.servlet.TabTag is Serializable; consider declaring a serialVersionUID
In class org.jboss.console.plugins.monitor.CreateSnapshotServlet
In method org.jboss.console.plugins.monitor.CreateSnapshotServlet.doit(HttpServletRequest, HttpServletResponse)
Local variable named val
At CreateSnapshotServlet.java:[line 94]
Dead store to val in org.jboss.console.plugins.monitor.CreateSnapshotServlet.doit(HttpServletRequest, HttpServletResponse)
In class org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet
In method org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
Local variable named val
At CreateStringThresholdMonitorServlet.java:[line 96]
Dead store to val in org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
In class org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet
In method org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
At CreateStringThresholdMonitorServlet.java:[line 207]
org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.console.plugins.monitor.CreateThresholdMonitorServlet
In method org.jboss.console.plugins.monitor.CreateThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
Local variable named val
At CreateThresholdMonitorServlet.java:[line 96]
Dead store to val in org.jboss.console.plugins.monitor.CreateThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
In class org.jboss.console.plugins.monitor.CreateThresholdMonitorServlet
In method org.jboss.console.plugins.monitor.CreateThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
At CreateThresholdMonitorServlet.java:[line 214]
org.jboss.console.plugins.monitor.CreateThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.console.plugins.monitor.ManageSnapshotServlet
In method org.jboss.console.plugins.monitor.ManageSnapshotServlet.doit(HttpServletRequest, HttpServletResponse)
At ManageSnapshotServlet.java:[line 92]
Exception is caught when Exception is not thrown in org.jboss.console.plugins.monitor.ManageSnapshotServlet.doit(HttpServletRequest, HttpServletResponse)
In class org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet
In method org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
At ManageStringThresholdMonitorServlet.java:[line 166]
org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet
In method org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
At ManageStringThresholdMonitorServlet.java:[line 133]
Exception is caught when Exception is not thrown in org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
In class org.jboss.console.plugins.monitor.ManageThresholdMonitorServlet
In method org.jboss.console.plugins.monitor.ManageThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
At ManageThresholdMonitorServlet.java:[line 175]
org.jboss.console.plugins.monitor.ManageThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.console.plugins.monitor.ManageThresholdMonitorServlet
In method org.jboss.console.plugins.monitor.ManageThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
At ManageThresholdMonitorServlet.java:[line 133]
Exception is caught when Exception is not thrown in org.jboss.console.plugins.monitor.ManageThresholdMonitorServlet.doit(HttpServletRequest, HttpServletResponse)
In class org.jboss.console.remote.InvokerServlet
Field org.jboss.console.remote.InvokerServlet.mbeanServer
In InvokerServlet.java
Class org.jboss.console.remote.InvokerServlet defines non-transient non-serializable instance field mbeanServer
In class org.jboss.console.remote.InvokerServlet
In InvokerServlet.java
org.jboss.console.remote.InvokerServlet is Serializable; consider declaring a serialVersionUID
In class org.jboss.console.twiddle.command.InfoCommand
In method org.jboss.console.twiddle.command.InfoCommand.execute(String[])
At InfoCommand.java:[line 148]
Method org.jboss.console.twiddle.command.InfoCommand.execute(String[]) concatenates strings using + in a loop
In class org.jboss.console.twiddle.command.MBeanOp
In method org.jboss.console.twiddle.command.MBeanOp.equals(Object)
At MBeanOp.java:[line 76]
Equals method for org.jboss.console.twiddle.command.MBeanOp assumes the argument is of type MBeanOp
In class org.jboss.console.twiddle.command.MBeanOp
In method org.jboss.console.twiddle.command.MBeanOp.equals(Object)
Local variable named obj
Dereferenced at MBeanOp.java:[line 77]
org.jboss.console.twiddle.command.MBeanOp.equals(Object) does not check for null argument
In class org.jboss.console.twiddle.command.OpCountComparator
In OpCountComparator.java
org.jboss.console.twiddle.command.OpCountComparator implements Comparator but not Serializable
In class org.jboss.console.twiddle.command.SetAttrsCommand
Field org.jboss.console.twiddle.command.SetAttrsCommand.prefix
At SetAttrsCommand.java:[line 56]
Unread field: org.jboss.console.twiddle.command.SetAttrsCommand.prefix
In class org.jboss.console.twiddle.command.SetCommand
In method org.jboss.console.twiddle.command.SetCommand.execute(String[])
Local variable named nat
Dereferenced at SetCommand.java:[line 201]
Known null at SetCommand.java:[line 197]
Possible null pointer dereference of nat in org.jboss.console.twiddle.command.SetCommand.execute(String[])
In class org.jboss.console.twiddle.command.SetCommand
Field org.jboss.console.twiddle.command.SetCommand.query
In SetCommand.java
Unused field: org.jboss.console.twiddle.command.SetCommand.query
In class org.jboss.crypto.CipherSocket
Field org.jboss.crypto.CipherSocket.cipher
In CipherSocket.java
Unused field: org.jboss.crypto.CipherSocket.cipher
In class org.jboss.crypto.digest.SHAInterleave
In method org.jboss.crypto.digest.SHAInterleave.engineDigest()
At SHAInterleave.java:[line 87]
Check for oddness that won't work for negative numbers in org.jboss.crypto.digest.SHAInterleave.engineDigest()
In class org.jboss.crypto.digest.SHAReverseInterleave
In method org.jboss.crypto.digest.SHAReverseInterleave.engineDigest()
At SHAReverseInterleave.java:[line 90]
Check for oddness that won't work for negative numbers in org.jboss.crypto.digest.SHAReverseInterleave.engineDigest()
In class org.jboss.deployment.ClientDeployer
In method org.jboss.deployment.ClientDeployer.accepts(DeploymentInfo)
Exception class java.lang.Exception
At ClientDeployer.java:[line 99]
org.jboss.deployment.ClientDeployer.accepts(DeploymentInfo) might ignore java.lang.Exception
In class org.jboss.deployment.ClientDeployer
In method org.jboss.deployment.ClientDeployer.setupEnvironment(DeploymentInfo, ClientMetaData)
At ClientDeployer.java:[line 295]
Load of known null value in org.jboss.deployment.ClientDeployer.setupEnvironment(DeploymentInfo, ClientMetaData)
In class org.jboss.deployment.DeploymentInfo
In method org.jboss.deployment.DeploymentInfo.cleanup()
Called method java.net.URL.equals(Object)
At DeploymentInfo.java:[line 415]
org.jboss.deployment.DeploymentInfo.cleanup() invokes java.net.URL.equals(Object), which blocks to do domain name resolution
In class org.jboss.deployment.DeploymentInfo
In method org.jboss.deployment.DeploymentInfo.equals(Object)
Called method java.net.URL.equals(Object)
At DeploymentInfo.java:[line 470]
org.jboss.deployment.DeploymentInfo.equals(Object) invokes java.net.URL.equals(Object), which blocks to do domain name resolution
In class org.jboss.deployment.DeploymentInfo
In method org.jboss.deployment.DeploymentInfo.hashCode()
Called method java.net.URL.hashCode()
At DeploymentInfo.java:[line 463]
org.jboss.deployment.DeploymentInfo.hashCode() invokes java.net.URL.hashCode(), which blocks to do domain name resolution
In class org.jboss.deployment.DeploymentInfo
In method org.jboss.deployment.DeploymentInfo.createClassLoaders()
In class java.net.URLClassLoader
At DeploymentInfo.java:[line 254]
org.jboss.deployment.DeploymentInfo.createClassLoaders() creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.deployment.DeploymentInfo
In method org.jboss.deployment.DeploymentInfo.getManifest()
At DeploymentInfo.java:[line 395]
Exception is caught when Exception is not thrown in org.jboss.deployment.DeploymentInfo.getManifest()
In class org.jboss.deployment.DeploymentInfo
Field org.jboss.deployment.DeploymentInfo.document
In DeploymentInfo.java
Class org.jboss.deployment.DeploymentInfo defines non-transient non-serializable instance field document
In class org.jboss.deployment.DeploymentInfo
Field org.jboss.deployment.DeploymentInfo.context
In DeploymentInfo.java
The field org.jboss.deployment.DeploymentInfo.context is transient but isn't set by deserialization
In class org.jboss.deployment.DeploymentSorter
In DeploymentSorter.java
org.jboss.deployment.DeploymentSorter implements Comparator but not Serializable
In class org.jboss.deployment.J2eeApplicationMetaData
In method org.jboss.deployment.J2eeApplicationMetaData.importJBossAppXml(Element)
At J2eeApplicationMetaData.java:[line 216]
Exception is caught when Exception is not thrown in org.jboss.deployment.J2eeApplicationMetaData.importJBossAppXml(Element)
In class org.jboss.deployment.MainDeployer
In method org.jboss.deployment.MainDeployer.getDeployment(URL)
At MainDeployer.java:[line 1325]
org.jboss.deployment.MainDeployer.getDeployment(URL) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.MainDeployer
In method org.jboss.deployment.MainDeployer.listDeployedModules()
Called method java.util.HashMap.put(Object, Object)
At MainDeployer.java:[line 261]
org.jboss.deployment.MainDeployer.listDeployedModules() is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.MainDeployer
In method org.jboss.deployment.MainDeployer.returnSDI(DeploymentInfo, Map)
At MainDeployer.java:[line 1422]
org.jboss.deployment.MainDeployer.returnSDI(DeploymentInfo, Map) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.NetBootFile
In method org.jboss.deployment.NetBootFile.LastModified()
At NetBootFile.java:[line 82]
The method name org.jboss.deployment.NetBootFile.LastModified() doesn't start with an lower case letter
In class org.jboss.deployment.cache.FileDeploymentStore
In method org.jboss.deployment.cache.FileDeploymentStore.get(URL)
At FileDeploymentStore.java:[line 182]
org.jboss.deployment.cache.FileDeploymentStore.get(URL) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.cache.FileDeploymentStore
In method org.jboss.deployment.cache.FileDeploymentStore.put(URL)
At FileDeploymentStore.java:[line 209]
org.jboss.deployment.cache.FileDeploymentStore.put(URL) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.cache.FileDeploymentStore
In method org.jboss.deployment.cache.FileDeploymentStore.setDirectory(File)
Local variable named serverHome
At FileDeploymentStore.java:[line 91]
Double assignment of serverHome in org.jboss.deployment.cache.FileDeploymentStore.setDirectory(File)
In class org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread
In method org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run()
At AbstractDeploymentScanner.java:[line 209]
Mismatched notify() in org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run()
In class org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread
In method org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run()
At AbstractDeploymentScanner.java:[line 233]
Mismatched notify() in org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run()
In class org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread
In method org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run()
At AbstractDeploymentScanner.java:[line 216]
Unconditional wait in org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run()
In class org.jboss.deployment.scanner.HttpURLDeploymentScanner
In method org.jboss.deployment.scanner.HttpURLDeploymentScanner.scan()
Local variable stored in JVM register 7
At HttpURLDeploymentScanner.java:[line 308]
Dead store to $L7 in org.jboss.deployment.scanner.HttpURLDeploymentScanner.scan()
In class org.jboss.deployment.scanner.HttpURLDeploymentScanner
In method org.jboss.deployment.scanner.HttpURLDeploymentScanner.scanRemoteDirectory(HttpURLDeploymentScanner$HttpDeploymentFolder)
Called method java.util.HashMap.get(Object)
At HttpURLDeploymentScanner.java:[line 380]
org.jboss.deployment.scanner.HttpURLDeploymentScanner.scanRemoteDirectory(HttpURLDeploymentScanner$HttpDeploymentFolder) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.scanner.HttpURLDeploymentScanner
In method org.jboss.deployment.scanner.HttpURLDeploymentScanner.scanRemoteDirectory(HttpURLDeploymentScanner$HttpDeploymentFolder)
Called method java.util.HashMap.put(Object, Object)
At HttpURLDeploymentScanner.java:[line 362]
org.jboss.deployment.scanner.HttpURLDeploymentScanner.scanRemoteDirectory(HttpURLDeploymentScanner$HttpDeploymentFolder) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.scanner.HttpURLDeploymentScanner
In method org.jboss.deployment.scanner.HttpURLDeploymentScanner.scanRemoteDirectory(HttpURLDeploymentScanner$HttpDeploymentFolder)
At HttpURLDeploymentScanner.java:[line 380]
org.jboss.deployment.scanner.HttpURLDeploymentScanner.scanRemoteDirectory(HttpURLDeploymentScanner$HttpDeploymentFolder) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.scanner.HttpURLDeploymentScanner$DeployedRemoteURL
In HttpURLDeploymentScanner.java
Should org.jboss.deployment.scanner.HttpURLDeploymentScanner$DeployedRemoteURL be a _static_ inner class?
In class org.jboss.deployment.scanner.HttpURLDeploymentScanner$HttpDeploymentFolder
In HttpURLDeploymentScanner.java
Should org.jboss.deployment.scanner.HttpURLDeploymentScanner$HttpDeploymentFolder be a _static_ inner class?
In class org.jboss.deployment.scanner.HttpURLDeploymentScanner$HttpLister
In HttpURLDeploymentScanner.java
Should org.jboss.deployment.scanner.HttpURLDeploymentScanner$HttpLister be a _static_ inner class?
In class org.jboss.deployment.scanner.URLDeploymentScanner
In method org.jboss.deployment.scanner.URLDeploymentScanner.resumeDeployment(URL, boolean)
Called method java.net.URL.equals(Object)
At URLDeploymentScanner.java:[line 301]
org.jboss.deployment.scanner.URLDeploymentScanner.resumeDeployment(URL, boolean) invokes java.net.URL.equals(Object), which blocks to do domain name resolution
In class org.jboss.deployment.scanner.URLDeploymentScanner
In method org.jboss.deployment.scanner.URLDeploymentScanner.resumeDeployment(URL, boolean)
At URLDeploymentScanner.java:[line 293]
org.jboss.deployment.scanner.URLDeploymentScanner.resumeDeployment(URL, boolean) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.scanner.URLDeploymentScanner
In method org.jboss.deployment.scanner.URLDeploymentScanner.scan()
At URLDeploymentScanner.java:[line 540]
org.jboss.deployment.scanner.URLDeploymentScanner.scan() is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.scanner.URLDeploymentScanner
In method org.jboss.deployment.scanner.URLDeploymentScanner.scan()
At URLDeploymentScanner.java:[line 624]
org.jboss.deployment.scanner.URLDeploymentScanner.scan() is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL
In method org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL.equals(Object)
Called method java.net.URL.equals(Object)
At URLDeploymentScanner.java:[line 823]
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL.equals(Object) invokes java.net.URL.equals(Object), which blocks to do domain name resolution
In class org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL
In method org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL.hashCode()
Called method java.net.URL.hashCode()
At URLDeploymentScanner.java:[line 816]
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL.hashCode() invokes java.net.URL.hashCode(), which blocks to do domain name resolution
In class org.jboss.deployment.scanner.URLDirectoryScanner
In method org.jboss.deployment.scanner.URLDirectoryScanner.addScanner(URLDirectoryScanner$Scanner)
Called method java.util.HashMap.put(Object, Object)
At URLDirectoryScanner.java:[line 156]
Another occurrence at URLDirectoryScanner.java:[line 164]
org.jboss.deployment.scanner.URLDirectoryScanner.addScanner(URLDirectoryScanner$Scanner) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.scanner.URLDirectoryScanner
In method org.jboss.deployment.scanner.URLDirectoryScanner.removeScanURL(URL)
Called method java.util.HashMap.remove(Object)
At URLDirectoryScanner.java:[line 183]
Another occurrence at URLDirectoryScanner.java:[line 194]
org.jboss.deployment.scanner.URLDirectoryScanner.removeScanURL(URL) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.deployment.scanner.URLDirectoryScanner$DirScanner
In method org.jboss.deployment.scanner.URLDirectoryScanner$DirScanner.scan()
At URLDirectoryScanner.java:[lines 617-621]
Switch statement found in org.jboss.deployment.scanner.URLDirectoryScanner$DirScanner.scan() where one case falls through to the next case
In class org.jboss.deployment.spi.DeploymentManagerImpl
In method org.jboss.deployment.spi.DeploymentManagerImpl.distribute(Target[], InputStream, InputStream)
Actual type java.net.URL
Expected java.io.File
At DeploymentManagerImpl.java:[line 363]
Call to equals() comparing different types in org.jboss.deployment.spi.DeploymentManagerImpl.distribute(Target[], InputStream, InputStream)
In class org.jboss.deployment.spi.DeploymentMetaData$Entry
In method org.jboss.deployment.spi.DeploymentMetaData$Entry.hashCode()
At DeploymentMetaData.java:[line 192]
org.jboss.deployment.spi.DeploymentMetaData$Entry.hashCode() invokes inefficient new String(String) constructor
In class org.jboss.deployment.spi.SerializableTargetModuleID
Field org.jboss.deployment.spi.SerializableTargetModuleID.serialVersionUID
In SerializableTargetModuleID.java
org.jboss.deployment.spi.SerializableTargetModuleID.serialVersionUID isn't static
In class org.jboss.deployment.spi.beans.AbstractJBossConfigBean$JBossNullConfigBean
In AbstractJBossConfigBean.java
Should org.jboss.deployment.spi.beans.AbstractJBossConfigBean$JBossNullConfigBean be a _static_ inner class?
In class org.jboss.deployment.spi.beans.JBossExample1ConfigBeanRoot$JBossExample1MainConfigBean
In JBossExample1ConfigBeanRoot.java
Should org.jboss.deployment.spi.beans.JBossExample1ConfigBeanRoot$JBossExample1MainConfigBean be a _static_ inner class?
In class org.jboss.deployment.spi.beans.JBossExample2ConfigBeanRoot$JBossExample2OtherSubConfigBean
In JBossExample2ConfigBeanRoot.java
Should org.jboss.deployment.spi.beans.JBossExample2ConfigBeanRoot$JBossExample2OtherSubConfigBean be a _static_ inner class?
In class org.jboss.deployment.spi.beans.JBossExample2ConfigBeanRoot$JBossExample2SubElementConfigBean
In JBossExample2ConfigBeanRoot.java
Should org.jboss.deployment.spi.beans.JBossExample2ConfigBeanRoot$JBossExample2SubElementConfigBean be a _static_ inner class?
In class org.jboss.deployment.spi.beans.JBossWebConfigBeanRoot$JBossWebConfigBean
In method org.jboss.deployment.spi.beans.JBossWebConfigBeanRoot$JBossWebConfigBean.buildXPathList()
Local variable named contextRoot
At JBossWebConfigBeanRoot.java:[line 75]
Dead store to contextRoot in org.jboss.deployment.spi.beans.JBossWebConfigBeanRoot$JBossWebConfigBean.buildXPathList()
In class org.jboss.deployment.spi.beans.JBossWebConfigBeanRoot$JBossWebConfigBean
In JBossWebConfigBeanRoot.java
Should org.jboss.deployment.spi.beans.JBossWebConfigBeanRoot$JBossWebConfigBean be a _static_ inner class?
In class org.jboss.deployment.spi.beans.TestBeans
In method org.jboss.deployment.spi.beans.TestBeans.indentPrint(int, String)
At TestBeans.java:[line 130]
Method org.jboss.deployment.spi.beans.TestBeans.indentPrint(int, String) concatenates strings using + in a loop
In class org.jboss.deployment.spi.beans.WarConfigBeanRoot$JbossWebConfigBean
In WarConfigBeanRoot.java
Should org.jboss.deployment.spi.beans.WarConfigBeanRoot$JbossWebConfigBean be a _static_ inner class?
In class org.jboss.deployment.spi.beans.WarConfigBeanRoot$JbossWebConfigBean
Field org.jboss.deployment.spi.beans.WarConfigBeanRoot$JbossWebConfigBean.stringPath
In WarConfigBeanRoot.java
Unused field: org.jboss.deployment.spi.beans.WarConfigBeanRoot$JbossWebConfigBean.stringPath
In class org.jboss.ejb.BeanLockManager
In method org.jboss.ejb.BeanLockManager.BeanLockManager(Container)
Exception class java.lang.Exception
At BeanLockManager.java:[line 81]
org.jboss.ejb.BeanLockManager.BeanLockManager(Container) might ignore java.lang.Exception
In class org.jboss.ejb.BeanLockManager
In method org.jboss.ejb.BeanLockManager.removeLockRef(Object)
Local variable named mapLock
At BeanLockManager.java:[line 193]
Another occurrence at BeanLockManager.java:[line 193]
Dead store to mapLock in org.jboss.ejb.BeanLockManager.removeLockRef(Object)
In class org.jboss.ejb.BeanLockManager
Field org.jboss.ejb.BeanLockManager.reentrant
At BeanLockManager.java:[line 55]
Unread field: org.jboss.ejb.BeanLockManager.reentrant
In class org.jboss.ejb.CacheKey
In method org.jboss.ejb.CacheKey.CacheKey(Object)
Local variable named hash
At CacheKey.java:[line 109]
Dead store to hash in org.jboss.ejb.CacheKey.CacheKey(Object)
In class org.jboss.ejb.Container
In method org.jboss.ejb.Container.invoke(Invocation)
At Container.java:[line 967]
Invocation of toString on an array in org.jboss.ejb.Container.invoke(Invocation)
In class org.jboss.ejb.Container
Field org.jboss.ejb.Container.serverAction
At Container.java:[line 207]
Unread field: org.jboss.ejb.Container.serverAction
In class org.jboss.ejb.EJBDeployer
In method org.jboss.ejb.EJBDeployer.destroy(DeploymentInfo)
Called method java.util.HashMap.remove(Object)
At EJBDeployer.java:[line 702]
org.jboss.ejb.EJBDeployer.destroy(DeploymentInfo) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.ejb.EJBDeployer
In method org.jboss.ejb.EJBDeployer.start(DeploymentInfo)
Called method java.util.HashMap.put(Object, Object)
At EJBDeployer.java:[line 668]
org.jboss.ejb.EJBDeployer.start(DeploymentInfo) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.ejb.EJBDeployer
In method org.jboss.ejb.EJBDeployer.create(DeploymentInfo)
In class java.net.URLClassLoader
At EJBDeployer.java:[line 526]
org.jboss.ejb.EJBDeployer.create(DeploymentInfo) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.ejb.EjbUtil
In method org.jboss.ejb.EjbUtil.resolveRelativeLink(MBeanServer, DeploymentInfo, String, boolean)
At EjbUtil.java:[line 162]
Method org.jboss.ejb.EjbUtil.resolveRelativeLink(MBeanServer, DeploymentInfo, String, boolean) concatenates strings using + in a loop
In class org.jboss.ejb.EjbUtil
In method org.jboss.ejb.EjbUtil.resolveRelativeMessageDestination(MBeanServer, DeploymentInfo, String)
At EjbUtil.java:[line 348]
Method org.jboss.ejb.EjbUtil.resolveRelativeMessageDestination(MBeanServer, DeploymentInfo, String) concatenates strings using + in a loop
In class org.jboss.ejb.EnterpriseContext
Field org.jboss.ejb.EnterpriseContext.synch
At EnterpriseContext.java:[line 281]
Unread field: org.jboss.ejb.EnterpriseContext.synch
In class org.jboss.ejb.EnterpriseContext$EJBContextImpl
In method org.jboss.ejb.EnterpriseContext$EJBContextImpl.isCallerInRoleCheckForJacc(String)
Local variable named rolePrincipal
At EnterpriseContext.java:[line 592]
Dead store to rolePrincipal in org.jboss.ejb.EnterpriseContext$EJBContextImpl.isCallerInRoleCheckForJacc(String)
In class org.jboss.ejb.EnterpriseContext$UserTransactionImpl
In method org.jboss.ejb.EnterpriseContext$UserTransactionImpl.commit()
Local variable named status
At EnterpriseContext.java:[line 689]
Dead store to status in org.jboss.ejb.EnterpriseContext$UserTransactionImpl.commit()
In class org.jboss.ejb.EntityEnterpriseContext$TimerServiceWrapper
In EntityEnterpriseContext.java
Should org.jboss.ejb.EntityEnterpriseContext$TimerServiceWrapper be a _static_ inner class?
In class org.jboss.ejb.GlobalTxEntityMap$GlobalTxSynchronization
In GlobalTxEntityMap.java
Should org.jboss.ejb.GlobalTxEntityMap$GlobalTxSynchronization be a _static_ inner class?
In class org.jboss.ejb.MessageDrivenEnterpriseContext$TimerServiceWrapper
In MessageDrivenEnterpriseContext.java
Should org.jboss.ejb.MessageDrivenEnterpriseContext$TimerServiceWrapper be a _static_ inner class?
In class org.jboss.ejb.MessageDrivenEnterpriseContext$TimerServiceWrapper
Field org.jboss.ejb.MessageDrivenEnterpriseContext$TimerServiceWrapper.context
At MessageDrivenEnterpriseContext.java:[line 248]
Unread field: org.jboss.ejb.MessageDrivenEnterpriseContext$TimerServiceWrapper.context
In class org.jboss.ejb.StatefulSessionContainer
In method org.jboss.ejb.StatefulSessionContainer.createService()
At StatefulSessionContainer.java:[line 122]
Exception is caught when Exception is not thrown in org.jboss.ejb.StatefulSessionContainer.createService()
In class org.jboss.ejb.StatefulSessionEnterpriseContext
Field org.jboss.ejb.StatefulSessionEnterpriseContext.ctx
In StatefulSessionEnterpriseContext.java
Class org.jboss.ejb.StatefulSessionEnterpriseContext defines non-transient non-serializable instance field ctx
In class org.jboss.ejb.StatefulSessionEnterpriseContext
Field org.jboss.ejb.StatefulSessionEnterpriseContext.ejbLocalObject
In StatefulSessionEnterpriseContext.java
Class org.jboss.ejb.StatefulSessionEnterpriseContext defines non-transient non-serializable instance field ejbLocalObject
In class org.jboss.ejb.StatefulSessionEnterpriseContext
Field org.jboss.ejb.StatefulSessionEnterpriseContext.ctx
Actual type org.jboss.ejb.StatefulSessionEnterpriseContext$StatefulSessionContextImpl
At StatefulSessionEnterpriseContext.java:[line 67]
org.jboss.ejb.StatefulSessionEnterpriseContext$StatefulSessionContextImpl stored into non-transient field StatefulSessionEnterpriseContext.ctx
In class org.jboss.ejb.StatefulSessionEnterpriseContext
In StatefulSessionEnterpriseContext.java
org.jboss.ejb.StatefulSessionEnterpriseContext is Serializable but its superclass doesn't define an accessible void constructor
In class org.jboss.ejb.StatelessSessionEnterpriseContext$TimerServiceWrapper
In StatelessSessionEnterpriseContext.java
Should org.jboss.ejb.StatelessSessionEnterpriseContext$TimerServiceWrapper be a _static_ inner class?
In class org.jboss.ejb.StatelessSessionEnterpriseContext$TimerServiceWrapper
Field org.jboss.ejb.StatelessSessionEnterpriseContext$TimerServiceWrapper.context
At StatelessSessionEnterpriseContext.java:[line 273]
Unread field: org.jboss.ejb.StatelessSessionEnterpriseContext$TimerServiceWrapper.context
In class org.jboss.ejb.plugins.AbstractInstancePool
In method org.jboss.ejb.plugins.AbstractInstancePool.importXml(Element)
Actual type java.lang.Boolean
At AbstractInstancePool.java:[line 313]
Suspicious comparison of java.lang.Boolean references in org.jboss.ejb.plugins.AbstractInstancePool.importXml(Element)
In class org.jboss.ejb.plugins.AbstractTxInterceptorBMT
In method org.jboss.ejb.plugins.AbstractTxInterceptorBMT.checkStatelessDone()
At AbstractTxInterceptorBMT.java:[lines 231-235]
Switch statement found in org.jboss.ejb.plugins.AbstractTxInterceptorBMT.checkStatelessDone() where one case falls through to the next case
In class org.jboss.ejb.plugins.CMPInMemoryPersistenceManager
In method org.jboss.ejb.plugins.CMPInMemoryPersistenceManager.createService()
Local variable named ejbName
At CMPInMemoryPersistenceManager.java:[line 111]
Dead store to ejbName in org.jboss.ejb.plugins.CMPInMemoryPersistenceManager.createService()
In class org.jboss.ejb.plugins.MetricsInterceptor
Field org.jboss.ejb.plugins.MetricsInterceptor.applicationName
At MetricsInterceptor.java:[line 65]
Unread field: org.jboss.ejb.plugins.MetricsInterceptor.applicationName
In class org.jboss.ejb.plugins.MetricsInterceptor$Entry
In MetricsInterceptor.java
Should org.jboss.ejb.plugins.MetricsInterceptor$Entry be a _static_ inner class?
In class org.jboss.ejb.plugins.SingletonStatelessSessionInstancePool
Field org.jboss.ejb.plugins.SingletonStatelessSessionInstancePool.isSynchronized
Synchronized 50% of the time
Unsynchronized access at SingletonStatelessSessionInstancePool.java:[line 168]
Synchronized access at SingletonStatelessSessionInstancePool.java:[line 83]
Inconsistent synchronization of org.jboss.ejb.plugins.SingletonStatelessSessionInstancePool.isSynchronized; locked 50% of time
In class org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager$DeleteFileAction
In method org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager$DeleteFileAction.run()
At StatefulSessionFilePersistenceManager.java:[line 488]
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager$DeleteFileAction.run() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager$MkdirsFileAction
In method org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager$MkdirsFileAction.run()
At StatefulSessionFilePersistenceManager.java:[line 507]
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager$MkdirsFileAction.run() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.ejb.plugins.TxInterceptorCMT
In method org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(Invocation, Transaction, Transaction, int)
Local variable named tx
Dereferenced at TxInterceptorCMT.java:[line 485]
Known null at TxInterceptorCMT.java:[line 485]
Possible null pointer dereference of tx in org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(Invocation, Transaction, Transaction, int)
In class org.jboss.ejb.plugins.TxInterceptorCMT
In method org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Invocation)
At TxInterceptorCMT.java:[lines 363-371]
Switch statement found in org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Invocation) where one case falls through to the next case
In class org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler
In method org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler.visit(ASTFrom, Object)
Local variable named sql
At EJBQLToSQL92Compiler.java:[line 1262]
Dead store to sql in org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler.visit(ASTFrom, Object)
In class org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler
Field org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler.onFindCMRJoin
At EJBQLToSQL92Compiler.java:[line 1545]
Unread field: org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler.onFindCMRJoin
In class org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler
Field org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler.readAhead
At EJBQLToSQL92Compiler.java:[line 102]
Unread field: org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler.readAhead
In class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand
Field org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.updatedTime
At JDBCAbstractCreateCommand.java:[line 193]
Unread field: org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.updatedTime
In class org.jboss.ejb.plugins.cmp.jdbc.JDBCDynamicQLQuery
In method org.jboss.ejb.plugins.cmp.jdbc.JDBCDynamicQLQuery.execute(Method, Object[], EntityEnterpriseContext, GenericEntityObjectFactory)
Local variable named factory
At JDBCDynamicQLQuery.java:[line 155]
The parameter factory to org.jboss.ejb.plugins.cmp.jdbc.JDBCDynamicQLQuery.execute(Method, Object[], EntityEnterpriseContext, GenericEntityObjectFactory) is dead upon entry but overwritten
In class org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand
In method org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.execute(JDBCCMRFieldBridge, Object)
At JDBCLoadRelationCommand.java:[line 97]
Method org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.execute(JDBCCMRFieldBridge, Object) invokes toString() method on a String
In class org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand
In method org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.execute(JDBCCMRFieldBridge, Object)
At JDBCLoadRelationCommand.java:[line 209]
Method org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.execute(JDBCCMRFieldBridge, Object) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.ejb.plugins.cmp.jdbc.JDBCResultSetReader$2
In method org.jboss.ejb.plugins.cmp.jdbc.JDBCResultSetReader$2.readResult(ResultSet, int, Class)
Called method java.io.Reader.read(char[])
At JDBCResultSetReader.java:[line 80]
org.jboss.ejb.plugins.cmp.jdbc.JDBCResultSetReader$2.readResult(ResultSet, int, Class) ignores result of java.io.Reader.read(char[])
In class org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand
In method org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute()
Field org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.idxCount
At JDBCStartCommand.java:[line 178]
Write to static field org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.idxCount from instance method org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute()
In class org.jboss.ejb.plugins.cmp.jdbc.JDBCStopCommand
In method org.jboss.ejb.plugins.cmp.jdbc.JDBCStopCommand.dropTable(DataSource, String)
At JDBCStopCommand.java:[line 166]
Method org.jboss.ejb.plugins.cmp.jdbc.JDBCStopCommand.dropTable(DataSource, String) passes a nonconstant String to an execute method on an SQL statement
In class org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager$CascadeDeleteRegistry
In JDBCStoreManager.java
Should org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager$CascadeDeleteRegistry be a _static_ inner class?
In class org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory$PropertyStack
In method org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory$PropertyStack.pushPropertyMetaData(JDBCValuePropertyMetaData)
At JDBCTypeFactory.java:[line 837]
org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory$PropertyStack.pushPropertyMetaData(JDBCValuePropertyMetaData) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache
In method org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.getEntityReadAheadInfo(Object)
Local variable named readahead
At ReadAheadCache.java:[line 284]
Redundant null check at ReadAheadCache.java:[line 291]
Nullcheck of readahead at line 291 of value previously dereferenced in org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.getEntityReadAheadInfo(Object)
In class org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge$CMRJDBCType
In method org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge$CMRJDBCType.CMRJDBCType(List)
At JDBCCMRFieldBridge.java:[line 2136]
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge$CMRJDBCType.CMRJDBCType(List) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge$FieldState
Field org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge$FieldState.lastRead
At JDBCCMRFieldBridge.java:[line 1902]
Unread field: org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge$FieldState.lastRead; should this field be static?
In class org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge
In method org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init()
Actual type java.lang.Integer
At JDBCEntityBridge.java:[line 176]
Suspicious comparison of java.lang.Integer references in org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init()
In class org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge
In method org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityMetaData)
Actual type java.lang.Integer
At JDBCEntityBridge.java:[line 1042]
Suspicious comparison of java.lang.Integer references in org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityMetaData)
In class org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet
In method org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.add(Object)
At RelationSet.java:[line 129]
Method org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.add(Object) concatenates strings using + in a loop
In class org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBC30GeneratedKeysCreateCommand
In method org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBC30GeneratedKeysCreateCommand.<static initializer>()
At JDBC30GeneratedKeysCreateCommand.java:[line 58]
Exception is caught when Exception is not thrown in org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBC30GeneratedKeysCreateCommand.<static initializer>()
In class org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCDB2IdentityValLocalCreateCommand
In method org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCDB2IdentityValLocalCreateCommand.executeInsert(int, PreparedStatement, EntityEnterpriseContext)
Need to close java.sql.PreparedStatement
At JDBCDB2IdentityValLocalCreateCommand.java:[line 49]
org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCDB2IdentityValLocalCreateCommand.executeInsert(int, PreparedStatement, EntityEnterpriseContext) may fail to close java.sql.PreparedStatement
In class org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCOptimisticLockingMetaData
In method org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCOptimisticLockingMetaData.constructLockingField(JDBCEntityMetaData, Element)
Actual type java.lang.Integer
At JDBCOptimisticLockingMetaData.java:[line 181]
Suspicious comparison of java.lang.Integer references in org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCOptimisticLockingMetaData.constructLockingField(JDBCEntityMetaData, Element)
In class org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCReadAheadMetaData
In method org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCReadAheadMetaData.<static initializer>()
Field org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCReadAheadMetaData.STRATEGIES
At JDBCReadAheadMetaData.java:[line 44]
Static initializer for org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCReadAheadMetaData creates instance before all static final fields assigned
In class org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData
In method org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.loadKeyFields()
At JDBCRelationshipRoleMetaData.java:[line 378]
Method org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.loadKeyFields() concatenates strings using + in a loop
In class org.jboss.ejb.plugins.cmp.jdbc2.FindByPrimaryKeyCommand
In method org.jboss.ejb.plugins.cmp.jdbc2.FindByPrimaryKeyCommand.FindByPrimaryKeyCommand(JDBCEntityBridge2)
At FindByPrimaryKeyCommand.java:[line 55]
Method org.jboss.ejb.plugins.cmp.jdbc2.FindByPrimaryKeyCommand.FindByPrimaryKeyCommand(JDBCEntityBridge2) concatenates strings using + in a loop
In class org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCCMRFieldBridge2$CollectionValuedFieldState
In method org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCCMRFieldBridge2$CollectionValuedFieldState.cascadeDelete(EntityEnterpriseContext)
Actual type java.lang.Object[]
Expected javax.ejb.EJBLocalObject[]
At JDBCCMRFieldBridge2.java:[line 905]
Impossible cast from java.lang.Object[] to javax.ejb.EJBLocalObject[] in org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCCMRFieldBridge2$CollectionValuedFieldState.cascadeDelete(EntityEnterpriseContext)
In class org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCEntityBridge2
In method org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCEntityBridge2.init()
Actual type java.lang.Integer
At JDBCEntityBridge2.java:[line 94]
Suspicious comparison of java.lang.Integer references in org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCEntityBridge2.init()
In class org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable
In method org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable.start()
At EntityTable.java:[line 315]
Method org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable.start() concatenates strings using + in a loop
In class org.jboss.ejb.plugins.cmp.jdbc2.schema.PartitionedTableCache
In method org.jboss.ejb.plugins.cmp.jdbc2.schema.PartitionedTableCache.getPartitionIndex(Object)
At PartitionedTableCache.java:[line 249]
Bad attempt to compute absolute value of signed 32-bit hashcode in org.jboss.ejb.plugins.cmp.jdbc2.schema.PartitionedTableCache.getPartitionIndex(Object)
In class org.jboss.ejb.plugins.cmp.jdbc2.schema.PartitionedTableCache
Field org.jboss.ejb.plugins.cmp.jdbc2.schema.PartitionedTableCache.listener
At PartitionedTableCache.java:[line 37]
Unread field: org.jboss.ejb.plugins.cmp.jdbc2.schema.PartitionedTableCache.listener
In class org.jboss.ejb.plugins.cmp.jdbc2.schema.RelationTable$RelationKeys
In RelationTable.java
Should org.jboss.ejb.plugins.cmp.jdbc2.schema.RelationTable$RelationKeys be a _static_ inner class?
In class org.jboss.ejb.plugins.cmp.jdbc2.schema.TableCache$CachedRow
In TableCache.java
Should org.jboss.ejb.plugins.cmp.jdbc2.schema.TableCache$CachedRow be a _static_ inner class?
In class org.jboss.ejb.plugins.jms.DLQHandler
In method org.jboss.ejb.plugins.jms.DLQHandler.importXml(Element)
At DLQHandler.java:[line 469]
Exception is caught when Exception is not thrown in org.jboss.ejb.plugins.jms.DLQHandler.importXml(Element)
In class org.jboss.ejb.plugins.jms.DLQHandler$BufferEntry
Field org.jboss.ejb.plugins.jms.DLQHandler$BufferEntry.id
At DLQHandler.java:[line 379]
Unread field: org.jboss.ejb.plugins.jms.DLQHandler$BufferEntry.id
In class org.jboss.ejb.plugins.local.LocalHomeProxy
In method org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(Object, Method, Object[])
At LocalHomeProxy.java:[line 108]
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(Object, Method, Object[]) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.ejb.plugins.local.LocalProxy
In method org.jboss.ejb.plugins.local.LocalProxy.isIdentical(Object, Object)
At LocalProxy.java:[line 143]
org.jboss.ejb.plugins.local.LocalProxy.isIdentical(Object, Object) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock
In method org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.nextTransaction()
At QueuedPessimisticEJBLock.java:[line 402]
Naked notify in org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.nextTransaction()
In class org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock$TxLock
In method org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock$TxLock.equals(Object)
At QueuedPessimisticEJBLock.java:[line 125]
Equals method for org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock$TxLock assumes the argument is of type QueuedPessimisticEJBLock$TxLock
In class org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock$TxLock
In method org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock$TxLock.equals(Object)
Local variable named obj
Dereferenced at QueuedPessimisticEJBLock.java:[line 127]
org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock$TxLock.equals(Object) does not check for null argument
In class org.jboss.ejb.plugins.lock.SimpleReadWriteEJBLock
Field org.jboss.ejb.plugins.lock.SimpleReadWriteEJBLock.methodLock
At SimpleReadWriteEJBLock.java:[line 67]
Unread field: org.jboss.ejb.plugins.lock.SimpleReadWriteEJBLock.methodLock
In class org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin
In method org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.createTableIfNotExists()
At GeneralPurposeDatabasePersistencePlugin.java:[line 146]
Method org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.createTableIfNotExists() passes a nonconstant String to an execute method on an SQL statement
In class org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin
In method org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.insertTimer(String, TimedObjectId, Date, long, Serializable)
At GeneralPurposeDatabasePersistencePlugin.java:[line 177]
A prepared statement is generated from a nonconstant String at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.insertTimer(String, TimedObjectId, Date, long, Serializable)
In class org.jboss.ejb.txtimer.OracleDatabasePersistencePlugin
In method org.jboss.ejb.txtimer.OracleDatabasePersistencePlugin.insertTimer(String, TimedObjectId, Date, long, Serializable)
At OracleDatabasePersistencePlugin.java:[line 68]
A prepared statement is generated from a nonconstant String at org.jboss.ejb.txtimer.OracleDatabasePersistencePlugin.insertTimer(String, TimedObjectId, Date, long, Serializable)
In class org.jboss.ha.framework.interfaces.ClusterNode
In ClusterNode.java
Class org.jboss.ha.framework.interfaces.ClusterNode implements Cloneable but does not define or use clone method
In class org.jboss.ha.framework.interfaces.ClusterNode
In method org.jboss.ha.framework.interfaces.ClusterNode.getShortName(String)
Local variable named hostname
At ClusterNode.java:[line 159]
Redundant null check at ClusterNode.java:[line 161]
Nullcheck of hostname at line 161 of value previously dereferenced in org.jboss.ha.framework.interfaces.ClusterNode.getShortName(String)
In class org.jboss.ha.framework.interfaces.FamilyClusterInfoImpl
In method org.jboss.ha.framework.interfaces.FamilyClusterInfoImpl.equals(Object)
Actual type java.lang.String
At FamilyClusterInfoImpl.java:[line 135]
Comparison of String objects using == or != in org.jboss.ha.framework.interfaces.FamilyClusterInfoImpl.equals(Object)
In class org.jboss.ha.framework.interfaces.HARMIClient
In method org.jboss.ha.framework.interfaces.HARMIClient.readObject(ObjectInputStream)
Local variable named targets
At HARMIClient.java:[line 305]
Dead store to targets in org.jboss.ha.framework.interfaces.HARMIClient.readObject(ObjectInputStream)
In class org.jboss.ha.framework.interfaces.HARMIClient
Field org.jboss.ha.framework.interfaces.HARMIClient.familyClusterInfo
In HARMIClient.java
Class org.jboss.ha.framework.interfaces.HARMIClient defines non-transient non-serializable instance field familyClusterInfo
In class org.jboss.ha.framework.interfaces.ImmutableArrayList
In method org.jboss.ha.framework.interfaces.ImmutableArrayList.clone()
At ImmutableArrayList.java:[line 59]
org.jboss.ha.framework.interfaces.ImmutableArrayList.clone() does not call super.clone()
In class org.jboss.ha.framework.interfaces.ImmutableArrayList$ImmutableArrayListIterator
In ImmutableArrayList.java
Should org.jboss.ha.framework.interfaces.ImmutableArrayList$ImmutableArrayListIterator be a _static_ inner class?
In class org.jboss.ha.framework.interfaces.SubPartitionInfo
In method org.jboss.ha.framework.interfaces.SubPartitionInfo.clone()
At SubPartitionInfo.java:[lines 144-149]
org.jboss.ha.framework.interfaces.SubPartitionInfo.clone() does not call super.clone()
In class org.jboss.ha.framework.interfaces.SubPartitionInfo
In method org.jboss.ha.framework.interfaces.SubPartitionInfo.compareTo(Object)
At SubPartitionInfo.java:[lines 128-136]
org.jboss.ha.framework.interfaces.SubPartitionInfo defines compareTo(Object) and uses Object.equals()
In class org.jboss.ha.framework.interfaces.SubPartitionInfo
In method org.jboss.ha.framework.interfaces.SubPartitionInfo.actsForSubPartition(String)
Local variable named subPartitionName
At SubPartitionInfo.java:[line 112]
Self comparison of subPartitionName with itself org.jboss.ha.framework.interfaces.SubPartitionInfo.actsForSubPartition(String)
In class org.jboss.ha.framework.interfaces.SubPartitionsInfo
In method org.jboss.ha.framework.interfaces.SubPartitionsInfo.clone()
At SubPartitionsInfo.java:[lines 86-97]
org.jboss.ha.framework.interfaces.SubPartitionsInfo.clone() does not call super.clone()
In class org.jboss.ha.framework.interfaces.SubPartitionsInfo
In method org.jboss.ha.framework.interfaces.SubPartitionsInfo.toString()
At SubPartitionsInfo.java:[line 113]
Method org.jboss.ha.framework.interfaces.SubPartitionsInfo.toString() concatenates strings using + in a loop
In class org.jboss.ha.framework.server.ClusterFileTransfer
In method org.jboss.ha.framework.server.ClusterFileTransfer.push(File, String, boolean)
At ClusterFileTransfer.java:[line 263]
org.jboss.ha.framework.server.ClusterFileTransfer.push(File, String, boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.ha.framework.server.DistributedReplicantManagerImpl
In method org.jboss.ha.framework.server.DistributedReplicantManagerImpl.mergeMembers()
At DistributedReplicantManagerImpl.java:[line 933]
Method org.jboss.ha.framework.server.DistributedReplicantManagerImpl.mergeMembers() makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.ha.framework.server.FarmMemberService
In method org.jboss.ha.framework.server.FarmMemberService.farmDeploy(String, File, Date)
At FarmMemberService.java:[line 372]
Exception is caught when Exception is not thrown in org.jboss.ha.framework.server.FarmMemberService.farmDeploy(String, File, Date)
In class org.jboss.ha.framework.server.FarmMemberService
In method org.jboss.ha.framework.server.FarmMemberService.pullNewDeployments(HAPartition, HashMap)
At FarmMemberService.java:[line 233]
Method org.jboss.ha.framework.server.FarmMemberService.pullNewDeployments(HAPartition, HashMap) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.ha.framework.server.HAPartitionImpl
In method org.jboss.ha.framework.server.HAPartitionImpl.setState(byte[])
Actual type java.lang.RuntimeException
Expected java.lang.RuntimeException
At HAPartitionImpl.java:[line 525]
instanceof will always return true in org.jboss.ha.framework.server.HAPartitionImpl.setState(byte[]), since all java.lang.RuntimeException are instances of java.lang.RuntimeException
In class org.jboss.ha.framework.server.HAPartitionImpl
In method org.jboss.ha.framework.server.HAPartitionImpl.logHistory(String)
Exception class java.lang.Exception
At HAPartitionImpl.java:[line 1297]
org.jboss.ha.framework.server.HAPartitionImpl.logHistory(String) might ignore java.lang.Exception
In class org.jboss.ha.framework.server.HAPartitionImpl
In method org.jboss.ha.framework.server.HAPartitionImpl.verifyNodeIsUnique(Vector)
Actual type byte[]
Expected byte[]
At HAPartitionImpl.java:[line 1161]
org.jboss.ha.framework.server.HAPartitionImpl.verifyNodeIsUnique(Vector) invokes equals() on an array, which is equivalent to ==
In class org.jboss.ha.framework.server.HAPartitionImpl
In method org.jboss.ha.framework.server.HAPartitionImpl.setState(byte[])
Local variable named obj
Redundant null check at HAPartitionImpl.java:[line 499]
Redundant nullcheck of obj, which is known to be non-null in org.jboss.ha.framework.server.HAPartitionImpl.setState(byte[])
In class org.jboss.ha.framework.server.HAPartitionImpl
In method org.jboss.ha.framework.server.HAPartitionImpl.setState(byte[])
At HAPartitionImpl.java:[line 509]
Method org.jboss.ha.framework.server.HAPartitionImpl.setState(byte[]) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.ha.framework.server.HAPartitionImpl$MarshallerImpl
In HAPartitionImpl.java
Should org.jboss.ha.framework.server.HAPartitionImpl$MarshallerImpl be a _static_ inner class?
In class org.jboss.ha.framework.server.HARMIServerImpl$RefreshProxiesHATarget
In HARMIServerImpl.java
Should org.jboss.ha.framework.server.HARMIServerImpl$RefreshProxiesHATarget be a _static_ inner class?
In class org.jboss.ha.framework.server.HATarget
Field org.jboss.ha.framework.server.HATarget.latch
Synchronized 75% of the time
Unsynchronized access at HATarget.java:[line 185]
Synchronized access at HATarget.java:[line 163]
Synchronized access at HATarget.java:[line 171]
Synchronized access at HATarget.java:[line 172]
Inconsistent synchronization of org.jboss.ha.framework.server.HATarget.latch; locked 75% of time
In class org.jboss.ha.framework.test.ServiceUnavailableClientInterceptor
In method org.jboss.ha.framework.test.ServiceUnavailableClientInterceptor.getProxyFamilyName(Invocation)
Local variable named loadBalancePolicy
At ServiceUnavailableClientInterceptor.java:[line 126]
Dead store to loadBalancePolicy in org.jboss.ha.framework.test.ServiceUnavailableClientInterceptor.getProxyFamilyName(Invocation)
In class org.jboss.ha.framework.test.ServiceUnavailableClientInterceptor
In method org.jboss.ha.framework.test.ServiceUnavailableClientInterceptor.getProxyFamilyName(Invocation)
Local variable named targets
At ServiceUnavailableClientInterceptor.java:[line 125]
Dead store to targets in org.jboss.ha.framework.test.ServiceUnavailableClientInterceptor.getProxyFamilyName(Invocation)
In class org.jboss.ha.hasessionstate.server.HASessionStateTopologyComputerImpl
In method org.jboss.ha.hasessionstate.server.HASessionStateTopologyComputerImpl.computeNewTopology(SubPartitionsInfo, ArrayList)
Called method org.jboss.ha.hasessionstate.server.HASessionStateTopologyComputerImpl.computerFirstComposition(SubPartitionsInfo, ArrayList)
Argument 1 might be null but must not be null
Local variable named currentTopology
Method invoked at HASessionStateTopologyComputerImpl.java:[line 82]
Known null at HASessionStateTopologyComputerImpl.java:[line 79]
Method call in org.jboss.ha.hasessionstate.server.HASessionStateTopologyComputerImpl.computeNewTopology(SubPartitionsInfo, ArrayList) passes null for unconditionally dereferenced parameter of computerFirstComposition(SubPartitionsInfo, ArrayList)
In class org.jboss.ha.jndi.DetachedHANamingService$AcceptHandler
In method org.jboss.ha.jndi.DetachedHANamingService$AcceptHandler.run()
Field org.jboss.ha.jndi.DetachedHANamingService.bootstrapSocket
Redundant null check at DetachedHANamingService.java:[line 720]
Redundant nullcheck of org.jboss.ha.jndi.DetachedHANamingService.bootstrapSocket, which is known to be non-null in org.jboss.ha.jndi.DetachedHANamingService$AcceptHandler.run()
In class org.jboss.ha.jndi.HAJNDI
Field org.jboss.ha.jndi.HAJNDI.partition
In HAJNDI.java
Class org.jboss.ha.jndi.HAJNDI defines non-transient non-serializable instance field partition
In class org.jboss.ha.jndi.HAJNDI
Field org.jboss.ha.jndi.HAJNDI.haStub
In HAJNDI.java
Class org.jboss.ha.jndi.HAJNDI defines non-transient non-serializable instance field haStub
In class org.jboss.iiop.CorbaORB
In method org.jboss.iiop.CorbaORB.getInstance()
Local variable stored in JVM register 1
At CorbaORB.java:[line 81]
Dead store to $L1 in org.jboss.iiop.CorbaORB.getInstance()
In class org.jboss.iiop.CorbaORBService
In method org.jboss.iiop.CorbaORBService.setSSLComponentsEnabled(boolean)
Field org.jboss.iiop.CorbaORBService.sslComponentsEnabledFlag
At CorbaORBService.java:[line 430]
Write to static field org.jboss.iiop.CorbaORBService.sslComponentsEnabledFlag from instance method org.jboss.iiop.CorbaORBService.setSSLComponentsEnabled(boolean)
In class org.jboss.iiop.CorbaORBService
In method org.jboss.iiop.CorbaORBService.setSendSASAcceptWithExceptionEnabled(boolean)
Field org.jboss.iiop.CorbaORBService.sendSasAcceptWithExceptionEnabledFlag
At CorbaORBService.java:[line 440]
Write to static field org.jboss.iiop.CorbaORBService.sendSasAcceptWithExceptionEnabledFlag from instance method org.jboss.iiop.CorbaORBService.setSendSASAcceptWithExceptionEnabled(boolean)
In class org.jboss.iiop.csiv2.SASTargetInterceptor
Field org.jboss.iiop.csiv2.SASTargetInterceptor.threadLocalData
In SASTargetInterceptor.java
Class org.jboss.iiop.csiv2.SASTargetInterceptor defines non-transient non-serializable instance field threadLocalData
In class org.jboss.iiop.csiv2.SASTargetInterceptor
Field org.jboss.iiop.csiv2.SASTargetInterceptor.threadLocalData
Actual type org.jboss.iiop.csiv2.SASTargetInterceptor$1
At SASTargetInterceptor.java:[line 144]
org.jboss.iiop.csiv2.SASTargetInterceptor$1 stored into non-transient field SASTargetInterceptor.threadLocalData
In class org.jboss.iiop.jacorb.SSLSocketFactory
Field org.jboss.iiop.jacorb.SSLSocketFactory.cipher_suites
At SSLSocketFactory.java:[line 57]
Unread field: org.jboss.iiop.jacorb.SSLSocketFactory.cipher_suites
In class org.jboss.iiop.rmi.InterfaceAnalysis
In method org.jboss.iiop.rmi.InterfaceAnalysis.getAllTypeIds()
Value contained in org.jboss.iiop.rmi.InterfaceAnalysis.allTypeIds
Dereferenced at InterfaceAnalysis.java:[line 120]
Known null at InterfaceAnalysis.java:[line 119]
Possible null pointer dereference of InterfaceAnalysis.allTypeIds in org.jboss.iiop.rmi.InterfaceAnalysis.getAllTypeIds()
In class org.jboss.iiop.rmi.Util
In method org.jboss.iiop.rmi.Util.getSignature(Method)
At Util.java:[lines 603-611]
Private method org.jboss.iiop.rmi.Util.getSignature(Method) is never called
In class org.jboss.iiop.rmi.Util$FieldComparator
In Util.java
org.jboss.iiop.rmi.Util$FieldComparator implements Comparator but not Serializable
In class org.jboss.iiop.rmi.ValueAnalysis
Field org.jboss.iiop.rmi.ValueAnalysis.serialPersistentFields
At ValueAnalysis.java:[line 153]
Unread field: org.jboss.iiop.rmi.ValueAnalysis.serialPersistentFields
In class org.jboss.iiop.rmi.ValueAnalysis$ValueMemberComparator
In ValueAnalysis.java
org.jboss.iiop.rmi.ValueAnalysis$ValueMemberComparator implements Comparator but not Serializable
In class org.jboss.iiop.rmi.ir.InterfaceRepository
Field org.jboss.iiop.rmi.ir.InterfaceRepository.poa
At InterfaceRepository.java:[line 205]
Unread field: org.jboss.iiop.rmi.ir.InterfaceRepository.poa
In class org.jboss.iiop.rmi.marshal.CDRStream$BooleanReader
In method org.jboss.iiop.rmi.marshal.CDRStream$BooleanReader.read(InputStream)
At CDRStream.java:[line 442]
org.jboss.iiop.rmi.marshal.CDRStream$BooleanReader.read(InputStream) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.iiop.test.TestImpl
In method org.jboss.iiop.test.TestImpl.Jack(String)
At TestImpl.java:[line 51]
The method name org.jboss.iiop.test.TestImpl.Jack(String) doesn't start with an lower case letter
In class org.jboss.invocation.InvocationStatistics$TimeStatistic
In InvocationStatistics.java
Should org.jboss.invocation.InvocationStatistics$TimeStatistic be a _static_ inner class?
In class org.jboss.invocation.InvokerInterceptor
In method org.jboss.invocation.InvokerInterceptor.createInvocationCopy(Invocation, IMarshalledValue)
At InvokerInterceptor.java:[line 341]
Method org.jboss.invocation.InvokerInterceptor.createInvocationCopy(Invocation, IMarshalledValue) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.invocation.MarshalledInvocation
In method org.jboss.invocation.MarshalledInvocation.getInterfaceHashes(Class)
At MarshalledInvocation.java:[line 155]
Method org.jboss.invocation.MarshalledInvocation.getInterfaceHashes(Class) concatenates strings using + in a loop
In class org.jboss.invocation.http.interfaces.ClientMethodInterceptor
In method org.jboss.invocation.http.interfaces.ClientMethodInterceptor.invoke(Invocation)
At ClientMethodInterceptor.java:[line 62]
org.jboss.invocation.http.interfaces.ClientMethodInterceptor.invoke(Invocation) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.invocation.http.interfaces.ClientMethodInterceptorHA
In method org.jboss.invocation.http.interfaces.ClientMethodInterceptorHA.invoke(Invocation)
At ClientMethodInterceptorHA.java:[line 64]
org.jboss.invocation.http.interfaces.ClientMethodInterceptorHA.invoke(Invocation) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.invocation.http.interfaces.HttpInvokerProxy
Field org.jboss.invocation.http.interfaces.HttpInvokerProxy.externalURL
In HttpInvokerProxy.java
The field org.jboss.invocation.http.interfaces.HttpInvokerProxy.externalURL is transient but isn't set by deserialization
In class org.jboss.invocation.http.interfaces.HttpInvokerProxyHA
Field org.jboss.invocation.http.interfaces.HttpInvokerProxyHA.trace
In HttpInvokerProxyHA.java
The field org.jboss.invocation.http.interfaces.HttpInvokerProxyHA.trace is transient but isn't set by deserialization
In class org.jboss.invocation.http.server.HttpInvoker
In method org.jboss.invocation.http.server.HttpInvoker.invoke(Invocation)
Actual type org.jboss.invocation.Invocation
Expected org.jboss.invocation.MarshalledInvocation
Local variable named invocation
At HttpInvoker.java:[line 143]
Unchecked/unconfirmed cast from org.jboss.invocation.Invocation to org.jboss.invocation.MarshalledInvocation in org.jboss.invocation.http.server.HttpInvoker.invoke(Invocation)
In class org.jboss.invocation.http.server.HttpProxyFactory
In method org.jboss.invocation.http.server.HttpProxyFactory.getProxy(Object)
Local variable named proxyFactory
At HttpProxyFactory.java:[line 178]
Dead store to proxyFactory in org.jboss.invocation.http.server.HttpProxyFactory.getProxy(Object)
In class org.jboss.invocation.http.server.HttpProxyFactory
In method org.jboss.invocation.http.server.HttpProxyFactory.getProxy(Object)
Local variable named ifaces
At HttpProxyFactory.java:[line 175]
Dead store to ifaces in org.jboss.invocation.http.server.HttpProxyFactory.getProxy(Object)
In class org.jboss.invocation.http.server.HttpProxyFactory
In method org.jboss.invocation.http.server.HttpProxyFactory.getProxy(Object)
Local variable named loader
At HttpProxyFactory.java:[line 177]
Dead store to loader in org.jboss.invocation.http.server.HttpProxyFactory.getProxy(Object)
In class org.jboss.invocation.iiop.IIOPInvoker
In method org.jboss.invocation.iiop.IIOPInvoker.createService()
Field org.jboss.invocation.iiop.IIOPInvoker.theIIOPInvoker
At IIOPInvoker.java:[line 132]
Write to static field org.jboss.invocation.iiop.IIOPInvoker.theIIOPInvoker from instance method org.jboss.invocation.iiop.IIOPInvoker.createService()
In class org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxyHA
Field org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxyHA.trace
In JRMPInvokerProxyHA.java
The field org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxyHA.trace is transient but isn't set by deserialization
In class org.jboss.invocation.jrmp.server.JRMPInvoker
In method org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(Invocation)
Actual type org.jboss.invocation.Invocation
Expected org.jboss.invocation.MarshalledInvocation
Local variable named invocation
At JRMPInvoker.java:[line 414]
Unchecked/unconfirmed cast from org.jboss.invocation.Invocation to org.jboss.invocation.MarshalledInvocation in org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(Invocation)
In class org.jboss.invocation.jrmp.server.JRMPInvoker
In method org.jboss.invocation.jrmp.server.JRMPInvoker.loadCustomSocketFactories()
At JRMPInvoker.java:[line 578]
Exception is caught when Exception is not thrown in org.jboss.invocation.jrmp.server.JRMPInvoker.loadCustomSocketFactories()
In class org.jboss.invocation.jrmp.server.JRMPInvoker
Field org.jboss.invocation.jrmp.server.JRMPInvoker.serverAction
In JRMPInvoker.java
Class org.jboss.invocation.jrmp.server.JRMPInvoker defines non-transient non-serializable instance field serverAction
In class org.jboss.invocation.jrmp.server.JRMPInvoker
Field org.jboss.invocation.jrmp.server.JRMPInvoker.support
Actual type org.jboss.invocation.jrmp.server.JRMPInvoker$1
At JRMPInvoker.java:[line 146]
org.jboss.invocation.jrmp.server.JRMPInvoker$1 stored into non-transient field JRMPInvoker.support
In class org.jboss.invocation.jrmp.server.JRMPInvoker
In JRMPInvoker.java
org.jboss.invocation.jrmp.server.JRMPInvoker is Serializable; consider declaring a serialVersionUID
In class org.jboss.invocation.jrmp.server.JRMPInvokerHA
In method org.jboss.invocation.jrmp.server.JRMPInvokerHA.invoke(Invocation)
Actual type org.jboss.invocation.Invocation
Expected org.jboss.invocation.MarshalledInvocation
Local variable named invocation
At JRMPInvokerHA.java:[line 151]
Unchecked/unconfirmed cast from org.jboss.invocation.Invocation to org.jboss.invocation.MarshalledInvocation in org.jboss.invocation.jrmp.server.JRMPInvokerHA.invoke(Invocation)
In class org.jboss.invocation.jrmp.server.JRMPProxyFactory
In method org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(Invocation)
Actual type org.jboss.invocation.Invocation
Expected org.jboss.invocation.MarshalledInvocation
Local variable named mi
At JRMPProxyFactory.java:[line 168]
Unchecked/unconfirmed cast from org.jboss.invocation.Invocation to org.jboss.invocation.MarshalledInvocation in org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(Invocation)
In class org.jboss.invocation.pooled.interfaces.PooledInvokerProxy
In method org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.clearPool(ServerAddress)
At PooledInvokerProxy.java:[line 382]
Exception is caught when Exception is not thrown in org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.clearPool(ServerAddress)
In class org.jboss.invocation.pooled.interfaces.PooledInvokerProxy
Field org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.trace
In PooledInvokerProxy.java
The field org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.trace is transient but isn't set by deserialization
In class org.jboss.invocation.pooled.interfaces.PooledInvokerProxy$ClientSocket
In method org.jboss.invocation.pooled.interfaces.PooledInvokerProxy$ClientSocket.finalize()
At PooledInvokerProxy.java:[line 253]
Field org.jboss.invocation.pooled.interfaces.PooledInvokerProxy$ClientSocket.socket
org.jboss.invocation.pooled.interfaces.PooledInvokerProxy$ClientSocket.socket is set to null inside finalize method
In class org.jboss.invocation.pooled.interfaces.ServerAddress
Field org.jboss.invocation.pooled.interfaces.ServerAddress.clientSocketFactory
In ServerAddress.java
Class org.jboss.invocation.pooled.interfaces.ServerAddress defines non-transient non-serializable instance field clientSocketFactory
In class org.jboss.invocation.pooled.server.PooledInvoker
In method org.jboss.invocation.pooled.server.PooledInvoker.invoke(Invocation)
Actual type org.jboss.invocation.Invocation
Expected org.jboss.invocation.pooled.interfaces.PooledMarshalledInvocation
Local variable named invocation
At PooledInvoker.java:[line 373]
Unchecked/unconfirmed cast from org.jboss.invocation.Invocation to org.jboss.invocation.pooled.interfaces.PooledMarshalledInvocation in org.jboss.invocation.pooled.server.PooledInvoker.invoke(Invocation)
In class org.jboss.invocation.pooled.server.PooledInvoker
In method org.jboss.invocation.pooled.server.PooledInvoker.loadCustomSocketFactories()
At PooledInvoker.java:[line 855]
Exception is caught when Exception is not thrown in org.jboss.invocation.pooled.server.PooledInvoker.loadCustomSocketFactories()
In class org.jboss.invocation.pooled.server.PooledInvoker
In method org.jboss.invocation.pooled.server.PooledInvoker.startService()
Field org.jboss.invocation.pooled.server.PooledInvoker.tpcFactory
At PooledInvoker.java:[line 188]
Write to static field org.jboss.invocation.pooled.server.PooledInvoker.tpcFactory from instance method org.jboss.invocation.pooled.server.PooledInvoker.startService()
In class org.jboss.invocation.pooled.server.PooledInvoker
In method org.jboss.invocation.pooled.server.PooledInvoker.startService()
Field org.jboss.invocation.pooled.server.PooledInvoker.tpcImporter
At PooledInvoker.java:[line 191]
Write to static field org.jboss.invocation.pooled.server.PooledInvoker.tpcImporter from instance method org.jboss.invocation.pooled.server.PooledInvoker.startService()
In class org.jboss.invocation.pooled.server.PooledInvokerHA
In method org.jboss.invocation.pooled.server.PooledInvokerHA.invoke(Invocation)
Actual type org.jboss.invocation.Invocation
Expected org.jboss.invocation.MarshalledInvocation
Local variable named invocation
At PooledInvokerHA.java:[line 133]
Unchecked/unconfirmed cast from org.jboss.invocation.Invocation to org.jboss.invocation.MarshalledInvocation in org.jboss.invocation.pooled.server.PooledInvokerHA.invoke(Invocation)
In class org.jboss.invocation.unified.marshall.HTTPInvocationMarshaller
In HTTPInvocationMarshaller.java
org.jboss.invocation.unified.marshall.HTTPInvocationMarshaller is Serializable; consider declaring a serialVersionUID
In class org.jboss.invocation.unified.marshall.InvocationMarshaller
In InvocationMarshaller.java
org.jboss.invocation.unified.marshall.InvocationMarshaller is Serializable; consider declaring a serialVersionUID
In class org.jboss.invocation.unified.server.UnifiedInvokerHA
In method org.jboss.invocation.unified.server.UnifiedInvokerHA.createProxy(ObjectName, LoadBalancePolicy, String)
Local variable named familyName
At UnifiedInvokerHA.java:[line 87]
Dead store to familyName in org.jboss.invocation.unified.server.UnifiedInvokerHA.createProxy(ObjectName, LoadBalancePolicy, String)
In class org.jboss.jaxr.juddi.JUDDIService
In method org.jboss.jaxr.juddi.JUDDIService.runScript(InputStream)
Local variable named connection
Dereferenced at JUDDIService.java:[line 137]
Known null at JUDDIService.java:[line 135]
Possible null pointer dereference of connection in org.jboss.jaxr.juddi.JUDDIService.runScript(InputStream)
In class org.jboss.jaxr.juddi.JUDDIService
In method org.jboss.jaxr.juddi.JUDDIService.runScript(InputStream)
At JUDDIService.java:[line 171]
Method org.jboss.jaxr.juddi.JUDDIService.runScript(InputStream) concatenates strings using + in a loop
In class org.jboss.jaxr.juddi.WS4EEJUDDIServlet
In method org.jboss.jaxr.juddi.WS4EEJUDDIServlet.doPost(HttpServletRequest, HttpServletResponse)
At WS4EEJUDDIServlet.java:[line 181]
Exception is caught when Exception is not thrown in org.jboss.jaxr.juddi.WS4EEJUDDIServlet.doPost(HttpServletRequest, HttpServletResponse)
In class org.jboss.jaxr.juddi.WS4EEJUDDIServlet
In WS4EEJUDDIServlet.java
org.jboss.jaxr.juddi.WS4EEJUDDIServlet is Serializable; consider declaring a serialVersionUID
In class org.jboss.jdbc.HypersonicDatabase
In method org.jboss.jdbc.HypersonicDatabase.stopInMemoryDatabase()
Need to close java.sql.Statement
At HypersonicDatabase.java:[line 710]
org.jboss.jdbc.HypersonicDatabase.stopInMemoryDatabase() may fail to close java.sql.Statement
In class org.jboss.jdbc.HypersonicDatabase
In method org.jboss.jdbc.HypersonicDatabase.stopRemoteDatabase()
Need to close java.sql.Statement
At HypersonicDatabase.java:[line 733]
org.jboss.jdbc.HypersonicDatabase.stopRemoteDatabase() may fail to close java.sql.Statement
In class org.jboss.jdbc.HypersonicDatabase
In method org.jboss.jdbc.HypersonicDatabase.stopStandaloneDatabase()
Need to close java.sql.Statement
At HypersonicDatabase.java:[line 689]
org.jboss.jdbc.HypersonicDatabase.stopStandaloneDatabase() may fail to close java.sql.Statement
In class org.jboss.jms.asf.StdServerSessionPoolFactory
Field org.jboss.jms.asf.StdServerSessionPoolFactory.xidFactory
In StdServerSessionPoolFactory.java
Class org.jboss.jms.asf.StdServerSessionPoolFactory defines non-transient non-serializable instance field xidFactory
In class org.jboss.jms.asf.StdServerSessionPoolFactory
Field org.jboss.jms.asf.StdServerSessionPoolFactory.transactionManager
In StdServerSessionPoolFactory.java
Class org.jboss.jms.asf.StdServerSessionPoolFactory defines non-transient non-serializable instance field transactionManager
In class org.jboss.jms.recovery.XAResourceWrapper
In method org.jboss.jms.recovery.XAResourceWrapper.getConnectionFactory()
Local variable named ctx
At XAResourceWrapper.java:[line 311]
Dead store to ctx in org.jboss.jms.recovery.XAResourceWrapper.getConnectionFactory()
In class org.jboss.jmx.adaptor.rmi.RMIRemoteMBeanProxy
Field org.jboss.jmx.adaptor.rmi.RMIRemoteMBeanProxy.remoteServer
In RMIRemoteMBeanProxy.java
Class org.jboss.jmx.adaptor.rmi.RMIRemoteMBeanProxy defines non-transient non-serializable instance field remoteServer
In class org.jboss.jmx.adaptor.snmp.agent.ManagerRecord
In method org.jboss.jmx.adaptor.snmp.agent.ManagerRecord.toString()
At ManagerRecord.java:[line 220]
org.jboss.jmx.adaptor.snmp.agent.ManagerRecord.toString() invokes inefficient new String(String) constructor
In class org.jboss.jmx.adaptor.snmp.agent.ManagerRecord
Field org.jboss.jmx.adaptor.snmp.agent.ManagerRecord.readCommunity
At ManagerRecord.java:[line 70]
Unread field: org.jboss.jmx.adaptor.snmp.agent.ManagerRecord.readCommunity; should this field be static?
In class org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl
In method org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl.SnmpAgentSessionError(SnmpAgentSession, int, Object)
At RequestHandlerImpl.java:[lines 350-364]
The method name org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl.SnmpAgentSessionError(SnmpAgentSession, int, Object) doesn't start with an lower case letter
In class org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl
In method org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl.SnmpAgentSessionError(SnmpAgentSession, int, Object)
At RequestHandlerImpl.java:[line 361]
Naked notify in org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl.SnmpAgentSessionError(SnmpAgentSession, int, Object)
In class org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl
In method org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl.initializeBindings()
At RequestHandlerImpl.java:[line 381]
Usage of GetResource in org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl.initializeBindings() may be unsafe if class is extended
In class org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl$BindEntry
In method org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl$BindEntry.compareTo(Object)
At RequestHandlerImpl.java:[lines 762-777]
org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl$BindEntry defines compareTo(Object) and uses Object.equals()
In class org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport
In method org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport.SnmpAgentSessionError(SnmpAgentSession, int, Object)
At RequestHandlerSupport.java:[lines 240-254]
The method name org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport.SnmpAgentSessionError(SnmpAgentSession, int, Object) doesn't start with an lower case letter
In class org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport
In method org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport.SnmpAgentSessionError(SnmpAgentSession, int, Object)
At RequestHandlerSupport.java:[line 251]
Naked notify in org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport.SnmpAgentSessionError(SnmpAgentSession, int, Object)
In class org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport
In method org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport.snmpReceivedGet(SnmpPduPacket, boolean)
Local variable named result
Redundant null check at RequestHandlerSupport.java:[line 132]
Redundant nullcheck of result which is known to be null in org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport.snmpReceivedGet(SnmpPduPacket, boolean)
In class org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport
In method org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport.snmpReceivedSet(SnmpPduPacket)
Local variable named result
Redundant null check at RequestHandlerSupport.java:[line 179]
Redundant nullcheck of result which is known to be null in org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport.snmpReceivedSet(SnmpPduPacket)
In class org.jboss.jmx.adaptor.snmp.agent.SnmpVarBindFactory$SnmpCounter64Maker
In SnmpVarBindFactory.java
Should org.jboss.jmx.adaptor.snmp.agent.SnmpVarBindFactory$SnmpCounter64Maker be a _static_ inner class?
In class org.jboss.jmx.adaptor.snmp.agent.SnmpVarBindFactory$SnmpInt32Maker
In SnmpVarBindFactory.java
Should org.jboss.jmx.adaptor.snmp.agent.SnmpVarBindFactory$SnmpInt32Maker be a _static_ inner class?
In class org.jboss.jmx.adaptor.snmp.agent.SnmpVarBindFactory$SnmpOctetStringMaker
In SnmpVarBindFactory.java
Should org.jboss.jmx.adaptor.snmp.agent.SnmpVarBindFactory$SnmpOctetStringMaker be a _static_ inner class?
In class org.jboss.jmx.adaptor.snmp.agent.TrapEmitter
In method org.jboss.jmx.adaptor.snmp.agent.TrapEmitter.load()
At TrapEmitter.java:[line 235]
Usage of GetResource in org.jboss.jmx.adaptor.snmp.agent.TrapEmitter.load() may be unsafe if class is extended
In class org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
In method org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport.start()
At TrapFactorySupport.java:[line 148]
Usage of GetResource in org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport.start() may be unsafe if class is extended
In class org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport$NotificationBinding
In method org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport$NotificationBinding.newRoot(Object, UnmarshallingContext, String, String, Attributes)
Local variable named notifList
At TrapFactorySupport.java:[line 424]
Another occurrence at TrapFactorySupport.java:[line 420]
Dead store to notifList in org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport$NotificationBinding.newRoot(Object, UnmarshallingContext, String, String, Attributes)
In class org.jboss.jmx.adaptor.snmp.system.MIB2SystemGroupService
Field org.jboss.jmx.adaptor.snmp.system.MIB2SystemGroupService.sysServices
At MIB2SystemGroupService.java:[line 64]
Unread field: org.jboss.jmx.adaptor.snmp.system.MIB2SystemGroupService.sysServices; should this field be static?
In class org.jboss.jmx.connector.invoker.InvokerAdaptorService
In method org.jboss.jmx.connector.invoker.InvokerAdaptorService.startService()
At InvokerAdaptorService.java:[line 138]
Another occurrence at InvokerAdaptorService.java:[line 153]
Exception is caught when Exception is not thrown in org.jboss.jmx.connector.invoker.InvokerAdaptorService.startService()
In class org.jboss.jmx.connector.invoker.MBeanProxyRemote
In method org.jboss.jmx.connector.invoker.MBeanProxyRemote.stopService()
Field org.jboss.mx.util.MBeanProxyExt.remote
At MBeanProxyRemote.java:[line 75]
Write to static field org.jboss.mx.util.MBeanProxyExt.remote from instance method org.jboss.jmx.connector.invoker.MBeanProxyRemote.stopService()
In class org.jboss.logging.Log4jService
In method org.jboss.logging.Log4jService.getBoolean(String, boolean)
At Log4jService.java:[line 104]
org.jboss.logging.Log4jService.getBoolean(String, boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.logging.Log4jSocketServer$SocketListenerThread
In method org.jboss.logging.Log4jSocketServer$SocketListenerThread.run()
At Log4jSocketServer.java:[line 238]
Unconditional wait in org.jboss.logging.Log4jSocketServer$SocketListenerThread.run()
In class org.jboss.mail.MailService
Field org.jboss.mail.MailService.mMail
In MailService.java
Unused field: org.jboss.mail.MailService.mMail
In class org.jboss.management.j2ee.EJBModule
In method org.jboss.management.j2ee.EJBModule.create(MBeanServer, String, String, URL, ObjectName)
Called method org.jboss.management.j2ee.EJBModule.EJBModule(String, ObjectName, String[], String, ObjectName, String, String, String)
Argument 2 might be null but must not be null
Local variable named lParent
Method invoked at EJBModule.java:[line 152]
Known null at EJBModule.java:[line 125]
Method call in org.jboss.management.j2ee.EJBModule.create(MBeanServer, String, String, URL, ObjectName) passes null for unconditionally dereferenced parameter of EJBModule(String, ObjectName, String[], String, ObjectName, String, String, String)
In class org.jboss.management.j2ee.EJBModule
Field org.jboss.management.j2ee.EJBModule.moduleServiceName
At EJBModule.java:[line 231]
Unread field: org.jboss.management.j2ee.EJBModule.moduleServiceName
In class org.jboss.management.j2ee.J2EEDeployedObject
In method org.jboss.management.j2ee.J2EEDeployedObject.getDeploymentDescriptor(URL, String)
In class java.net.URLClassLoader
At J2EEDeployedObject.java:[line 113]
org.jboss.management.j2ee.J2EEDeployedObject.getDeploymentDescriptor(URL, String) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.management.j2ee.J2EEDomain
In method org.jboss.management.j2ee.J2EEDomain.getDomainServerName(MBeanServer)
At J2EEDomain.java:[line 86]
Exception is caught when Exception is not thrown in org.jboss.management.j2ee.J2EEDomain.getDomainServerName(MBeanServer)
In class org.jboss.management.j2ee.J2EEDomain
In method org.jboss.management.j2ee.J2EEDomain.J2EEDomain(String)
Field org.jboss.management.j2ee.J2EEDomain.domainName
At J2EEDomain.java:[line 99]
Write to static field org.jboss.management.j2ee.J2EEDomain.domainName from instance method org.jboss.management.j2ee.J2EEDomain.J2EEDomain(String)
In class org.jboss.management.j2ee.J2EEManagedObject
In method org.jboss.management.j2ee.J2EEManagedObject.postRegister(Boolean)
Local variable named registrationDone
At J2EEManagedObject.java:[line 339]
Dead store to registrationDone in org.jboss.management.j2ee.J2EEManagedObject.postRegister(Boolean)
In class org.jboss.management.j2ee.J2EEManagedObject
In method org.jboss.management.j2ee.J2EEManagedObject.J2EEManagedObject(String, String, String)
Field org.jboss.management.j2ee.J2EEManagedObject.log
At J2EEManagedObject.java:[line 167]
Write to static field org.jboss.management.j2ee.J2EEManagedObject.log from instance method org.jboss.management.j2ee.J2EEManagedObject.J2EEManagedObject(String, String, String)
In class org.jboss.management.j2ee.J2EEManagedObject
In method org.jboss.management.j2ee.J2EEManagedObject.J2EEManagedObject(String, String, ObjectName)
Field org.jboss.management.j2ee.J2EEManagedObject.log
At J2EEManagedObject.java:[line 192]
Write to static field org.jboss.management.j2ee.J2EEManagedObject.log from instance method org.jboss.management.j2ee.J2EEManagedObject.J2EEManagedObject(String, String, ObjectName)
In class org.jboss.management.j2ee.JCAConnectionFactory
Field org.jboss.management.j2ee.JCAConnectionFactory.cmServiceName
At JCAConnectionFactory.java:[line 115]
Unread field: org.jboss.management.j2ee.JCAConnectionFactory.cmServiceName
In class org.jboss.management.j2ee.JCAConnectionFactory
Field org.jboss.management.j2ee.JCAConnectionFactory.mcfServiceName
At JCAConnectionFactory.java:[line 116]
Unread field: org.jboss.management.j2ee.JCAConnectionFactory.mcfServiceName
In class org.jboss.management.j2ee.JCAResource
In method org.jboss.management.j2ee.JCAResource.create(MBeanServer, String, ObjectName, ObjectName, ObjectName, ObjectName)
Local variable stored in JVM register 8
At JCAResource.java:[line 87]
Dead store to $L8 in org.jboss.management.j2ee.JCAResource.create(MBeanServer, String, ObjectName, ObjectName, ObjectName, ObjectName)
In class org.jboss.management.j2ee.JCAResource
Field org.jboss.management.j2ee.JCAResource.cmServiceName
At JCAResource.java:[line 151]
Unread field: org.jboss.management.j2ee.JCAResource.cmServiceName
In class org.jboss.management.j2ee.JDBCDataSource
In method org.jboss.management.j2ee.JDBCDataSource.create(MBeanServer, String, ObjectName)
Local variable named lServer
At JDBCDataSource.java:[line 59]
Dead store to lServer in org.jboss.management.j2ee.JDBCDataSource.create(MBeanServer, String, ObjectName)
In class org.jboss.management.j2ee.JDBCDataSource
Field org.jboss.management.j2ee.JDBCDataSource.mJdbcDriver
At JDBCDataSource.java:[line 260]
Unwritten field: org.jboss.management.j2ee.JDBCDataSource.mJdbcDriver
In class org.jboss.management.j2ee.JDBCResource
Field org.jboss.management.j2ee.JDBCResource.mService
In JDBCResource.java
Unused field: org.jboss.management.j2ee.JDBCResource.mService
In class org.jboss.management.j2ee.JMSResource
In method org.jboss.management.j2ee.JMSResource.getstats()
Local variable stored in JVM register 2
At JMSResource.java:[line 121]
Dead store to $L2 in org.jboss.management.j2ee.JMSResource.getstats()
In class org.jboss.management.j2ee.ResourceAdapterModule
In method org.jboss.management.j2ee.ResourceAdapterModule.create(MBeanServer, String, String, URL)
Called method org.jboss.management.j2ee.ResourceAdapterModule.ResourceAdapterModule(String, ObjectName, String[], String)
Argument 2 might be null but must not be null
Local variable named lParent
Method invoked at ResourceAdapterModule.java:[line 134]
Known null at ResourceAdapterModule.java:[line 112]
Method call in org.jboss.management.j2ee.ResourceAdapterModule.create(MBeanServer, String, String, URL) passes null for unconditionally dereferenced parameter of ResourceAdapterModule(String, ObjectName, String[], String)
In class org.jboss.management.j2ee.WebModule
In method org.jboss.management.j2ee.WebModule.create(MBeanServer, String, String, URL, ObjectName)
Called method org.jboss.management.j2ee.WebModule.WebModule(String, ObjectName, String[], String, ObjectName, String)
Argument 2 might be null but must not be null
Local variable named jsr77ParentName
Method invoked at WebModule.java:[line 145]
Known null at WebModule.java:[line 121]
Method call in org.jboss.management.j2ee.WebModule.create(MBeanServer, String, String, URL, ObjectName) passes null for unconditionally dereferenced parameter of WebModule(String, ObjectName, String[], String, ObjectName, String)
In class org.jboss.management.j2ee.cluster.HAManagementService
In method org.jboss.management.j2ee.cluster.HAManagementService._invoke(ObjectName, String, Object[], String[])
At HAManagementService.java:[line 315]
Invocation of toString on an array in org.jboss.management.j2ee.cluster.HAManagementService._invoke(ObjectName, String, Object[], String[])
In class org.jboss.management.j2ee.cluster.HAManagementService
In method org.jboss.management.j2ee.cluster.HAManagementService.invoke(ObjectName, String, Object[], String[])
At HAManagementService.java:[line 342]
Invocation of toString on an array in org.jboss.management.j2ee.cluster.HAManagementService.invoke(ObjectName, String, Object[], String[])
In class org.jboss.management.j2ee.statistics.TimeStatisticImpl
In method org.jboss.management.j2ee.statistics.TimeStatisticImpl.add(long)
At TimeStatisticImpl.java:[line 157]
int division result cast to double or float in org.jboss.management.j2ee.statistics.TimeStatisticImpl.add(long)
In class org.jboss.management.j2ee.statistics.TimeStatisticImpl
In method org.jboss.management.j2ee.statistics.TimeStatisticImpl.set(long, long, long, long)
At TimeStatisticImpl.java:[line 190]
int division result cast to double or float in org.jboss.management.j2ee.statistics.TimeStatisticImpl.set(long, long, long, long)
In class org.jboss.management.mejb.ClientNotificationListener
In method org.jboss.management.mejb.ClientNotificationListener.equals(Object)
At ClientNotificationListener.java:[lines 136-143]
org.jboss.management.mejb.ClientNotificationListener defines equals and uses Object.hashCode()
In class org.jboss.management.mejb.JMSClientNotificationListener
In JMSClientNotificationListener.java
org.jboss.management.mejb.JMSClientNotificationListener inherits equals and uses Object.hashCode()
In class org.jboss.management.mejb.ListenerRegistration
Field org.jboss.management.mejb.ListenerRegistration.mHome
In ListenerRegistration.java
Class org.jboss.management.mejb.ListenerRegistration defines non-transient non-serializable instance field mHome
In class org.jboss.management.mejb.ListenerRegistration
In ListenerRegistration.java
org.jboss.management.mejb.ListenerRegistration is Serializable; consider declaring a serialVersionUID
In class org.jboss.management.mejb.ManagementBean
Field org.jboss.management.mejb.ManagementBean.mContext
In ManagementBean.java
Class org.jboss.management.mejb.ManagementBean defines non-transient non-serializable instance field mContext
In class org.jboss.management.mejb.ManagementBean
Field org.jboss.management.mejb.ManagementBean.mbeanServer
In ManagementBean.java
Class org.jboss.management.mejb.ManagementBean defines non-transient non-serializable instance field mbeanServer
In class org.jboss.management.mejb.ManagementBean
In ManagementBean.java
org.jboss.management.mejb.ManagementBean is Serializable; consider declaring a serialVersionUID
In class org.jboss.management.mejb.PollingClientNotificationListener
In PollingClientNotificationListener.java
org.jboss.management.mejb.PollingClientNotificationListener inherits equals and uses Object.hashCode()
In class org.jboss.management.mejb.PollingClientNotificationListener
In method org.jboss.management.mejb.PollingClientNotificationListener.PollingClientNotificationListener(ObjectName, NotificationListener, Object, NotificationFilter, int, int, MEJB)
Called method java.lang.Thread.start()
At PollingClientNotificationListener.java:[line 69]
org.jboss.management.mejb.PollingClientNotificationListener.PollingClientNotificationListener(ObjectName, NotificationListener, Object, NotificationFilter, int, int, MEJB) invokes java.lang.Thread.start()
In class org.jboss.management.mejb.RMIClientNotificationListener
In RMIClientNotificationListener.java
org.jboss.management.mejb.RMIClientNotificationListener inherits equals and uses Object.hashCode()
In class org.jboss.management.mejb.RMIClientNotificationListener
In RMIClientNotificationListener.java
org.jboss.management.mejb.RMIClientNotificationListener is Serializable; consider declaring a serialVersionUID
In class org.jboss.management.mejb.SearchClientNotificationListener
In SearchClientNotificationListener.java
org.jboss.management.mejb.SearchClientNotificationListener inherits equals and uses Object.hashCode()
In class org.jboss.metadata.ApplicationMetaData
In method org.jboss.metadata.ApplicationMetaData.importJbossXml(Element)
At ApplicationMetaData.java:[line 767]
Exception is caught when Exception is not thrown in org.jboss.metadata.ApplicationMetaData.importJbossXml(Element)
In class org.jboss.metadata.ClusterConfigMetaData
In method org.jboss.metadata.ClusterConfigMetaData.init(BeanMetaData)
At ClusterConfigMetaData.java:[line 89]
At ClusterConfigMetaData.java:[line 93]
Method org.jboss.metadata.ClusterConfigMetaData.init(BeanMetaData) uses the same code for two branches
In class org.jboss.metadata.EjbPortComponentMetaData
In method org.jboss.metadata.EjbPortComponentMetaData.importJBossXml(Element)
Local variable named contextRoot
At EjbPortComponentMetaData.java:[line 113]
Self comparison of contextRoot with itself org.jboss.metadata.EjbPortComponentMetaData.importJBossXml(Element)
In class org.jboss.metadata.EnvEntryMetaData
In method org.jboss.metadata.EnvEntryMetaData.bindEnvEntry(Context, EnvEntryMetaData)
At EnvEntryMetaData.java:[line 134]
org.jboss.metadata.EnvEntryMetaData.bindEnvEntry(Context, EnvEntryMetaData) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.metadata.IorSecurityConfigMetaData
Field org.jboss.metadata.IorSecurityConfigMetaData.asContext
In IorSecurityConfigMetaData.java
Class org.jboss.metadata.IorSecurityConfigMetaData defines non-transient non-serializable instance field asContext
In class org.jboss.metadata.IorSecurityConfigMetaData
Field org.jboss.metadata.IorSecurityConfigMetaData.sasContext
In IorSecurityConfigMetaData.java
Class org.jboss.metadata.IorSecurityConfigMetaData defines non-transient non-serializable instance field sasContext
In class org.jboss.metadata.IorSecurityConfigMetaData
Field org.jboss.metadata.IorSecurityConfigMetaData.transportConfig
In IorSecurityConfigMetaData.java
Class org.jboss.metadata.IorSecurityConfigMetaData defines non-transient non-serializable instance field transportConfig
In class org.jboss.metadata.IorSecurityConfigMetaData$AsContext
In IorSecurityConfigMetaData.java
Should org.jboss.metadata.IorSecurityConfigMetaData$AsContext be a _static_ inner class?
In class org.jboss.metadata.IorSecurityConfigMetaData$SasContext
In IorSecurityConfigMetaData.java
Should org.jboss.metadata.IorSecurityConfigMetaData$SasContext be a _static_ inner class?
In class org.jboss.metadata.IorSecurityConfigMetaData$TransportConfig
In IorSecurityConfigMetaData.java
Should org.jboss.metadata.IorSecurityConfigMetaData$TransportConfig be a _static_ inner class?
In class org.jboss.metadata.MetaData
In method org.jboss.metadata.MetaData.getElementContent(Element, String, boolean)
At MetaData.java:[line 249]
Method org.jboss.metadata.MetaData.getElementContent(Element, String, boolean) concatenates strings using + in a loop
In class org.jboss.metadata.MetaData
In method org.jboss.metadata.MetaData.getFirstElementContent(Element, String, boolean)
At MetaData.java:[line 276]
Method org.jboss.metadata.MetaData.getFirstElementContent(Element, String, boolean) concatenates strings using + in a loop
In class org.jboss.metadata.MetaData
In method org.jboss.metadata.MetaData.getFirstElementContent(Element, String, boolean)
At MetaData.java:[line 278]
Useless control flow in org.jboss.metadata.MetaData.getFirstElementContent(Element, String, boolean)
In class org.jboss.metadata.MethodMetaData
In method org.jboss.metadata.MethodMetaData.getClassNames(Class[])
At MethodMetaData.java:[line 368]
Method org.jboss.metadata.MethodMetaData.getClassNames(Class[]) concatenates strings using + in a loop
In class org.jboss.metadata.SessionMetaData
Masking field org.jboss.metadata.SessionMetaData.portComponent
Masked field org.jboss.metadata.BeanMetaData.portComponent
In SessionMetaData.java
Field SessionMetaData.portComponent masks field in superclass org.jboss.metadata.BeanMetaData
In class org.jboss.metadata.SessionMetaData
Masking field org.jboss.metadata.SessionMetaData.serviceEndpointClass
Masked field org.jboss.metadata.BeanMetaData.serviceEndpointClass
In SessionMetaData.java
Field SessionMetaData.serviceEndpointClass masks field in superclass org.jboss.metadata.BeanMetaData
In class org.jboss.metadata.WebSecurityMetaData$WebResourceCollection
In method org.jboss.metadata.WebSecurityMetaData$WebResourceCollection.getUrlPatterns()
Local variable named patterns
At WebSecurityMetaData.java:[line 181]
Dead store to patterns in org.jboss.metadata.WebSecurityMetaData$WebResourceCollection.getUrlPatterns()
In class org.jboss.metadata.serviceref.ServiceRefMetaData
In method org.jboss.metadata.serviceref.ServiceRefMetaData.getResourceCL()
In class java.net.URLClassLoader
At ServiceRefMetaData.java:[line 111]
org.jboss.metadata.serviceref.ServiceRefMetaData.getResourceCL() creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.monitor.SnapshotRecordingMonitor
In method org.jboss.monitor.SnapshotRecordingMonitor.SnapshotRecordingMonitor()
Field org.jboss.monitor.SnapshotRecordingMonitor.monitorName
At SnapshotRecordingMonitor.java:[line 59]
Uninitialized read of monitorName in org.jboss.monitor.SnapshotRecordingMonitor.SnapshotRecordingMonitor()
In class org.jboss.monitor.StringThresholdMonitor
Masking field org.jboss.monitor.StringThresholdMonitor.thresholdString
Masked field org.jboss.monitor.JBossMonitor.thresholdString
In StringThresholdMonitor.java
Field StringThresholdMonitor.thresholdString masks field in superclass org.jboss.monitor.JBossMonitor
In class org.jboss.monitor.alerts.EmailAlertListener
In method org.jboss.monitor.alerts.EmailAlertListener.getTo()
At EmailAlertListener.java:[line 102]
Method org.jboss.monitor.alerts.EmailAlertListener.getTo() concatenates strings using + in a loop
In class org.jboss.monitor.services.ScriptingListener
Field org.jboss.monitor.services.ScriptingListener.targetListener
In ScriptingListener.java
Unused field: org.jboss.monitor.services.ScriptingListener.targetListener
In class org.jboss.mq.Connection
In method org.jboss.mq.Connection.pingServer(long)
Field org.jboss.mq.Connection.trace
At Connection.java:[line 836]
Write to static field org.jboss.mq.Connection.trace from instance method org.jboss.mq.Connection.pingServer(long)
In class org.jboss.mq.ConnectionToken
Field org.jboss.mq.ConnectionToken.clientIL
In ConnectionToken.java
Class org.jboss.mq.ConnectionToken defines non-transient non-serializable instance field clientIL
In class org.jboss.mq.GenericConnectionFactory
Field org.jboss.mq.GenericConnectionFactory.server
In GenericConnectionFactory.java
Class org.jboss.mq.GenericConnectionFactory defines non-transient non-serializable instance field server
In class org.jboss.mq.SpyBytesMessage
Field org.jboss.mq.SpyBytesMessage.ostream
In SpyBytesMessage.java
The field org.jboss.mq.SpyBytesMessage.ostream is transient but isn't set by deserialization
In class org.jboss.mq.SpyBytesMessage
Field org.jboss.mq.SpyBytesMessage.p
In SpyBytesMessage.java
The field org.jboss.mq.SpyBytesMessage.p is transient but isn't set by deserialization
In class org.jboss.mq.SpyConnectionConsumer
In method org.jboss.mq.SpyConnectionConsumer.SpyConnectionConsumer(Connection, Destination, String, ServerSessionPool, int)
Called method java.lang.Thread.start()
At SpyConnectionConsumer.java:[line 114]
org.jboss.mq.SpyConnectionConsumer.SpyConnectionConsumer(Connection, Destination, String, ServerSessionPool, int) invokes java.lang.Thread.start()
In class org.jboss.mq.SpyConnectionConsumer
In method org.jboss.mq.SpyConnectionConsumer.SpyConnectionConsumer(Connection, Destination, String, ServerSessionPool, int)
Field org.jboss.mq.SpyConnectionConsumer.trace
At SpyConnectionConsumer.java:[line 98]
Write to static field org.jboss.mq.SpyConnectionConsumer.trace from instance method org.jboss.mq.SpyConnectionConsumer.SpyConnectionConsumer(Connection, Destination, String, ServerSessionPool, int)
In class org.jboss.mq.SpyConnectionConsumer
Field org.jboss.mq.SpyConnectionConsumer.destination
At SpyConnectionConsumer.java:[line 101]
Unread field: org.jboss.mq.SpyConnectionConsumer.destination
In class org.jboss.mq.SpyMapMessage
In method org.jboss.mq.SpyMapMessage.getDouble(String)
Called method java.lang.Double.parseDouble(String)
At SpyMapMessage.java:[line 380]
Argument 1 is definitely null but must not be null
Non-virtual method call in org.jboss.mq.SpyMapMessage.getDouble(String) passes null for unconditionally dereferenced parameter of Double.parseDouble(String)
In class org.jboss.mq.SpyMapMessage
In method org.jboss.mq.SpyMapMessage.getFloat(String)
Called method java.lang.Float.parseFloat(String)
At SpyMapMessage.java:[line 362]
Argument 1 is definitely null but must not be null
Non-virtual method call in org.jboss.mq.SpyMapMessage.getFloat(String) passes null for unconditionally dereferenced parameter of Float.parseFloat(String)
In class org.jboss.mq.SpyMessage
In method org.jboss.mq.SpyMessage.compareTo(Object)
At SpyMessage.java:[lines 387-397]
org.jboss.mq.SpyMessage defines compareTo(Object) and uses Object.equals()
In class org.jboss.mq.SpyMessage
In method org.jboss.mq.SpyMessage.writeExternal(ObjectOutput)
At SpyMessage.java:[line 817]
Load of known null value in org.jboss.mq.SpyMessage.writeExternal(ObjectOutput)
In class org.jboss.mq.SpyMessage
In method org.jboss.mq.SpyMessage.getDoubleProperty(String)
Called method java.lang.Double.valueOf(String)
At SpyMessage.java:[line 633]
Argument 1 is definitely null but must not be null
Non-virtual method call in org.jboss.mq.SpyMessage.getDoubleProperty(String) passes null for unconditionally dereferenced parameter of Double.valueOf(String)
In class org.jboss.mq.SpyMessage
In method org.jboss.mq.SpyMessage.getFloatProperty(String)
Called method java.lang.Float.valueOf(String)
At SpyMessage.java:[line 619]
Argument 1 is definitely null but must not be null
Non-virtual method call in org.jboss.mq.SpyMessage.getFloatProperty(String) passes null for unconditionally dereferenced parameter of Float.valueOf(String)
In class org.jboss.mq.SpyMessage
Field org.jboss.mq.SpyMessage.header
In SpyMessage.java
Class org.jboss.mq.SpyMessage defines non-transient non-serializable instance field header
In class org.jboss.mq.SpyMessageConsumer
In method org.jboss.mq.SpyMessageConsumer.SpyMessageConsumer(SpySession, boolean)
Field org.jboss.mq.SpyMessageConsumer.trace
At SpyMessageConsumer.java:[line 91]
Write to static field org.jboss.mq.SpyMessageConsumer.trace from instance method org.jboss.mq.SpyMessageConsumer.SpyMessageConsumer(SpySession, boolean)
In class org.jboss.mq.SpyMessageConsumer
In method org.jboss.mq.SpyMessageConsumer.SpyMessageConsumer(SpySession, boolean, SpyDestination, String, boolean)
Field org.jboss.mq.SpyMessageConsumer.trace
At SpyMessageConsumer.java:[line 113]
Write to static field org.jboss.mq.SpyMessageConsumer.trace from instance method org.jboss.mq.SpyMessageConsumer.SpyMessageConsumer(SpySession, boolean, SpyDestination, String, boolean)
In class org.jboss.mq.SpyMessageProducer
In method org.jboss.mq.SpyMessageProducer.SpyMessageProducer(SpySession, Destination)
Field org.jboss.mq.SpyMessageProducer.trace
At SpyMessageProducer.java:[line 86]
Write to static field org.jboss.mq.SpyMessageProducer.trace from instance method org.jboss.mq.SpyMessageProducer.SpyMessageProducer(SpySession, Destination)
In class org.jboss.mq.SpyQueue
In method org.jboss.mq.SpyQueue.equals(Object)
At SpyQueue.java:[lines 95-99]
org.jboss.mq.SpyQueue defines equals but not hashCode
In class org.jboss.mq.SpySession
In method org.jboss.mq.SpySession.commit()
Field org.jboss.mq.SpySession.trace
At SpySession.java:[line 441]
Write to static field org.jboss.mq.SpySession.trace from instance method org.jboss.mq.SpySession.commit()
In class org.jboss.mq.SpySession
In method org.jboss.mq.SpySession.rollback()
Field org.jboss.mq.SpySession.trace
At SpySession.java:[line 484]
Write to static field org.jboss.mq.SpySession.trace from instance method org.jboss.mq.SpySession.rollback()
In class org.jboss.mq.SpySession
In method org.jboss.mq.SpySession.SpySession(Connection, boolean, int, boolean)
Field org.jboss.mq.SpySession.trace
At SpySession.java:[line 132]
Write to static field org.jboss.mq.SpySession.trace from instance method org.jboss.mq.SpySession.SpySession(Connection, boolean, int, boolean)
In class org.jboss.mq.SpySession
In method org.jboss.mq.SpySession.tryDeliveryLock()
At SpySession.java:[line 1015]
Wait not in loop in org.jboss.mq.SpySession.tryDeliveryLock()
In class org.jboss.mq.SpyTopic
In method org.jboss.mq.SpyTopic.equals(Object)
At SpyTopic.java:[lines 128-132]
org.jboss.mq.SpyTopic defines equals but not hashCode
In class org.jboss.mq.SpyXAResource
In method org.jboss.mq.SpyXAResource.start(Xid, int)
At SpyXAResource.java:[line 233]
Mismatched notify() in org.jboss.mq.SpyXAResource.start(Xid, int)
In class org.jboss.mq.SpyXAResource
In method org.jboss.mq.SpyXAResource.SpyXAResource(SpySession)
Field org.jboss.mq.SpyXAResource.trace
At SpyXAResource.java:[line 55]
Write to static field org.jboss.mq.SpyXAResource.trace from instance method org.jboss.mq.SpyXAResource.SpyXAResource(SpySession)
In class org.jboss.mq.il.http.HTTPClientILService
In method org.jboss.mq.il.http.HTTPClientILService.run()
At HTTPClientILService.java:[line 178]
Invocation of toString on an array in org.jboss.mq.il.http.HTTPClientILService.run()
In class org.jboss.mq.il.http.HTTPILRequest
In method org.jboss.mq.il.http.HTTPILRequest.toString()
At HTTPILRequest.java:[line 94]
Method org.jboss.mq.il.http.HTTPILRequest.toString() concatenates strings using + in a loop
In class org.jboss.mq.il.http.HTTPILResponse
In method org.jboss.mq.il.http.HTTPILResponse.toString()
At HTTPILResponse.java:[line 60]
org.jboss.mq.il.http.HTTPILResponse.toString() may return null
In class org.jboss.mq.il.http.HTTPServerIL
In method org.jboss.mq.il.http.HTTPServerIL.setEnabled(ConnectionToken, boolean)
At HTTPServerIL.java:[line 319]
org.jboss.mq.il.http.HTTPServerIL.setEnabled(ConnectionToken, boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.mq.il.http.HTTPServerIL
In method org.jboss.mq.il.http.HTTPServerIL.createQueue(ConnectionToken, String)
At HTTPServerIL.java:[line 186]
Method org.jboss.mq.il.http.HTTPServerIL.createQueue(ConnectionToken, String) invokes toString() method on a String
In class org.jboss.mq.il.http.HTTPServerIL
In method org.jboss.mq.il.http.HTTPServerIL.createTopic(ConnectionToken, String)
At HTTPServerIL.java:[line 200]
Method org.jboss.mq.il.http.HTTPServerIL.createTopic(ConnectionToken, String) invokes toString() method on a String
In class org.jboss.mq.il.http.HTTPServerILService
In method org.jboss.mq.il.http.HTTPServerILService.setRestInterval(int)
At HTTPServerILService.java:[line 138]
Result of integer multiplication cast to long in org.jboss.mq.il.http.HTTPServerILService.setRestInterval(int)
In class org.jboss.mq.il.http.HTTPServerILService
In method org.jboss.mq.il.http.HTTPServerILService.setTimeOut(int)
At HTTPServerILService.java:[line 109]
Result of integer multiplication cast to long in org.jboss.mq.il.http.HTTPServerILService.setTimeOut(int)
In class org.jboss.mq.il.oil.OILServerILService$Client
In method org.jboss.mq.il.oil.OILServerILService$Client.run()
At OILServerILService.java:[line 372]
Exception is caught when Exception is not thrown in org.jboss.mq.il.oil.OILServerILService$Client.run()
In class org.jboss.mq.il.oil2.OIL2Request
In method org.jboss.mq.il.oil2.OIL2Request.toString()
At OIL2Request.java:[line 328]
Invocation of toString on an array in org.jboss.mq.il.oil2.OIL2Request.toString()
In class org.jboss.mq.il.oil2.OIL2Request
In method org.jboss.mq.il.oil2.OIL2Request.readExternal(ObjectInput)
At OIL2Request.java:[line 272]
org.jboss.mq.il.oil2.OIL2Request.readExternal(ObjectInput) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.mq.il.oil2.OIL2ServerIL
In method org.jboss.mq.il.oil2.OIL2ServerIL.setEnabled(ConnectionToken, boolean)
At OIL2ServerIL.java:[line 231]
org.jboss.mq.il.oil2.OIL2ServerIL.setEnabled(ConnectionToken, boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.mq.il.oil2.OIL2ServerIL
Field org.jboss.mq.il.oil2.OIL2ServerIL.socketHandler
In OIL2ServerIL.java
Class org.jboss.mq.il.oil2.OIL2ServerIL defines non-transient non-serializable instance field socketHandler
In class org.jboss.mq.il.oil2.OIL2ServerIL$RequestListner
In OIL2ServerIL.java
Should org.jboss.mq.il.oil2.OIL2ServerIL$RequestListner be a _static_ inner class?
In class org.jboss.mq.il.oil2.OIL2ServerILService$RequestListner
Field org.jboss.mq.il.oil2.OIL2ServerILService$RequestListner.socket
At OIL2ServerILService.java:[line 320]
Field only ever set to null: org.jboss.mq.il.oil2.OIL2ServerILService$RequestListner.socket
In class org.jboss.mq.il.oil2.OIL2SocketHandler
In OIL2SocketHandler.java
Class org.jboss.mq.il.oil2.OIL2SocketHandler implements Cloneable but does not define or use clone method
In class org.jboss.mq.il.oil2.OIL2SocketHandler
In method org.jboss.mq.il.oil2.OIL2SocketHandler.OIL2SocketHandler(ObjectInputStream, ObjectOutputStream, ThreadGroup)
Field org.jboss.mq.il.oil2.OIL2SocketHandler.pool
At OIL2SocketHandler.java:[line 126]
Uninitialized read of pool in org.jboss.mq.il.oil2.OIL2SocketHandler.OIL2SocketHandler(ObjectInputStream, ObjectOutputStream, ThreadGroup)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.AcknowledgementRequestMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 103]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.AcknowledgementRequestMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.AddMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 110]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.AddMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.BrowseMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 115]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.BrowseMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.CheckIDMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 121]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.CheckIDMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.CheckUserMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 218]
Another occurrence at ServerSocketManagerHandler.java:[line 234]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.CheckUserMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 95]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.CreateDestMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 135]
Another occurrence at ServerSocketManagerHandler.java:[line 141]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.CreateDestMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.DeleteSubscriptionMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 212]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.DeleteSubscriptionMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.DeleteTemporaryDestMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 147]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.DeleteTemporaryDestMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.EnableConnectionMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 179]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.EnableConnectionMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.GetIDMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 153]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.GetIDMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.PingMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 225]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.PingMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.ReceiveMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 173]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.ReceiveMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.RecoverMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 195]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.RecoverMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.SubscribeMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 184]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.SubscribeMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.TemporaryDestMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 161]
Another occurrence at ServerSocketManagerHandler.java:[line 167]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.TemporaryDestMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.TransactMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 189]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.TransactMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.ServerSocketManagerHandler
In method org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.UnsubscribeMsg
Local variable named msg
At ServerSocketManagerHandler.java:[line 207]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.UnsubscribeMsg in org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.SocketManager
In method org.jboss.mq.il.uil2.SocketManager.internalSendMessage(BaseMsg, boolean)
At SocketManager.java:[line 278]
Wait not in loop in org.jboss.mq.il.uil2.SocketManager.internalSendMessage(BaseMsg, boolean)
In class org.jboss.mq.il.uil2.SocketManager$ReadTask
In method org.jboss.mq.il.uil2.SocketManager$ReadTask.replyAll(Throwable)
At SocketManager.java:[line 485]
Naked notify in org.jboss.mq.il.uil2.SocketManager$ReadTask.replyAll(Throwable)
In class org.jboss.mq.il.uil2.SocketManager$ReadTask
In method org.jboss.mq.il.uil2.SocketManager$ReadTask.run()
At SocketManager.java:[line 359]
Naked notify in org.jboss.mq.il.uil2.SocketManager$ReadTask.run()
In class org.jboss.mq.il.uil2.SocketManager$UILThreadFactory
Field org.jboss.mq.il.uil2.SocketManager$UILThreadFactory.count
Synchronized 66% of the time
Unsynchronized access at SocketManager.java:[line 619]
Synchronized access at SocketManager.java:[line 617]
Synchronized access at SocketManager.java:[line 617]
Inconsistent synchronization of org.jboss.mq.il.uil2.SocketManager$UILThreadFactory.count; locked 66% of time
In class org.jboss.mq.il.uil2.SocketManager$WriteTask
In method org.jboss.mq.il.uil2.SocketManager$WriteTask.handleStop(BaseMsg, String, Throwable)
At SocketManager.java:[line 568]
Naked notify in org.jboss.mq.il.uil2.SocketManager$WriteTask.handleStop(BaseMsg, String, Throwable)
In class org.jboss.mq.il.uil2.UILClientILService
In method org.jboss.mq.il.uil2.UILClientILService.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.DeleteTemporaryDestMsg
Local variable named msg
At UILClientILService.java:[line 127]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.DeleteTemporaryDestMsg in org.jboss.mq.il.uil2.UILClientILService.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.UILClientILService
In method org.jboss.mq.il.uil2.UILClientILService.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.PingMsg
Local variable named msg
At UILClientILService.java:[line 137]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.PingMsg in org.jboss.mq.il.uil2.UILClientILService.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.UILClientILService
In method org.jboss.mq.il.uil2.UILClientILService.handleMsg(BaseMsg)
Actual type org.jboss.mq.il.uil2.msgs.BaseMsg
Expected org.jboss.mq.il.uil2.msgs.ReceiveRequestMsg
Local variable named msg
At UILClientILService.java:[line 116]
Unchecked/unconfirmed cast from org.jboss.mq.il.uil2.msgs.BaseMsg to org.jboss.mq.il.uil2.msgs.ReceiveRequestMsg in org.jboss.mq.il.uil2.UILClientILService.handleMsg(BaseMsg)
In class org.jboss.mq.il.uil2.msgs.BaseMsg
In method org.jboss.mq.il.uil2.msgs.BaseMsg.equals(Object)
At BaseMsg.java:[line 331]
Equals method for org.jboss.mq.il.uil2.msgs.BaseMsg assumes the argument is of type BaseMsg
In class org.jboss.mq.il.uil2.msgs.BaseMsg
In method org.jboss.mq.il.uil2.msgs.BaseMsg.getMsgID()
At BaseMsg.java:[line 292]
Vacuous comparison of integer value org.jboss.mq.il.uil2.msgs.BaseMsg.getMsgID()
In class org.jboss.mq.il.uil2.msgs.BaseMsg
In method org.jboss.mq.il.uil2.msgs.BaseMsg.equals(Object)
Local variable named o
Dereferenced at BaseMsg.java:[line 332]
org.jboss.mq.il.uil2.msgs.BaseMsg.equals(Object) does not check for null argument
In class org.jboss.mq.pm.Tx
In method org.jboss.mq.pm.Tx.compareTo(Tx)
At Tx.java:[lines 161-163]
org.jboss.mq.pm.Tx defines compareTo(Tx) and uses Object.equals()
In class org.jboss.mq.pm.Tx
Field org.jboss.mq.pm.Tx.lock
In Tx.java
The field org.jboss.mq.pm.Tx.lock is transient but isn't set by deserialization
In class org.jboss.mq.pm.jdbc2.MSSQLPersistenceManager
In method org.jboss.mq.pm.jdbc2.MSSQLPersistenceManager.innerCreateSchema(Connection, PreparedStatement)
Local variable named c
At MSSQLPersistenceManager.java:[line 109]
The parameter c to org.jboss.mq.pm.jdbc2.MSSQLPersistenceManager.innerCreateSchema(Connection, PreparedStatement) is dead upon entry but overwritten
In class org.jboss.mq.pm.jdbc2.MSSQLPersistenceManager
In method org.jboss.mq.pm.jdbc2.MSSQLPersistenceManager.createSchema()
Local variable named c
Redundant null check at MSSQLPersistenceManager.java:[line 88]
Redundant nullcheck of c which is known to be null in org.jboss.mq.pm.jdbc2.MSSQLPersistenceManager.createSchema()
In class org.jboss.mq.pm.jdbc2.MSSQLPersistenceManager
In method org.jboss.mq.pm.jdbc2.MSSQLPersistenceManager.createSchema()
Local variable named stmt
Redundant null check at MSSQLPersistenceManager.java:[line 79]
Redundant nullcheck of stmt which is known to be null in org.jboss.mq.pm.jdbc2.MSSQLPersistenceManager.createSchema()
In class org.jboss.mq.pm.jdbc2.PersistenceManager
Field org.jboss.mq.pm.jdbc2.PersistenceManager.createTables
Synchronized 50% of the time
Unsynchronized access at PersistenceManager.java:[line 1769]
Synchronized access at PersistenceManager.java:[line 269]
Inconsistent synchronization of org.jboss.mq.pm.jdbc2.PersistenceManager.createTables; locked 50% of time
In class org.jboss.mq.pm.jdbc2.PersistenceManager
Field org.jboss.mq.pm.jdbc2.PersistenceManager.tm
Synchronized 83% of the time
Unsynchronized access at PersistenceManager.java:[line 1838]
Synchronized access at PersistenceManager.java:[line 541]
Synchronized access at PersistenceManager.java:[line 568]
Synchronized access at PersistenceManager.java:[line 568]
Synchronized access at PersistenceManager.java:[line 550]
Synchronized access at PersistenceManager.java:[line 551]
Inconsistent synchronization of org.jboss.mq.pm.jdbc2.PersistenceManager.tm; locked 83% of time
In class org.jboss.mq.pm.jdbc2.PersistenceManager
Field org.jboss.mq.pm.jdbc2.PersistenceManager.xaRecovery
Synchronized 71% of the time
Unsynchronized access at PersistenceManager.java:[line 1950]
Unsynchronized access at PersistenceManager.java:[line 1945]
Unsynchronized access at PersistenceManager.java:[line 904]
Unsynchronized access at PersistenceManager.java:[line 908]
Synchronized access at PersistenceManager.java:[line 440]
Synchronized access at PersistenceManager.java:[line 450]
Synchronized access at PersistenceManager.java:[line 462]
Synchronized access at PersistenceManager.java:[line 470]
Synchronized access at PersistenceManager.java:[line 581]
Synchronized access at PersistenceManager.java:[line 607]
Synchronized access at PersistenceManager.java:[line 634]
Synchronized access at PersistenceManager.java:[line 678]
Synchronized access at PersistenceManager.java:[line 651]
Synchronized access at PersistenceManager.java:[line 347]
Inconsistent synchronization of org.jboss.mq.pm.jdbc2.PersistenceManager.xaRecovery; locked 71% of time
In class org.jboss.mq.pm.jdbc2.PersistenceManager
In method org.jboss.mq.pm.jdbc2.PersistenceManager.update(MessageReference, Tx)
At PersistenceManager.java:[line 1303]
Load of known null value in org.jboss.mq.pm.jdbc2.PersistenceManager.update(MessageReference, Tx)
In class org.jboss.mq.pm.jdbc2.PersistenceManager
In method org.jboss.mq.pm.jdbc2.PersistenceManager.extractMessage(ResultSet)
Local variable named message
Dereferenced at PersistenceManager.java:[line 785]
Known null at PersistenceManager.java:[line 778]
Possible null pointer dereference of message in org.jboss.mq.pm.jdbc2.PersistenceManager.extractMessage(ResultSet)
In class org.jboss.mq.pm.jdbc2.PersistenceManager
In method org.jboss.mq.pm.jdbc2.PersistenceManager.internalRestoreQueue(JMSDestination, SpyDestination)
Need to close java.sql.PreparedStatement
At PersistenceManager.java:[line 618]
org.jboss.mq.pm.jdbc2.PersistenceManager.internalRestoreQueue(JMSDestination, SpyDestination) may fail to close java.sql.PreparedStatement
In class org.jboss.mq.pm.jdbc2.PersistenceManager
In method org.jboss.mq.pm.jdbc2.PersistenceManager.remove(MessageReference, Tx)
At PersistenceManager.java:[line 1432]
Exception is caught when Exception is not thrown in org.jboss.mq.pm.jdbc2.PersistenceManager.remove(MessageReference, Tx)
In class org.jboss.mq.pm.jdbc2.PersistenceManager
In method org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs()
At PersistenceManager.java:[line 489]
Exception is caught when Exception is not thrown in org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs()
In class org.jboss.mq.pm.jdbc2.PersistenceManager
In method org.jboss.mq.pm.jdbc2.PersistenceManager.remove(MessageReference, Tx)
At PersistenceManager.java:[line 1424]
org.jboss.mq.pm.jdbc2.PersistenceManager.remove(MessageReference, Tx) calls Thread.sleep() with a lock held
In class org.jboss.mq.security.SecurityManager
Field org.jboss.mq.security.SecurityManager.securityCtx
In SecurityManager.java
Unused field: org.jboss.mq.security.SecurityManager.securityCtx
In class org.jboss.mq.security.SecurityManager$SubjectInfo
In SecurityManager.java
Should org.jboss.mq.security.SecurityManager$SubjectInfo be a _static_ inner class?
In class org.jboss.mq.security.SessionIDGenerator
In method org.jboss.mq.security.SessionIDGenerator.byteArrayToHexString(byte[])
At SessionIDGenerator.java:[line 77]
Method org.jboss.mq.security.SessionIDGenerator.byteArrayToHexString(byte[]) concatenates strings using + in a loop
In class org.jboss.mq.selectors.Identifier
In method org.jboss.mq.selectors.Identifier.equals(Object)
Local variable named obj
Dereferenced at Identifier.java:[line 52]
org.jboss.mq.selectors.Identifier.equals(Object) does not check for null argument
In class org.jboss.mq.selectors.Operator
In method org.jboss.mq.selectors.Operator.add()
At Operator.java:[lines 500-503]
Switch statement found in org.jboss.mq.selectors.Operator.add() where one case falls through to the next case
In class org.jboss.mq.selectors.Operator
In method org.jboss.mq.selectors.Operator.div()
At Operator.java:[lines 625-628]
Switch statement found in org.jboss.mq.selectors.Operator.div() where one case falls through to the next case
In class org.jboss.mq.selectors.Operator
In method org.jboss.mq.selectors.Operator.mul()
At Operator.java:[lines 589-592]
Switch statement found in org.jboss.mq.selectors.Operator.mul() where one case falls through to the next case
In class org.jboss.mq.selectors.Operator
In method org.jboss.mq.selectors.Operator.sub()
At Operator.java:[lines 536-539]
Switch statement found in org.jboss.mq.selectors.Operator.sub() where one case falls through to the next case
In class org.jboss.mq.server.BasicQueue
In method org.jboss.mq.server.BasicQueue.setupMessageAcknowledgement(Subscription, MessageReference)
Unhashable class org.jboss.mq.server.MessageReference
Type java.util.HashMap
At BasicQueue.java:[line 1173]
org.jboss.mq.server.MessageReference doesn't define a hashCode() method but is used in a hashed data structure
In class org.jboss.mq.server.JMSDestinationManager
In method org.jboss.mq.server.JMSDestinationManager.deleteTemporaryDestination(ConnectionToken, SpyDestination)
At JMSDestinationManager.java:[line 655]
Load of known null value in org.jboss.mq.server.JMSDestinationManager.deleteTemporaryDestination(ConnectionToken, SpyDestination)
In class org.jboss.mq.server.MessageCache$LRUCache
In MessageCache.java
Should org.jboss.mq.server.MessageCache$LRUCache be a _static_ inner class?
In class org.jboss.mq.server.MessageCounter
In method org.jboss.mq.server.MessageCounter.getHistoryAsString()
At MessageCounter.java:[line 493]
Method org.jboss.mq.server.MessageCounter.getHistoryAsString() concatenates strings using + in a loop
In class org.jboss.mq.server.MessageCounter$DayCounter
In method org.jboss.mq.server.MessageCounter$DayCounter.getDayCounterAsString()
At MessageCounter.java:[line 638]
Method org.jboss.mq.server.MessageCounter$DayCounter.getDayCounterAsString() concatenates strings using + in a loop
In class org.jboss.mq.server.MessageReference
In method org.jboss.mq.server.MessageReference.equals(Object)
At MessageReference.java:[lines 380-384]
org.jboss.mq.server.MessageReference defines equals and uses Object.hashCode()
In class org.jboss.mq.server.jmx.DestinationMBeanSupport
In method org.jboss.mq.server.jmx.DestinationMBeanSupport.listMessageCounterHistory()
At DestinationMBeanSupport.java:[line 401]
Method org.jboss.mq.server.jmx.DestinationMBeanSupport.listMessageCounterHistory() concatenates strings using + in a loop
In class org.jboss.mq.server.jmx.DestinationMBeanSupport
In method org.jboss.mq.server.jmx.DestinationMBeanSupport.getJNDIName()
In method org.jboss.mq.server.jmx.DestinationMBeanSupport.setJNDIName(String)
At DestinationMBeanSupport.java:[line 273]
org.jboss.mq.server.jmx.DestinationMBeanSupport.getJNDIName() is unsynchronized, org.jboss.mq.server.jmx.DestinationMBeanSupport.setJNDIName(String) is synchronized
In class org.jboss.mq.xml.XElement
In method org.jboss.mq.xml.XElement.toString(int, boolean)
At XElement.java:[line 485]
org.jboss.mq.xml.XElement.toString(int, boolean) invokes System.exit(...), which shuts down the entire virtual machine
In class org.jboss.mq.xml.XElement
In method org.jboss.mq.xml.XElement.getElement(String)
At XElement.java:[line 266]
Call to equals() with null argument in org.jboss.mq.xml.XElement.getElement(String)
In class org.jboss.mx.capability.OptimizedMBeanDispatcher
In method org.jboss.mx.capability.OptimizedMBeanDispatcher.create(MBeanInfo, Object)
In class org.jboss.mx.capability.DispatchClassLoader
At OptimizedMBeanDispatcher.java:[line 92]
org.jboss.mx.capability.OptimizedMBeanDispatcher.create(MBeanInfo, Object) creates a org.jboss.mx.capability.DispatchClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.capability.OptimizedMBeanDispatcher
In method org.jboss.mx.capability.OptimizedMBeanDispatcher.create(MBeanInfo, Object)
At OptimizedMBeanDispatcher.java:[line 103]
Exception is caught when Exception is not thrown in org.jboss.mx.capability.OptimizedMBeanDispatcher.create(MBeanInfo, Object)
In class org.jboss.mx.interceptor.AttributeDispatcher
In method org.jboss.mx.interceptor.AttributeDispatcher.invoke(Invocation)
At AttributeDispatcher.java:[line 99]
Load of known null value in org.jboss.mx.interceptor.AttributeDispatcher.invoke(Invocation)
In class org.jboss.mx.interceptor.PersistenceInterceptor
Field org.jboss.mx.interceptor.PersistenceInterceptor.mbeanPersistencePolicy
Synchronized 83% of the time
Unsynchronized access at PersistenceInterceptor.java:[line 84]
Synchronized access at PersistenceInterceptor.java:[line 117]
Synchronized access at PersistenceInterceptor.java:[line 120]
Synchronized access at PersistenceInterceptor.java:[line 121]
Synchronized access at PersistenceInterceptor.java:[line 124]
Synchronized access at PersistenceInterceptor.java:[line 121]
Inconsistent synchronization of org.jboss.mx.interceptor.PersistenceInterceptor.mbeanPersistencePolicy; locked 83% of time
In class org.jboss.mx.interceptor.PersistenceInterceptor$PersistenceTimerTask
Field org.jboss.mx.interceptor.PersistenceInterceptor$PersistenceTimerTask.hasUpdated
Synchronized 50% of the time
Unsynchronized access at PersistenceInterceptor.java:[line 182]
Synchronized access at PersistenceInterceptor.java:[line 173]
Inconsistent synchronization of org.jboss.mx.interceptor.PersistenceInterceptor$PersistenceTimerTask.hasUpdated; locked 50% of time
In class org.jboss.mx.interceptor.PersistenceInterceptor$PersistenceTimerTask
Field org.jboss.mx.interceptor.PersistenceInterceptor$PersistenceTimerTask.name
At PersistenceInterceptor.java:[line 168]
Unread field: org.jboss.mx.interceptor.PersistenceInterceptor$PersistenceTimerTask.name
In class org.jboss.mx.loading.BasicLoaderRepository
In method org.jboss.mx.loading.BasicLoaderRepository.newClassLoader(URL, URL, boolean)
In class org.jboss.mx.loading.UnifiedClassLoader
At BasicLoaderRepository.java:[line 177]
org.jboss.mx.loading.BasicLoaderRepository.newClassLoader(URL, URL, boolean) creates a org.jboss.mx.loading.UnifiedClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.loading.BasicLoaderRepository
In method org.jboss.mx.loading.BasicLoaderRepository.newClassLoader(URL, boolean)
In class org.jboss.mx.loading.UnifiedClassLoader
At BasicLoaderRepository.java:[line 169]
org.jboss.mx.loading.BasicLoaderRepository.newClassLoader(URL, boolean) creates a org.jboss.mx.loading.UnifiedClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.loading.ClassLoaderUtils
In method org.jboss.mx.loading.ClassLoaderUtils.getClassLoaderURLs(ClassLoader)
At ClassLoaderUtils.java:[line 137]
Exception is caught when Exception is not thrown in org.jboss.mx.loading.ClassLoaderUtils.getClassLoaderURLs(ClassLoader)
In class org.jboss.mx.loading.ClassLoaderUtils$RepositoryClassLoaderComparator
In ClassLoaderUtils.java
org.jboss.mx.loading.ClassLoaderUtils$RepositoryClassLoaderComparator implements Comparator but not Serializable
In class org.jboss.mx.loading.ClassLoadingTask$ThreadTaskComparator
In ClassLoadingTask.java
org.jboss.mx.loading.ClassLoadingTask$ThreadTaskComparator implements Comparator but not Serializable
In class org.jboss.mx.loading.ClassPreloadService
In method org.jboss.mx.loading.ClassPreloadService.start()
At ClassPreloadService.java:[line 129]
Invocation of toString on an array in org.jboss.mx.loading.ClassPreloadService.start()
In class org.jboss.mx.loading.HeirarchicalLoaderRepository3
In method org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, URL, boolean)
In class org.jboss.mx.loading.HeirarchicalLoaderRepository3$NoParentClassLoader
At HeirarchicalLoaderRepository3.java:[line 207]
org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, URL, boolean) creates a org.jboss.mx.loading.HeirarchicalLoaderRepository3$NoParentClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.loading.HeirarchicalLoaderRepository3
In method org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, URL, boolean)
In class org.jboss.mx.loading.UnifiedClassLoader3
At HeirarchicalLoaderRepository3.java:[line 207]
org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, URL, boolean) creates a org.jboss.mx.loading.UnifiedClassLoader3 classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.loading.HeirarchicalLoaderRepository3
In method org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, URL, boolean)
In class org.jboss.mx.loading.UnifiedClassLoader3
At HeirarchicalLoaderRepository3.java:[line 209]
org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, URL, boolean) creates a org.jboss.mx.loading.UnifiedClassLoader3 classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.loading.HeirarchicalLoaderRepository3
In method org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, boolean)
In class org.jboss.mx.loading.HeirarchicalLoaderRepository3$NoParentClassLoader
At HeirarchicalLoaderRepository3.java:[line 192]
org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, boolean) creates a org.jboss.mx.loading.HeirarchicalLoaderRepository3$NoParentClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.loading.HeirarchicalLoaderRepository3
In method org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, boolean)
In class org.jboss.mx.loading.UnifiedClassLoader3
At HeirarchicalLoaderRepository3.java:[line 192]
org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, boolean) creates a org.jboss.mx.loading.UnifiedClassLoader3 classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.loading.HeirarchicalLoaderRepository3
In method org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, boolean)
In class org.jboss.mx.loading.UnifiedClassLoader3
At HeirarchicalLoaderRepository3.java:[line 194]
org.jboss.mx.loading.HeirarchicalLoaderRepository3.newClassLoader(URL, boolean) creates a org.jboss.mx.loading.UnifiedClassLoader3 classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader
In method org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader.CacheClassLoader(Class, LoaderRepository)
In class org.jboss.mx.loading.HeirarchicalLoaderRepository3$NoParentClassLoader
At HeirarchicalLoaderRepository3.java:[line 99]
org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader.CacheClassLoader(Class, LoaderRepository) creates a org.jboss.mx.loading.HeirarchicalLoaderRepository3$NoParentClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.loading.MLetParser
In method org.jboss.mx.loading.MLetParser.parseMBeanFile(URL)
Local variable named tagName
Dereferenced at MLetParser.java:[line 124]
Known null at MLetParser.java:[line 120]
Possible null pointer dereference of tagName in org.jboss.mx.loading.MLetParser.parseMBeanFile(URL)
In class org.jboss.mx.loading.MLetParser
In method org.jboss.mx.loading.MLetParser.parseMBeanFile(URL)
Need to close java.io.Reader
At MLetParser.java:[line 86]
org.jboss.mx.loading.MLetParser.parseMBeanFile(URL) may fail to close stream
In class org.jboss.mx.loading.RepositoryClassLoader
Field org.jboss.mx.loading.RepositoryClassLoader.loadClassDepth
Synchronized 85% of the time
Unsynchronized access at RepositoryClassLoader.java:[line 387]
Synchronized access at RepositoryClassLoader.java:[line 454]
Synchronized access at RepositoryClassLoader.java:[line 454]
Synchronized access at RepositoryClassLoader.java:[line 535]
Synchronized access at RepositoryClassLoader.java:[line 535]
Synchronized access at RepositoryClassLoader.java:[line 535]
Synchronized access at RepositoryClassLoader.java:[line 535]
Inconsistent synchronization of org.jboss.mx.loading.RepositoryClassLoader.loadClassDepth; locked 85% of time
In class org.jboss.mx.loading.UnifiedLoaderRepository3
In method org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoaderURL(ClassLoader, URL)
Called method java.util.HashSet.add(Object)
At UnifiedLoaderRepository3.java:[line 703]
org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoaderURL(ClassLoader, URL) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.mx.loading.UnifiedLoaderRepository3
In method org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoaderURL(ClassLoader, URL)
Called method java.util.HashSet.contains(Object)
At UnifiedLoaderRepository3.java:[line 700]
org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoaderURL(ClassLoader, URL) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.mx.loading.UnifiedLoaderRepository3
In method org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoaderURL(ClassLoader, URL)
At UnifiedLoaderRepository3.java:[line 700]
org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoaderURL(ClassLoader, URL) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.mx.loading.UnifiedLoaderRepository3
In method org.jboss.mx.loading.UnifiedLoaderRepository3.addRepositoryClassLoader(RepositoryClassLoader)
Called method java.util.HashSet.add(Object)
At UnifiedLoaderRepository3.java:[line 732]
org.jboss.mx.loading.UnifiedLoaderRepository3.addRepositoryClassLoader(RepositoryClassLoader) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.mx.loading.UnifiedLoaderRepository3
In method org.jboss.mx.loading.UnifiedLoaderRepository3.addRepositoryClassLoader(RepositoryClassLoader)
Called method java.util.HashSet.contains(Object)
At UnifiedLoaderRepository3.java:[line 727]
org.jboss.mx.loading.UnifiedLoaderRepository3.addRepositoryClassLoader(RepositoryClassLoader) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.mx.loading.UnifiedLoaderRepository3
In method org.jboss.mx.loading.UnifiedLoaderRepository3.addRepositoryClassLoader(RepositoryClassLoader)
At UnifiedLoaderRepository3.java:[line 727]
org.jboss.mx.loading.UnifiedLoaderRepository3.addRepositoryClassLoader(RepositoryClassLoader) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.mx.loading.UnifiedLoaderRepository3
In method org.jboss.mx.loading.UnifiedLoaderRepository3.getURLs()
Called method java.util.HashSet.add(Object)
At UnifiedLoaderRepository3.java:[line 507]
org.jboss.mx.loading.UnifiedLoaderRepository3.getURLs() is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.mx.loading.UnifiedLoaderRepository3
In method org.jboss.mx.loading.UnifiedLoaderRepository3.removeClassLoader(ClassLoader)
Called method java.util.HashSet.remove(Object)
At UnifiedLoaderRepository3.java:[line 835]
org.jboss.mx.loading.UnifiedLoaderRepository3.removeClassLoader(ClassLoader) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.mx.loading.UnifiedLoaderRepository3
In method org.jboss.mx.loading.UnifiedLoaderRepository3.newClassLoader(URL, URL, boolean)
In class org.jboss.mx.loading.UnifiedClassLoader3
At UnifiedLoaderRepository3.java:[line 166]
org.jboss.mx.loading.UnifiedLoaderRepository3.newClassLoader(URL, URL, boolean) creates a org.jboss.mx.loading.UnifiedClassLoader3 classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.loading.UnifiedLoaderRepository3
In method org.jboss.mx.loading.UnifiedLoaderRepository3.newClassLoader(URL, boolean)
In class org.jboss.mx.loading.UnifiedClassLoader3
At UnifiedLoaderRepository3.java:[line 157]
org.jboss.mx.loading.UnifiedLoaderRepository3.newClassLoader(URL, boolean) creates a org.jboss.mx.loading.UnifiedClassLoader3 classloader, which should be performed within a doPrivileged block
In class org.jboss.mx.metadata.JBossXMBean10
In method org.jboss.mx.metadata.JBossXMBean10.getElementContent(Element, boolean, boolean)
At JBossXMBean10.java:[line 601]
Method org.jboss.mx.metadata.JBossXMBean10.getElementContent(Element, boolean, boolean) concatenates strings using + in a loop
In class org.jboss.mx.metadata.StandardMetaData
In method org.jboss.mx.metadata.StandardMetaData.build()
At StandardMetaData.java:[line 275]
Method org.jboss.mx.metadata.StandardMetaData.build() makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.mx.modelmbean.ModelMBeanInvoker
Masking field org.jboss.mx.modelmbean.ModelMBeanInvoker.log
Masked field org.jboss.mx.server.AbstractMBeanInvoker.log
In ModelMBeanInvoker.java
Field ModelMBeanInvoker.log masks field in superclass org.jboss.mx.server.AbstractMBeanInvoker
In class org.jboss.mx.modelmbean.XMBean
In method org.jboss.mx.modelmbean.XMBean.XMBean(Object, String)
At XMBean.java:[line 220]
Method org.jboss.mx.modelmbean.XMBean.XMBean(Object, String) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.mx.modelmbean.XMBean
In method org.jboss.mx.modelmbean.XMBean.XMBean(Object, String)
At XMBean.java:[line 250]
Method org.jboss.mx.modelmbean.XMBean.XMBean(Object, String) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.mx.notification.AsynchNotificationBroadcasterSupport$AsynchNotifier
In AsynchNotificationBroadcasterSupport.java
Should org.jboss.mx.notification.AsynchNotificationBroadcasterSupport$AsynchNotifier be a _static_ inner class?
In class org.jboss.mx.server.AbstractMBeanInvoker$OperationKey
In method org.jboss.mx.server.AbstractMBeanInvoker$OperationKey.equals(Object)
At AbstractMBeanInvoker.java:[line 1247]
Equals method for org.jboss.mx.server.AbstractMBeanInvoker$OperationKey assumes the argument is of type AbstractMBeanInvoker$OperationKey
In class org.jboss.mx.server.AbstractMBeanInvoker$OperationKey
In method org.jboss.mx.server.AbstractMBeanInvoker$OperationKey.equals(Object)
Local variable named o
Dereferenced at AbstractMBeanInvoker.java:[line 1249]
org.jboss.mx.server.AbstractMBeanInvoker$OperationKey.equals(Object) does not check for null argument
In class org.jboss.mx.server.AbstractMBeanInvoker$OperationKey
In AbstractMBeanInvoker.java
Should org.jboss.mx.server.AbstractMBeanInvoker$OperationKey be a _static_ inner class?
In class org.jboss.mx.server.ExceptionHandler
In method org.jboss.mx.server.ExceptionHandler.handleException(Throwable)
Actual type java.lang.Throwable
Expected java.lang.Exception
Local variable named t
At ExceptionHandler.java:[line 52]
Unchecked/unconfirmed cast from java.lang.Throwable to java.lang.Exception in org.jboss.mx.server.ExceptionHandler.handleException(Throwable)
In class org.jboss.mx.server.Invocation
Field org.jboss.mx.server.Invocation.retVal
At Invocation.java:[line 97]
Unread field: org.jboss.mx.server.Invocation.retVal
In class org.jboss.mx.server.InvocationContext$NullDispatcher
In InvocationContext.java
Should org.jboss.mx.server.InvocationContext$NullDispatcher be a _static_ inner class?
In class org.jboss.mx.server.MBeanServerImpl
In method org.jboss.mx.server.MBeanServerImpl.getClassLoader(ObjectName)
At MBeanServerImpl.java:[line 1078]
Load of known null value in org.jboss.mx.server.MBeanServerImpl.getClassLoader(ObjectName)
In class org.jboss.mx.server.MethodMapper
In method org.jboss.mx.server.MethodMapper.lookupOperation(MBeanOperationInfo, Object)
At MethodMapper.java:[line 198]
Exception is caught when Exception is not thrown in org.jboss.mx.server.MethodMapper.lookupOperation(MBeanOperationInfo, Object)
In class org.jboss.mx.server.ServerObjectInstance
In method org.jboss.mx.server.ServerObjectInstance.equals(Object)
At ServerObjectInstance.java:[lines 82-86]
org.jboss.mx.server.ServerObjectInstance defines equals but not hashCode
In class org.jboss.mx.server.registry.BasicMBeanRegistry
In method org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(MBeanInvoker, ObjectName, String)
Actual type java.lang.Error
Expected java.lang.Error
At BasicMBeanRegistry.java:[line 724]
instanceof will always return true in org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(MBeanInvoker, ObjectName, String), since all java.lang.Error are instances of java.lang.Error
In class org.jboss.mx.server.registry.BasicMBeanRegistry
In method org.jboss.mx.server.registry.BasicMBeanRegistry.persistIfRequired(MBeanInfo, ObjectName)
At BasicMBeanRegistry.java:[line 911]
org.jboss.mx.server.registry.BasicMBeanRegistry.persistIfRequired(MBeanInfo, ObjectName) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.mx.server.registry.BasicMBeanRegistry
In method org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(Object, ObjectName, Map)
At BasicMBeanRegistry.java:[line 332]
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(Object, ObjectName, Map) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.mx.server.registry.BasicMBeanRegistry
In method org.jboss.mx.server.registry.BasicMBeanRegistry.validateAndQualifyName(ObjectName, String)
Actual type java.lang.String
At BasicMBeanRegistry.java:[line 818]
Comparison of String parameter using == or != in org.jboss.mx.server.registry.BasicMBeanRegistry.validateAndQualifyName(ObjectName, String)
In class org.jboss.mx.server.registry.BasicMBeanRegistry
In method org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(Object, ObjectName, Map)
Local variable named invoker
Dereferenced at BasicMBeanRegistry.java:[line 216]
Known null at BasicMBeanRegistry.java:[line 200]
Possible null pointer dereference of invoker in org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(Object, ObjectName, Map)
In class org.jboss.mx.service.ServiceConstants
In method org.jboss.mx.service.ServiceConstants.<static initializer>()
At ServiceConstants.java:[line 44]
org.jboss.mx.service.ServiceConstants.<static initializer>() invokes inefficient new String(String) constructor
In class org.jboss.mx.util.InstanceOfQueryExp
Field org.jboss.mx.util.InstanceOfQueryExp.server
In InstanceOfQueryExp.java
Class org.jboss.mx.util.InstanceOfQueryExp defines non-transient non-serializable instance field server
In class org.jboss.mx.util.JMXInvocationHandler
In method org.jboss.mx.util.JMXInvocationHandler.handleObjectMethods(Method, Object[])
At JMXInvocationHandler.java:[line 386]
org.jboss.mx.util.JMXInvocationHandler.handleObjectMethods(Method, Object[]) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.mx.util.JMXInvocationHandler
Field org.jboss.mx.util.JMXInvocationHandler.handler
In JMXInvocationHandler.java
Class org.jboss.mx.util.JMXInvocationHandler defines non-transient non-serializable instance field handler
In class org.jboss.mx.util.JMXInvocationHandler
Field org.jboss.mx.util.JMXInvocationHandler.server
In JMXInvocationHandler.java
Class org.jboss.mx.util.JMXInvocationHandler defines non-transient non-serializable instance field server
In class org.jboss.mx.util.JMXInvocationHandler
Field org.jboss.mx.util.JMXInvocationHandler.handler
Actual type org.jboss.mx.util.DefaultExceptionHandler
At JMXInvocationHandler.java:[line 77]
org.jboss.mx.util.DefaultExceptionHandler stored into non-transient field JMXInvocationHandler.handler
In class org.jboss.mx.util.MBeanProxyExt
Field org.jboss.mx.util.MBeanProxyExt.attributeMap
In MBeanProxyExt.java
The field org.jboss.mx.util.MBeanProxyExt.attributeMap is transient but isn't set by deserialization
In class org.jboss.mx.util.MBeanTyperInvoker
In method org.jboss.mx.util.MBeanTyperInvoker.invoke(Object, Method, Object[])
At MBeanTyperInvoker.java:[line 62]
Invocation of toString on an array in org.jboss.mx.util.MBeanTyperInvoker.invoke(Object, Method, Object[])
In class org.jboss.mx.util.MBeanTyperInvoker
In method org.jboss.mx.util.MBeanTyperInvoker.invoke(Object, Method, Object[])
At MBeanTyperInvoker.java:[line 81]
org.jboss.mx.util.MBeanTyperInvoker.invoke(Object, Method, Object[]) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.mx.util.MLetVersion
In method org.jboss.mx.util.MLetVersion.compareTo(Object)
At MBeanInstaller.java:[lines 472-482]
org.jboss.mx.util.MLetVersion defines compareTo(Object) and uses Object.equals()
In class org.jboss.mx.util.MonitorRunnable
In MonitorRunnable.java
org.jboss.mx.util.MonitorRunnable inherits equals and uses Object.hashCode()
In class org.jboss.mx.util.ObjectNameConverter
In method org.jboss.mx.util.ObjectNameConverter.createObjectName(String, Hashtable, boolean)
At ObjectNameConverter.java:[line 352]
Method org.jboss.mx.util.ObjectNameConverter.createObjectName(String, Hashtable, boolean) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.mx.util.ObjectNameConverter
In method org.jboss.mx.util.ObjectNameConverter.reverseProperties(Hashtable)
At ObjectNameConverter.java:[line 376]
Method org.jboss.mx.util.ObjectNameConverter.reverseProperties(Hashtable) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.mx.util.ObjectNameConverter
In method org.jboss.mx.util.ObjectNameConverter.reverseString(Hashtable)
At ObjectNameConverter.java:[line 389]
Method org.jboss.mx.util.ObjectNameConverter.reverseString(Hashtable) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.mx.util.ObjectNameMatch
In method org.jboss.mx.util.ObjectNameMatch.match(ObjectName, ObjectName)
At ObjectNameMatch.java:[line 111]
Method org.jboss.mx.util.ObjectNameMatch.match(ObjectName, ObjectName) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.mx.util.ObjectNameMatch
In method org.jboss.mx.util.ObjectNameMatch.match(ObjectName, ObjectName)
At ObjectNameMatch.java:[line 123]
Method org.jboss.mx.util.ObjectNameMatch.match(ObjectName, ObjectName) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.mx.util.ObjectNamePatternHelper
In method org.jboss.mx.util.ObjectNamePatternHelper.patternMatch(ObjectName, ObjectName)
Actual type java.lang.String
Expected javax.management.ObjectName
At ObjectNamePatternHelper.java:[line 53]
Call to equals() comparing different types in org.jboss.mx.util.ObjectNamePatternHelper.patternMatch(ObjectName, ObjectName)
In class org.jboss.mx.util.RunnableScheduler
In method org.jboss.mx.util.RunnableScheduler.waitOutstanding()
At RunnableScheduler.java:[line 206]
Wait not in loop in org.jboss.mx.util.RunnableScheduler.waitOutstanding()
In class org.jboss.mx.util.SchedulableRunnable
In method org.jboss.mx.util.SchedulableRunnable.equals(Object)
At SchedulableRunnable.java:[line 217]
org.jboss.mx.util.SchedulableRunnable defines equals and uses Object.hashCode()
In class org.jboss.mx.util.SchedulableRunnable
In method org.jboss.mx.util.SchedulableRunnable.getNextRun()
In method org.jboss.mx.util.SchedulableRunnable.setNextRun(long)
At SchedulableRunnable.java:[line 98]
org.jboss.mx.util.SchedulableRunnable.getNextRun() is unsynchronized, org.jboss.mx.util.SchedulableRunnable.setNextRun(long) is synchronized
In class org.jboss.mx.util.ThreadPool
In method org.jboss.mx.util.ThreadPool.run(Runnable)
Called method org.jboss.mx.util.ThreadPool$Worker.Worker(ThreadPool, Runnable)
At ThreadPool.java:[line 160]
org.jboss.mx.util.ThreadPool.run(Runnable) ignores return value of org.jboss.mx.util.ThreadPool$Worker.Worker(ThreadPool, Runnable)
In class org.jboss.mx.util.ThreadPool$Worker
Field org.jboss.mx.util.ThreadPool$Worker.running
Synchronized 66% of the time
Unsynchronized access at ThreadPool.java:[line 245]
Synchronized access at ThreadPool.java:[line 266]
Synchronized access at ThreadPool.java:[line 221]
Inconsistent synchronization of org.jboss.mx.util.ThreadPool$Worker.running; locked 66% of time
In class org.jboss.naming.LinkRefPairService
In method org.jboss.naming.LinkRefPairService.stopService()
Local variable named pair
At LinkRefPairService.java:[line 114]
Dead store to pair in org.jboss.naming.LinkRefPairService.stopService()
In class org.jboss.naming.client.java.javaURLContextFactory
In javaURLContextFactory.java
The class name org.jboss.naming.client.java.javaURLContextFactory doesn't start with an upper case letter
In class org.jboss.naming.java.javaURLContextFactory
In javaURLContextFactory.java
The class name org.jboss.naming.java.javaURLContextFactory doesn't start with an upper case letter
In class org.jboss.proxy.ClientMethodInterceptor
In method org.jboss.proxy.ClientMethodInterceptor.invoke(Invocation)
At ClientMethodInterceptor.java:[line 66]
org.jboss.proxy.ClientMethodInterceptor.invoke(Invocation) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.proxy.compiler.Proxies$1
In method org.jboss.proxy.compiler.Proxies$1.getTargetTypes()
At Proxies.java:[line 653]
Uncallable method org.jboss.proxy.compiler.Proxies$1.getTargetTypes() defined in anonymous class
In class org.jboss.proxy.compiler.Proxies$Impl
In method org.jboss.proxy.compiler.Proxies$Impl.newInvocationHandler(Object)
At Proxies.java:[line 638]
Method org.jboss.proxy.compiler.Proxies$Impl.newInvocationHandler(Object) concatenates strings using + in a loop
In class org.jboss.proxy.compiler.Proxies$Impl
Field org.jboss.proxy.compiler.Proxies$Impl.methods
In Proxies.java
Class org.jboss.proxy.compiler.Proxies$Impl defines non-transient non-serializable instance field methods
In class org.jboss.proxy.compiler.Proxies$Impl
Field org.jboss.proxy.compiler.Proxies$Impl.proxyConstructor
In Proxies.java
Class org.jboss.proxy.compiler.Proxies$Impl defines non-transient non-serializable instance field proxyConstructor
In class org.jboss.proxy.compiler.ProxyAssembler$AMember
Field org.jboss.proxy.compiler.ProxyAssembler$AMember.index
At ProxyAssembler.java:[line 306]
Unread field: org.jboss.proxy.compiler.ProxyAssembler$AMember.index
In class org.jboss.proxy.compiler.ProxyCompiler
In method org.jboss.proxy.compiler.ProxyCompiler.ProxyCompiler(ClassLoader, Class, Class[], Method[])
In class org.jboss.proxy.compiler.Runtime
At ProxyCompiler.java:[line 86]
org.jboss.proxy.compiler.ProxyCompiler.ProxyCompiler(ClassLoader, Class, Class[], Method[]) creates a org.jboss.proxy.compiler.Runtime classloader, which should be performed within a doPrivileged block
In class org.jboss.proxy.compiler.ProxyImplementationFactory
In method org.jboss.proxy.compiler.ProxyImplementationFactory.ProxyImplementationFactory(String, String, ClassGen)
Field org.jboss.proxy.compiler.ProxyImplementationFactory.PROXY_CLASS_T
At ProxyImplementationFactory.java:[line 102]
Write to static field org.jboss.proxy.compiler.ProxyImplementationFactory.PROXY_CLASS_T from instance method org.jboss.proxy.compiler.ProxyImplementationFactory.ProxyImplementationFactory(String, String, ClassGen)
In class org.jboss.proxy.compiler.Util
In method org.jboss.proxy.compiler.Util.wrap(boolean)
At Util.java:[line 39]
org.jboss.proxy.compiler.Util.wrap(boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.proxy.ejb.EntityInterceptor
In method org.jboss.proxy.ejb.EntityInterceptor.invoke(Invocation)
At EntityInterceptor.java:[line 77]
org.jboss.proxy.ejb.EntityInterceptor.invoke(Invocation) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.proxy.ejb.HomeHandleImplIIOP
In method org.jboss.proxy.ejb.HomeHandleImplIIOP.readObject(ObjectInputStream)
At HomeHandleImplIIOP.java:[lines 120-123]
The method readObject(ObjectInputStream) must be private to be invoked in serialization/deserialization of org.jboss.proxy.ejb.HomeHandleImplIIOP
In class org.jboss.proxy.ejb.HomeHandleImplIIOP
In method org.jboss.proxy.ejb.HomeHandleImplIIOP.writeObject(ObjectOutputStream)
At HomeHandleImplIIOP.java:[lines 114-116]
The method writeObject(ObjectOutputStream) must be private to be invoked in serialization/deserialization of org.jboss.proxy.ejb.HomeHandleImplIIOP
In class org.jboss.proxy.ejb.HomeHandleImplIIOP
In HomeHandleImplIIOP.java
org.jboss.proxy.ejb.HomeHandleImplIIOP is Serializable; consider declaring a serialVersionUID
In class org.jboss.proxy.ejb.HomeInterceptor
In method org.jboss.proxy.ejb.HomeInterceptor.invoke(Invocation)
At HomeInterceptor.java:[line 130]
org.jboss.proxy.ejb.HomeInterceptor.invoke(Invocation) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.proxy.ejb.ProxyFactory
In method org.jboss.proxy.ejb.ProxyFactory.loadInterceptorClasses(ArrayList, Element)
At ProxyFactory.java:[line 335]
org.jboss.proxy.ejb.ProxyFactory.loadInterceptorClasses(ArrayList, Element) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.proxy.ejb.RetryInterceptor
Field org.jboss.proxy.ejb.RetryInterceptor.maxRetries
In RetryInterceptor.java
The field org.jboss.proxy.ejb.RetryInterceptor.maxRetries is transient but isn't set by deserialization
In class org.jboss.proxy.ejb.RetryInterceptor
Field org.jboss.proxy.ejb.RetryInterceptor.sleepTime
In RetryInterceptor.java
The field org.jboss.proxy.ejb.RetryInterceptor.sleepTime is transient but isn't set by deserialization
In class org.jboss.proxy.ejb.StatefulSessionInterceptor
In method org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(Invocation)
At StatefulSessionInterceptor.java:[line 76]
org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(Invocation) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.proxy.ejb.StatelessSessionInterceptor
In method org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(Invocation)
At StatelessSessionInterceptor.java:[line 76]
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(Invocation) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.proxy.ejb.handle.StatefulHandleImpl
Field org.jboss.proxy.ejb.handle.StatefulHandleImpl.invoker
In StatefulHandleImpl.java
Class org.jboss.proxy.ejb.handle.StatefulHandleImpl defines non-transient non-serializable instance field invoker
In class org.jboss.resource.adapter.jdbc.remote.SerializableResultSetMetaData$ColumnData
Field org.jboss.resource.adapter.jdbc.remote.SerializableResultSetMetaData$ColumnData.className
At SerializableResultSetMetaData.java:[line 169]
Unwritten field: org.jboss.resource.adapter.jdbc.remote.SerializableResultSetMetaData$ColumnData.className
In class org.jboss.resource.adapter.jdbc.remote.SerializableResultSetMetaData$ColumnData
Field org.jboss.resource.adapter.jdbc.remote.SerializableResultSetMetaData$ColumnData.typeName
At SerializableResultSetMetaData.java:[line 149]
Unwritten field: org.jboss.resource.adapter.jdbc.remote.SerializableResultSetMetaData$ColumnData.typeName
In class org.jboss.resource.adapter.jdbc.remote.StatementInterceptor
In method org.jboss.resource.adapter.jdbc.remote.StatementInterceptor.invoke(Invocation)
Need to close java.io.InputStream
At StatementInterceptor.java:[line 49]
org.jboss.resource.adapter.jdbc.remote.StatementInterceptor.invoke(Invocation) may fail to close stream
In class org.jboss.resource.adapter.jdbc.remote.StatementInterceptor
In method org.jboss.resource.adapter.jdbc.remote.StatementInterceptor.invoke(Invocation)
Need to close java.io.Reader
At StatementInterceptor.java:[line 55]
org.jboss.resource.adapter.jdbc.remote.StatementInterceptor.invoke(Invocation) may fail to close stream
In class org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService
In method org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService.displayHashes(Map)
At WrapperDataSourceService.java:[line 603]
Method org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService.displayHashes(Map) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker
Field org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker.ping
In MySQLValidConnectionChecker.java
Class org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker defines non-transient non-serializable instance field ping
In class org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker
Field org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker.ping
In OracleValidConnectionChecker.java
Class org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker defines non-transient non-serializable instance field ping
In class org.jboss.resource.connectionmanager.CachedConnectionManager
In method org.jboss.resource.connectionmanager.CachedConnectionManager.disconnect(CachedConnectionManager$KeyConnectionAssociation, Set)
At CachedConnectionManager.java:[line 405]
Method org.jboss.resource.connectionmanager.CachedConnectionManager.disconnect(CachedConnectionManager$KeyConnectionAssociation, Set) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.resource.connectionmanager.CachedConnectionManager
In method org.jboss.resource.connectionmanager.CachedConnectionManager.reconnect(CachedConnectionManager$KeyConnectionAssociation, Set)
At CachedConnectionManager.java:[line 387]
Method org.jboss.resource.connectionmanager.CachedConnectionManager.reconnect(CachedConnectionManager$KeyConnectionAssociation, Set) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.resource.connectionmanager.CachedConnectionManager
In method org.jboss.resource.connectionmanager.CachedConnectionManager.userTransactionStarted()
At CachedConnectionManager.java:[line 359]
Method org.jboss.resource.connectionmanager.CachedConnectionManager.userTransactionStarted() makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.resource.connectionmanager.ConnectionValidator
In method org.jboss.resource.connectionmanager.ConnectionValidator.waitForBackgroundThread()
At ConnectionValidator.java:[line 150]
Empty synchronized block in org.jboss.resource.connectionmanager.ConnectionValidator.waitForBackgroundThread()
In class org.jboss.resource.connectionmanager.IdleRemover
In method org.jboss.resource.connectionmanager.IdleRemover.waitForBackgroundThread()
At IdleRemover.java:[line 68]
Empty synchronized block in org.jboss.resource.connectionmanager.IdleRemover.waitForBackgroundThread()
In class org.jboss.resource.connectionmanager.JBossManagedConnectionPool$SubjectActions
In method org.jboss.resource.connectionmanager.JBossManagedConnectionPool$SubjectActions.run()
At JBossManagedConnectionPool.java:[line 1175]
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$SubjectActions.run() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.resource.connectionmanager.PoolFiller
In method org.jboss.resource.connectionmanager.PoolFiller.PoolFiller()
Called method java.lang.Thread.start()
At PoolFiller.java:[line 50]
org.jboss.resource.connectionmanager.PoolFiller.PoolFiller() invokes java.lang.Thread.start()
In class org.jboss.resource.connectionmanager.PoolFiller
In method org.jboss.resource.connectionmanager.PoolFiller.run()
At PoolFiller.java:[line 85]
Unconditional wait in org.jboss.resource.connectionmanager.PoolFiller.run()
In class org.jboss.resource.connectionmanager.RARDeployment
Field org.jboss.resource.connectionmanager.RARDeployment.managedConnectionFactoryProperties
In RARDeployment.java
Class org.jboss.resource.connectionmanager.RARDeployment defines non-transient non-serializable instance field managedConnectionFactoryProperties
In class org.jboss.resource.deployment.RARDeployment
In method org.jboss.resource.deployment.RARDeployment.getInternalAttribute(String)
At RARDeployment.java:[line 174]
org.jboss.resource.deployment.RARDeployment.getInternalAttribute(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.resource.security.AbstractPasswordCredentialLoginModule
In method org.jboss.resource.security.AbstractPasswordCredentialLoginModule.getMcf()
Actual type java.lang.Boolean
At AbstractPasswordCredentialLoginModule.java:[line 124]
Suspicious comparison of java.lang.Boolean references in org.jboss.resource.security.AbstractPasswordCredentialLoginModule.getMcf()
In class org.jboss.security.AbstractSecurityProxy
In method org.jboss.security.AbstractSecurityProxy.init(Class, Class, Class, Class, Object)
Exception class java.lang.Exception
At AbstractSecurityProxy.java:[line 166]
org.jboss.security.AbstractSecurityProxy.init(Class, Class, Class, Class, Object) might ignore java.lang.Exception
In class org.jboss.security.AbstractSecurityProxy
In method org.jboss.security.AbstractSecurityProxy.init(Class, Class, Class, Class, Object)
At AbstractSecurityProxy.java:[line 143]
Another occurrence at AbstractSecurityProxy.java:[line 153]
Another occurrence at AbstractSecurityProxy.java:[line 166]
Exception is caught when Exception is not thrown in org.jboss.security.AbstractSecurityProxy.init(Class, Class, Class, Class, Object)
In class org.jboss.security.AuthorizationInfo
Field org.jboss.security.AuthorizationInfo.policyEntries
In AuthorizationInfo.java
Unused field: org.jboss.security.AuthorizationInfo.policyEntries
In class org.jboss.security.AuthorizationInfo$PolicyEntry
In method org.jboss.security.AuthorizationInfo$PolicyEntry.equals(Object)
At AuthorizationInfo.java:[line 108]
Equals method for org.jboss.security.AuthorizationInfo$PolicyEntry assumes the argument is of type AuthorizationInfo$PolicyEntry
In class org.jboss.security.AuthorizationInfo$PolicyEntry
In method org.jboss.security.AuthorizationInfo$PolicyEntry.equals(Object)
Local variable named obj
Dereferenced at AuthorizationInfo.java:[line 109]
org.jboss.security.AuthorizationInfo$PolicyEntry.equals(Object) does not check for null argument
In class org.jboss.security.Util
In method org.jboss.security.Util.calculatePasswordHash(String, char[], byte[])
Local variable named colon
At Util.java:[line 161]
Dead store to colon in org.jboss.security.Util.calculatePasswordHash(String, char[], byte[])
In class org.jboss.security.auth.SystemAuthenticator
In method org.jboss.security.auth.SystemAuthenticator.startService()
Local variable named le
At SystemAuthenticator.java:[line 96]
Dead store to le in org.jboss.security.auth.SystemAuthenticator.startService()
In class org.jboss.security.auth.SystemAuthenticator$1
In method org.jboss.security.auth.SystemAuthenticator$1.run()
At SystemAuthenticator.java:[line 101]
org.jboss.security.auth.SystemAuthenticator$1.run() invokes System.exit(...), which shuts down the entire virtual machine
In class org.jboss.security.auth.callback.AppCallbackHandler
In method org.jboss.security.auth.callback.AppCallbackHandler.getPasswordFromConsole(String)
Local variable named pwd
Dereferenced at AppCallbackHandler.java:[line 239]
Known null at AppCallbackHandler.java:[line 239]
Possible null pointer dereference in org.jboss.security.auth.callback.AppCallbackHandler.getPasswordFromConsole(String) due to return value of called method
In class org.jboss.security.auth.callback.ConsoleInputHandler
In method org.jboss.security.auth.callback.ConsoleInputHandler.handle(Callback[])
Local variable named password
Dereferenced at ConsoleInputHandler.java:[line 89]
Known null at ConsoleInputHandler.java:[line 88]
Possible null pointer dereference in org.jboss.security.auth.callback.ConsoleInputHandler.handle(Callback[]) due to return value of called method
In class org.jboss.security.auth.callback.SecurityAssociationHandler
In method org.jboss.security.auth.callback.SecurityAssociationHandler.getPassword()
At SecurityAssociationHandler.java:[line 163]
Exception is caught when Exception is not thrown in org.jboss.security.auth.callback.SecurityAssociationHandler.getPassword()
In class org.jboss.security.auth.spi.BaseCertLoginModule
In method org.jboss.security.auth.spi.BaseCertLoginModule.initialize(Subject, CallbackHandler, Map, Map)
Local variable named tempDomain
Redundant null check at BaseCertLoginModule.java:[line 115]
Redundant nullcheck of tempDomain, which is known to be non-null in org.jboss.security.auth.spi.BaseCertLoginModule.initialize(Subject, CallbackHandler, Map, Map)
In class org.jboss.security.auth.spi.DatabaseServerLoginModule
In method org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword()
At DatabaseServerLoginModule.java:[line 145]
A prepared statement is generated from a nonconstant String at org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword()
In class org.jboss.security.auth.spi.LdapLoginModule
In method org.jboss.security.auth.spi.LdapLoginModule.createLdapInitContext(String, Object)
At LdapLoginModule.java:[line 404]
Invocation of toString on an array in org.jboss.security.auth.spi.LdapLoginModule.createLdapInitContext(String, Object)
In class org.jboss.security.auth.spi.RFC2617Digest
In method org.jboss.security.auth.spi.RFC2617Digest.postDigest(MessageDigest)
Local variable named qop
Dereferenced at RFC2617Digest.java:[line 293]
Known null at RFC2617Digest.java:[line 293]
Possible null pointer dereference of qop in org.jboss.security.auth.spi.RFC2617Digest.postDigest(MessageDigest)
In class org.jboss.security.auth.spi.Users$User
In method org.jboss.security.auth.spi.Users$User.compareTo(Object)
At Users.java:[lines 125-126]
org.jboss.security.auth.spi.Users$User defines compareTo(Object) and uses Object.equals()
In class org.jboss.security.jacc.DelegatingPolicy
In method org.jboss.security.jacc.DelegatingPolicy.DelegatingPolicy(Policy)
Local variable named c
At DelegatingPolicy.java:[line 128]
Dead store to c in org.jboss.security.jacc.DelegatingPolicy.DelegatingPolicy(Policy)
In class org.jboss.security.jacc.DelegatingPolicy
In method org.jboss.security.jacc.DelegatingPolicy.DelegatingPolicy(Policy)
Local variable named cl
At DelegatingPolicy.java:[line 130]
Dead store to cl in org.jboss.security.jacc.DelegatingPolicy.DelegatingPolicy(Policy)
In class org.jboss.security.plugins.DefaultLoginConfig
In method org.jboss.security.plugins.DefaultLoginConfig.getMBeanInfo()
Called method javax.management.MBeanConstructorInfo.MBeanConstructorInfo(String, Constructor)
Argument 2 might be null but must not be null
Local variable named ctor
Method invoked at DefaultLoginConfig.java:[line 149]
Known null at DefaultLoginConfig.java:[line 146]
Method call in org.jboss.security.plugins.DefaultLoginConfig.getMBeanInfo() passes null for unconditionally dereferenced parameter of javax.management.MBeanConstructorInfo.MBeanConstructorInfo(String, Constructor)
In class org.jboss.security.plugins.DefaultLoginConfig
In method org.jboss.security.plugins.DefaultLoginConfig.getMBeanInfo()
Called method javax.management.MBeanOperationInfo.MBeanOperationInfo(String, Method)
Argument 2 might be null but must not be null
Local variable named getConfiguration
Method invoked at DefaultLoginConfig.java:[line 161]
Known null at DefaultLoginConfig.java:[line 158]
Method call in org.jboss.security.plugins.DefaultLoginConfig.getMBeanInfo() passes null for unconditionally dereferenced parameter of javax.management.MBeanOperationInfo.MBeanOperationInfo(String, Method)
In class org.jboss.security.plugins.DefaultLoginConfig
In method org.jboss.security.plugins.DefaultLoginConfig.getMBeanInfo()
At DefaultLoginConfig.java:[line 158]
Exception is caught when Exception is not thrown in org.jboss.security.plugins.DefaultLoginConfig.getMBeanInfo()
In class org.jboss.security.plugins.JaasSecurityDomain
In method org.jboss.security.plugins.JaasSecurityDomain.execPasswordCmd()
Local variable named password
Dereferenced at JaasSecurityDomain.java:[line 482]
Known null at JaasSecurityDomain.java:[line 481]
Possible null pointer dereference in org.jboss.security.plugins.JaasSecurityDomain.execPasswordCmd() due to return value of called method
In class org.jboss.security.plugins.JaasSecurityDomain
In method org.jboss.security.plugins.JaasSecurityDomain.execPasswordCmd()
Need to close java.io.Reader
At JaasSecurityDomain.java:[line 477]
org.jboss.security.plugins.JaasSecurityDomain.execPasswordCmd() may fail to close stream
In class org.jboss.security.plugins.JaasSecurityManager
In method org.jboss.security.plugins.JaasSecurityManager.authenticate(Principal, Object, Subject)
Local variable named theSubject
At JaasSecurityManager.java:[line 548]
Dead store to theSubject in org.jboss.security.plugins.JaasSecurityManager.authenticate(Principal, Object, Subject)
In class org.jboss.security.plugins.JaasSecurityManager
In method org.jboss.security.plugins.JaasSecurityManager.setDeepCopySubjectOption(Boolean)
Actual type java.lang.Boolean
At JaasSecurityManager.java:[line 271]
Suspicious comparison of java.lang.Boolean references in org.jboss.security.plugins.JaasSecurityManager.setDeepCopySubjectOption(Boolean)
In class org.jboss.security.plugins.JaasSecurityManager$DomainInfo
Field org.jboss.security.plugins.JaasSecurityManager$DomainInfo.loginCtx
Synchronized 66% of the time
Unsynchronized access at JaasSecurityManager.java:[line 745]
Synchronized access at JaasSecurityManager.java:[line 119]
Synchronized access at JaasSecurityManager.java:[line 120]
Inconsistent synchronization of org.jboss.security.plugins.JaasSecurityManager$DomainInfo.loginCtx; locked 66% of time
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setAuthenticationCacheJndiName(String)
Field org.jboss.security.plugins.JaasSecurityManagerService.cacheJndiName
At JaasSecurityManagerService.java:[line 201]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.cacheJndiName from instance method org.jboss.security.plugins.JaasSecurityManagerService.setAuthenticationCacheJndiName(String)
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setCallbackHandlerClassName(String)
Field org.jboss.security.plugins.JaasSecurityManagerService.callbackHandlerClassName
At JaasSecurityManagerService.java:[line 186]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.callbackHandlerClassName from instance method org.jboss.security.plugins.JaasSecurityManagerService.setCallbackHandlerClassName(String)
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setDefaultCacheResolution(int)
Field org.jboss.security.plugins.JaasSecurityManagerService.defaultCacheResolution
At JaasSecurityManagerService.java:[line 230]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.defaultCacheResolution from instance method org.jboss.security.plugins.JaasSecurityManagerService.setDefaultCacheResolution(int)
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setDefaultCacheTimeout(int)
Field org.jboss.security.plugins.JaasSecurityManagerService.defaultCacheTimeout
At JaasSecurityManagerService.java:[line 216]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.defaultCacheTimeout from instance method org.jboss.security.plugins.JaasSecurityManagerService.setDefaultCacheTimeout(int)
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setDefaultUnauthenticatedPrincipal(String)
Field org.jboss.security.plugins.JaasSecurityManagerService.defaultUnauthenticatedPrincipal
At JaasSecurityManagerService.java:[line 677]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.defaultUnauthenticatedPrincipal from instance method org.jboss.security.plugins.JaasSecurityManagerService.setDefaultUnauthenticatedPrincipal(String)
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setSecurityManagerClassName(String)
Field org.jboss.security.plugins.JaasSecurityManagerService.securityMgrClassName
At JaasSecurityManagerService.java:[line 154]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.securityMgrClassName from instance method org.jboss.security.plugins.JaasSecurityManagerService.setSecurityManagerClassName(String)
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setSecurityProxyFactoryClassName(String)
Field org.jboss.security.plugins.JaasSecurityManagerService.securityProxyFactoryClassName
At JaasSecurityManagerService.java:[line 167]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.securityProxyFactoryClassName from instance method org.jboss.security.plugins.JaasSecurityManagerService.setSecurityProxyFactoryClassName(String)
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setCallbackHandlerClassName(String)
Field org.jboss.security.plugins.JaasSecurityManagerService.callbackHandlerClass
At JaasSecurityManagerService.java:[line 188]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.callbackHandlerClass from instance method org.jboss.security.plugins.JaasSecurityManagerService.setCallbackHandlerClassName(String)
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setDeepCopySubjectMode(boolean)
Field org.jboss.security.plugins.JaasSecurityManagerService.deepCopySubjectMode
At JaasSecurityManagerService.java:[line 247]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.deepCopySubjectMode from instance method org.jboss.security.plugins.JaasSecurityManagerService.setDeepCopySubjectMode(boolean)
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setSecurityManagerClassName(String)
Field org.jboss.security.plugins.JaasSecurityManagerService.securityMgrClass
At JaasSecurityManagerService.java:[line 156]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.securityMgrClass from instance method org.jboss.security.plugins.JaasSecurityManagerService.setSecurityManagerClassName(String)
In class org.jboss.security.plugins.JaasSecurityManagerService
In method org.jboss.security.plugins.JaasSecurityManagerService.setSecurityProxyFactoryClassName(String)
Field org.jboss.security.plugins.JaasSecurityManagerService.securityProxyFactoryClass
At JaasSecurityManagerService.java:[line 169]
Write to static field org.jboss.security.plugins.JaasSecurityManagerService.securityProxyFactoryClass from instance method org.jboss.security.plugins.JaasSecurityManagerService.setSecurityProxyFactoryClassName(String)
In class org.jboss.security.srp.SRPClientSession
Field org.jboss.security.srp.SRPClientSession.s
In SRPClientSession.java
Unused field: org.jboss.security.srp.SRPClientSession.s
In class org.jboss.security.srp.SRPConf$SRPParams
In method org.jboss.security.srp.SRPConf$SRPParams.Nbytes()
At SRPConf.java:[line 56]
The method name org.jboss.security.srp.SRPConf$SRPParams.Nbytes() doesn't start with an lower case letter
In class org.jboss.security.srp.SRPParameters
In method org.jboss.security.srp.SRPParameters.toString()
At SRPParameters.java:[line 146]
Invocation of toString on an array in org.jboss.security.srp.SRPParameters.toString()
In class org.jboss.security.srp.SRPRemoteServer
Field org.jboss.security.srp.SRPRemoteServer.listener
In SRPRemoteServer.java
Class org.jboss.security.srp.SRPRemoteServer defines non-transient non-serializable instance field listener
In class org.jboss.security.srp.SRPRemoteServer
Field org.jboss.security.srp.SRPRemoteServer.verifierStore
In SRPRemoteServer.java
Class org.jboss.security.srp.SRPRemoteServer defines non-transient non-serializable instance field verifierStore
In class org.jboss.security.srp.SRPRemoteServer
In SRPRemoteServer.java
org.jboss.security.srp.SRPRemoteServer is Serializable; consider declaring a serialVersionUID
In class org.jboss.security.srp.SRPServerSession
Field org.jboss.security.srp.SRPServerSession.clientHash
In SRPServerSession.java
The field org.jboss.security.srp.SRPServerSession.clientHash is transient but isn't set by deserialization
In class org.jboss.security.srp.SRPServerSession
Field org.jboss.security.srp.SRPServerSession.serverHash
In SRPServerSession.java
The field org.jboss.security.srp.SRPServerSession.serverHash is transient but isn't set by deserialization
In class org.jboss.security.srp.SRPSessionKey
In method org.jboss.security.srp.SRPSessionKey.equals(Object)
At SRPSessionKey.java:[line 55]
Equals method for org.jboss.security.srp.SRPSessionKey assumes the argument is of type SRPSessionKey
In class org.jboss.security.srp.SRPSessionKey
In method org.jboss.security.srp.SRPSessionKey.equals(Object)
Local variable named obj
Dereferenced at SRPSessionKey.java:[line 56]
org.jboss.security.srp.SRPSessionKey.equals(Object) does not check for null argument
In class org.jboss.security.srp.jaas.SRPCacheLoginModule
Field org.jboss.security.srp.jaas.SRPCacheLoginModule.domainName
At SRPCacheLoginModule.java:[line 94]
Unread field: org.jboss.security.srp.jaas.SRPCacheLoginModule.domainName
In class org.jboss.security.srp.jaas.SRPLoginModule
In method org.jboss.security.srp.jaas.SRPLoginModule.login()
At SRPLoginModule.java:[line 248]
Exception is caught when Exception is not thrown in org.jboss.security.srp.jaas.SRPLoginModule.login()
In class org.jboss.security.srp.jaas.SRPPrincipal
In method org.jboss.security.srp.jaas.SRPPrincipal.equals(Object)
At SRPPrincipal.java:[line 66]
Equals method for org.jboss.security.srp.jaas.SRPPrincipal assumes the argument is of type SRPPrincipal
In class org.jboss.security.srp.jaas.SRPPrincipal
In method org.jboss.security.srp.jaas.SRPPrincipal.equals(Object)
Local variable named obj
Dereferenced at SRPPrincipal.java:[line 67]
org.jboss.security.srp.jaas.SRPPrincipal.equals(Object) does not check for null argument
In class org.jboss.services.binding.ServiceConfig
In method org.jboss.services.binding.ServiceConfig.clone()
At ServiceConfig.java:[lines 57-67]
org.jboss.services.binding.ServiceConfig.clone() does not call super.clone()
In class org.jboss.services.binding.XMLServicesStore
In method org.jboss.services.binding.XMLServicesStore.parseBinding(Element)
Local variable named hostName
Dereferenced at XMLServicesStore.java:[line 208]
Known null at XMLServicesStore.java:[line 204]
Possible null pointer dereference of hostName in org.jboss.services.binding.XMLServicesStore.parseBinding(Element)
In class org.jboss.services.binding.XMLServicesStore
In method org.jboss.services.binding.XMLServicesStore.parseBinding(Element)
Local variable named portStr
Dereferenced at XMLServicesStore.java:[line 215]
Known null at XMLServicesStore.java:[line 211]
Possible null pointer dereference of portStr in org.jboss.services.binding.XMLServicesStore.parseBinding(Element)
In class org.jboss.services.binding.XSLTFileDelegate
In method org.jboss.services.binding.XSLTFileDelegate.applyConfig(ServiceConfig, MBeanServer)
At XSLTFileDelegate.java:[line 171]
Exception is caught when Exception is not thrown in org.jboss.services.binding.XSLTFileDelegate.applyConfig(ServiceConfig, MBeanServer)
In class org.jboss.system.ListenerServiceMBeanSupport
In method org.jboss.system.ListenerServiceMBeanSupport.handleNotification(Notification, Object)
Actual type javax.management.Notification
Expected javax.management.MBeanServerNotification
Local variable named notification
At ListenerServiceMBeanSupport.java:[line 350]
Unchecked/unconfirmed cast from javax.management.Notification to javax.management.MBeanServerNotification in org.jboss.system.ListenerServiceMBeanSupport.handleNotification(Notification, Object)
In class org.jboss.system.ListenerServiceMBeanSupport
In method org.jboss.system.ListenerServiceMBeanSupport.createNotificationFilter(String, Element)
At ListenerServiceMBeanSupport.java:[line 615]
Exception is caught when Exception is not thrown in org.jboss.system.ListenerServiceMBeanSupport.createNotificationFilter(String, Element)
In class org.jboss.system.ServiceConfigurator
In method org.jboss.system.ServiceConfigurator.configure(ObjectName, ObjectName, Element, List)
At ServiceConfigurator.java:[line 358]
Method org.jboss.system.ServiceConfigurator.configure(ObjectName, ObjectName, Element, List) invokes toString() method on a String
In class org.jboss.system.ServiceConfigurator
In method org.jboss.system.ServiceConfigurator.getElementContent(Element, boolean, boolean)
At ServiceConfigurator.java:[line 793]
Method org.jboss.system.ServiceConfigurator.getElementContent(Element, boolean, boolean) concatenates strings using + in a loop
In class org.jboss.system.ServiceCreator$ConstructorInfo
In method org.jboss.system.ServiceCreator$ConstructorInfo.create(Element)
At ServiceCreator.java:[line 357]
Exception is caught when Exception is not thrown in org.jboss.system.ServiceCreator$ConstructorInfo.create(Element)
In class org.jboss.system.pm.XMLAttributePersistenceManager$ObjectInputStreamExt
In XMLAttributePersistenceManager.java
Should org.jboss.system.pm.XMLAttributePersistenceManager$ObjectInputStreamExt be a _static_ inner class?
In class org.jboss.system.pm.XMLAttributePersistenceManager$XMLFilter
In XMLAttributePersistenceManager.java
Should org.jboss.system.pm.XMLAttributePersistenceManager$XMLFilter be a _static_ inner class?
In class org.jboss.system.server.ServerConfigImpl
In method org.jboss.system.server.ServerConfigImpl.getBlockingShutdown()
At ServerConfigImpl.java:[line 562]
org.jboss.system.server.ServerConfigImpl.getBlockingShutdown() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.system.server.ServerConfigImpl
In method org.jboss.system.server.ServerConfigImpl.getExitOnShutdown()
At ServerConfigImpl.java:[line 523]
org.jboss.system.server.ServerConfigImpl.getExitOnShutdown() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.system.server.ServerConfigImpl
In method org.jboss.system.server.ServerConfigImpl.getPlatformMBeanServer()
At ServerConfigImpl.java:[line 473]
org.jboss.system.server.ServerConfigImpl.getPlatformMBeanServer() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.system.server.ServerConfigImpl
In method org.jboss.system.server.ServerConfigImpl.getPlatformMBeanServer()
At ServerConfigImpl.java:[line 480]
org.jboss.system.server.ServerConfigImpl.getPlatformMBeanServer() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.system.server.ServerConfigImpl
In method org.jboss.system.server.ServerConfigImpl.getRequireJBossURLStreamHandlerFactory()
At ServerConfigImpl.java:[line 601]
org.jboss.system.server.ServerConfigImpl.getRequireJBossURLStreamHandlerFactory() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.system.server.ServerImpl
In method org.jboss.system.server.ServerImpl.runGarbageCollector()
At ServerImpl.java:[line 776]
org.jboss.system.server.ServerImpl.runGarbageCollector() forces garbage collection; extremely dubious except in benchmarking code
In class org.jboss.system.server.ServerImpl$LifeThread
In method org.jboss.system.server.ServerImpl$LifeThread.run()
At ServerImpl.java:[line 932]
Unconditional wait in org.jboss.system.server.ServerImpl$LifeThread.run()
In class org.jboss.system.server.ServerImpl$LifeThread
In method org.jboss.system.server.ServerImpl$LifeThread.run()
At ServerImpl.java:[line 932]
Wait not in loop in org.jboss.system.server.ServerImpl$LifeThread.run()
In class org.jboss.system.server.ServerImpl$ShutdownHook
In method org.jboss.system.server.ServerImpl$ShutdownHook.ShutdownHook(ServerImpl, ObjectName, ObjectName)
At ServerImpl.java:[line 974]
org.jboss.system.server.ServerImpl$ShutdownHook.ShutdownHook(ServerImpl, ObjectName, ObjectName) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.system.server.ServerInfo
In method org.jboss.system.server.ServerInfo.listMemoryPools(boolean)
At ServerInfo.java:[line 459]
Exception is caught when Exception is not thrown in org.jboss.system.server.ServerInfo.listMemoryPools(boolean)
In class org.jboss.system.server.ServerInfo
In method org.jboss.system.server.ServerInfo.outputJdk5ThreadMXBeanInfo(StringBuffer, Thread)
At ServerInfo.java:[line 672]
Exception is caught when Exception is not thrown in org.jboss.system.server.ServerInfo.outputJdk5ThreadMXBeanInfo(StringBuffer, Thread)
In class org.jboss.system.server.ServerInfo
In method org.jboss.system.server.ServerInfo.preRegister(MBeanServer, ObjectName)
At ServerInfo.java:[line 180]
Exception is caught when Exception is not thrown in org.jboss.system.server.ServerInfo.preRegister(MBeanServer, ObjectName)
In class org.jboss.system.server.ServerInfo
Field org.jboss.system.server.ServerInfo.server
At ServerInfo.java:[line 108]
Unread field: org.jboss.system.server.ServerInfo.server
In class org.jboss.system.server.ServerInfo$ThreadCPU
In method org.jboss.system.server.ServerInfo$ThreadCPU.compareTo(Object)
At ServerInfo.java:[lines 853-860]
org.jboss.system.server.ServerInfo$ThreadCPU defines compareTo(Object) and uses Object.equals()
In class org.jboss.system.server.ServerLoader
In method org.jboss.system.server.ServerLoader.load(ClassLoader)
In class org.jboss.system.server.NoAnnotationURLClassLoader
At ServerLoader.java:[line 262]
org.jboss.system.server.ServerLoader.load(ClassLoader) creates a org.jboss.system.server.NoAnnotationURLClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.system.server.jmx.LazyMBeanServer
In method org.jboss.system.server.jmx.LazyMBeanServer.LazyMBeanServer(String, MBeanServer, MBeanServerDelegate)
Field org.jboss.system.server.jmx.LazyMBeanServer.defaultDomain
At LazyMBeanServer.java:[line 143]
Write to static field org.jboss.system.server.jmx.LazyMBeanServer.defaultDomain from instance method org.jboss.system.server.jmx.LazyMBeanServer.LazyMBeanServer(String, MBeanServer, MBeanServerDelegate)
In class org.jboss.system.server.jmx.LazyMBeanServer
In method org.jboss.system.server.jmx.LazyMBeanServer.LazyMBeanServer(String, MBeanServer, MBeanServerDelegate)
Field org.jboss.system.server.jmx.LazyMBeanServer.platformServer
At LazyMBeanServer.java:[line 144]
Write to static field org.jboss.system.server.jmx.LazyMBeanServer.platformServer from instance method org.jboss.system.server.jmx.LazyMBeanServer.LazyMBeanServer(String, MBeanServer, MBeanServerDelegate)
In class org.jboss.system.server.jmx.LazyMBeanServer
In method org.jboss.system.server.jmx.LazyMBeanServer.LazyMBeanServer(String, MBeanServer, MBeanServerDelegate)
Field org.jboss.system.server.jmx.LazyMBeanServer.registeredServer
At LazyMBeanServer.java:[line 146]
Write to static field org.jboss.system.server.jmx.LazyMBeanServer.registeredServer from instance method org.jboss.system.server.jmx.LazyMBeanServer.LazyMBeanServer(String, MBeanServer, MBeanServerDelegate)
In class org.jboss.system.server.jmx.LazyMBeanServer
In method org.jboss.system.server.jmx.LazyMBeanServer.LazyMBeanServer(String, MBeanServer, MBeanServerDelegate)
Field org.jboss.system.server.jmx.LazyMBeanServer.theDelegate
At LazyMBeanServer.java:[line 147]
Write to static field org.jboss.system.server.jmx.LazyMBeanServer.theDelegate from instance method org.jboss.system.server.jmx.LazyMBeanServer.LazyMBeanServer(String, MBeanServer, MBeanServerDelegate)
In class org.jboss.system.server.jmx.LazyMBeanServer
In method org.jboss.system.server.jmx.LazyMBeanServer.LazyMBeanServer(String, MBeanServer, MBeanServerDelegate)
Field org.jboss.system.server.jmx.LazyMBeanServer.theServer
At LazyMBeanServer.java:[line 145]
Write to static field org.jboss.system.server.jmx.LazyMBeanServer.theServer from instance method org.jboss.system.server.jmx.LazyMBeanServer.LazyMBeanServer(String, MBeanServer, MBeanServerDelegate)
In class org.jboss.system.server.jmx.MBeanServerBuilderImpl
In method org.jboss.system.server.jmx.MBeanServerBuilderImpl.newMBeanServer(String, MBeanServer, MBeanServerDelegate)
At MBeanServerBuilderImpl.java:[line 67]
Load of known null value in org.jboss.system.server.jmx.MBeanServerBuilderImpl.newMBeanServer(String, MBeanServer, MBeanServerDelegate)
In class org.jboss.tm.TransactionImpl
Field org.jboss.tm.TransactionImpl.done
Synchronized 75% of the time
Unsynchronized access at TransactionImpl.java:[line 600]
Synchronized access at TransactionImpl.java:[line 833]
Synchronized access at TransactionImpl.java:[line 856]
Synchronized access at TransactionImpl.java:[line 1363]
Inconsistent synchronization of org.jboss.tm.TransactionImpl.done; locked 75% of time
In class org.jboss.tm.TransactionImpl
In method org.jboss.tm.TransactionImpl.rollback()
At TransactionImpl.java:[lines 408-411]
Switch statement found in org.jboss.tm.TransactionImpl.rollback() where one case falls through to the next case
In class org.jboss.tm.TransactionImpl
In method org.jboss.tm.TransactionImpl.setRollbackOnly()
At TransactionImpl.java:[lines 681-702]
Switch statement found in org.jboss.tm.TransactionImpl.setRollbackOnly() where one case falls through to the next case
In class org.jboss.tm.TransactionImpl
In method org.jboss.tm.TransactionImpl.timedOut(Timeout)
At TransactionImpl.java:[lines 286-290]
Switch statement found in org.jboss.tm.TransactionImpl.timedOut(Timeout) where one case falls through to the next case
In class org.jboss.tm.TransactionManagerService
In method org.jboss.tm.TransactionManagerService.startService()
Field org.jboss.tm.TransactionImpl.txManagerService
At TransactionManagerService.java:[line 89]
Write to static field org.jboss.tm.TransactionImpl.txManagerService from instance method org.jboss.tm.TransactionManagerService.startService()
In class org.jboss.tm.TransactionManagerService
In method org.jboss.tm.TransactionManagerService.startService()
Field org.jboss.tm.TransactionImpl.xidFactory
At TransactionManagerService.java:[line 88]
Write to static field org.jboss.tm.TransactionImpl.xidFactory from instance method org.jboss.tm.TransactionManagerService.startService()
In class org.jboss.tm.TxManager
In method org.jboss.tm.TxManager.setTransactionTimeout(int)
At TxManager.java:[line 412]
Result of integer multiplication cast to long in org.jboss.tm.TxManager.setTransactionTimeout(int)
In class org.jboss.tm.TxManager
In method org.jboss.tm.TxManager.associateThread(Transaction)
Local variable named transaction
Dereferenced at TxManager.java:[line 490]
Known null at TxManager.java:[line 482]
Possible null pointer dereference of transaction in org.jboss.tm.TxManager.associateThread(Transaction)
In class org.jboss.tm.usertx.client.ClientUserTransaction
Field org.jboss.tm.usertx.client.ClientUserTransaction.session
In ClientUserTransaction.java
Class org.jboss.tm.usertx.client.ClientUserTransaction defines non-transient non-serializable instance field session
In class org.jboss.tm.usertx.client.ClientUserTransaction
Field org.jboss.tm.usertx.client.ClientUserTransaction.threadInfo
In ClientUserTransaction.java
The field org.jboss.tm.usertx.client.ClientUserTransaction.threadInfo is transient but isn't set by deserialization
In class org.jboss.varia.deployment.BeanShellScript
In method org.jboss.varia.deployment.BeanShellScript.generateMBeanInfo(Class[])
At BeanShellScript.java:[line 481]
Method org.jboss.varia.deployment.BeanShellScript.generateMBeanInfo(Class[]) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.varia.deployment.BeanShellScript
In method org.jboss.varia.deployment.BeanShellScript.generateMBeanInfo(Class[])
At BeanShellScript.java:[line 496]
Method org.jboss.varia.deployment.BeanShellScript.generateMBeanInfo(Class[]) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.varia.deployment.BeanShellScript$InvocationCouple
In BeanShellScript.java
Should org.jboss.varia.deployment.BeanShellScript$InvocationCouple be a _static_ inner class?
In class org.jboss.varia.scheduler.ScheduleManager$ScheduleInstance
In method org.jboss.varia.scheduler.ScheduleManager$ScheduleInstance.start()
At ScheduleManager.java:[line 808]
org.jboss.varia.scheduler.ScheduleManager$ScheduleInstance.start() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.varia.scheduler.Scheduler
In method org.jboss.varia.scheduler.Scheduler.startSchedule()
At Scheduler.java:[line 259]
org.jboss.varia.scheduler.Scheduler.startSchedule() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.varia.scheduler.Scheduler
In method org.jboss.varia.scheduler.Scheduler.startSchedule()
At Scheduler.java:[line 359]
org.jboss.varia.scheduler.Scheduler.startSchedule() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.varia.scheduler.Scheduler
In method org.jboss.varia.scheduler.Scheduler.startSchedule()
At Scheduler.java:[line 400]
Exception is caught when Exception is not thrown in org.jboss.varia.scheduler.Scheduler.startSchedule()
In class org.jboss.varia.scheduler.XMLScheduleProvider
In method org.jboss.varia.scheduler.XMLScheduleProvider.startProviding()
At XMLScheduleProvider.java:[line 196]
Exception is caught when Exception is not thrown in org.jboss.varia.scheduler.XMLScheduleProvider.startProviding()
In class org.jboss.verifier.Listener
In method org.jboss.verifier.Listener.specViolation(VerificationEvent)
Field org.jboss.verifier.Main.returnCode
At Main.java:[line 123]
Write to static field org.jboss.verifier.Main.returnCode from instance method org.jboss.verifier.Listener.specViolation(VerificationEvent)
In class org.jboss.verifier.event.VerificationEvent
In method org.jboss.verifier.event.VerificationEvent.getVerbose()
At VerificationEvent.java:[line 188]
Method org.jboss.verifier.event.VerificationEvent.getVerbose() invokes toString() method on a String
In class org.jboss.verifier.event.VerificationEvent
Field org.jboss.verifier.event.VerificationEvent.method
In VerificationEvent.java
Class org.jboss.verifier.event.VerificationEvent defines non-transient non-serializable instance field method
In class org.jboss.verifier.factory.DefaultEventFactory
In method org.jboss.verifier.factory.DefaultEventFactory.loadErrorMessages()
At DefaultEventFactory.java:[line 137]
Usage of GetResource in org.jboss.verifier.factory.DefaultEventFactory.loadErrorMessages() may be unsafe if class is extended
In class org.jboss.verifier.strategy.AbstractVerifier
In method org.jboss.verifier.strategy.AbstractVerifier.hasDefaultConstructor(Class)
Local variable stored in JVM register 2
At AbstractVerifier.java:[line 556]
Dead store to $L2 in org.jboss.verifier.strategy.AbstractVerifier.hasDefaultConstructor(Class)
In class org.jboss.verifier.strategy.AbstractVerifier
In method org.jboss.verifier.strategy.AbstractVerifier.hasFinalizer(Class)
Local variable stored in JVM register 2
At AbstractVerifier.java:[line 580]
Dead store to $L2 in org.jboss.verifier.strategy.AbstractVerifier.hasFinalizer(Class)
In class org.jboss.verifier.strategy.AbstractVerifier
In method org.jboss.verifier.strategy.AbstractVerifier.AbstractVerifier(VerificationContext)
In class java.net.URLClassLoader
At AbstractVerifier.java:[line 130]
org.jboss.verifier.strategy.AbstractVerifier.AbstractVerifier(VerificationContext) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.verifier.strategy.EJBVerifier20
In method org.jboss.verifier.strategy.EJBVerifier20.verifyPrimaryKey(EntityMetaData)
At EJBVerifier20.java:[line 2356]
At EJBVerifier20.java:[line 2362]
Method org.jboss.verifier.strategy.EJBVerifier20.verifyPrimaryKey(EntityMetaData) uses the same code for two branches
In class org.jboss.verifier.strategy.EJBVerifier20
In method org.jboss.verifier.strategy.EJBVerifier20.verifyPrimaryKey(EntityMetaData)
At EJBVerifier20.java:[line 2381]
At EJBVerifier20.java:[line 2387]
Method org.jboss.verifier.strategy.EJBVerifier20.verifyPrimaryKey(EntityMetaData) uses the same code for two branches
In class org.jboss.verifier.strategy.EJBVerifier21
In method org.jboss.verifier.strategy.EJBVerifier21.verifyPrimaryKey(EntityMetaData)
At EJBVerifier21.java:[line 2366]
At EJBVerifier21.java:[line 2372]
Method org.jboss.verifier.strategy.EJBVerifier21.verifyPrimaryKey(EntityMetaData) uses the same code for two branches
In class org.jboss.verifier.strategy.EJBVerifier21
In method org.jboss.verifier.strategy.EJBVerifier21.verifyPrimaryKey(EntityMetaData)
At EJBVerifier21.java:[line 2391]
At EJBVerifier21.java:[line 2397]
Method org.jboss.verifier.strategy.EJBVerifier21.verifyPrimaryKey(EntityMetaData) uses the same code for two branches
In class org.jboss.web.AbstractWebContainer
In method org.jboss.web.AbstractWebContainer.addDeployedApp(URL, WebApplication)
Called method java.util.HashMap.put(Object, Object)
At AbstractWebContainer.java:[line 558]
org.jboss.web.AbstractWebContainer.addDeployedApp(URL, WebApplication) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.web.AbstractWebContainer
In method org.jboss.web.AbstractWebContainer.removeDeployedApp(URL)
Called method java.util.HashMap.remove(Object)
At AbstractWebContainer.java:[line 572]
org.jboss.web.AbstractWebContainer.removeDeployedApp(URL) is or uses a map or set of URLs, which can be a performance hog
In class org.jboss.web.AbstractWebContainer
In method org.jboss.web.AbstractWebContainer.create(DeploymentInfo)
In class java.net.URLClassLoader
At AbstractWebContainer.java:[line 410]
org.jboss.web.AbstractWebContainer.create(DeploymentInfo) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.web.AbstractWebContainer
In method org.jboss.web.AbstractWebContainer.create(DeploymentInfo)
In class java.net.URLClassLoader
At AbstractWebContainer.java:[line 433]
org.jboss.web.AbstractWebContainer.create(DeploymentInfo) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.web.AbstractWebContainer
In method org.jboss.web.AbstractWebContainer.init(DeploymentInfo)
In class java.net.URLClassLoader
At AbstractWebContainer.java:[line 336]
org.jboss.web.AbstractWebContainer.init(DeploymentInfo) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.web.AbstractWebContainer
In method org.jboss.web.AbstractWebContainer.create(DeploymentInfo)
Value contained in org.jboss.deployment.DeploymentInfo.localUrl
Dereferenced at AbstractWebContainer.java:[line 395]
Known null at AbstractWebContainer.java:[line 394]
Possible null pointer dereference of org.jboss.deployment.DeploymentInfo.org.jboss.deployment.DeploymentInfo.localUrl in org.jboss.web.AbstractWebContainer.create(DeploymentInfo)
In class org.jboss.web.AbstractWebContainer
In method org.jboss.web.AbstractWebContainer.getClassLoaderURLs(ClassLoader)
At AbstractWebContainer.java:[line 630]
Exception is caught when Exception is not thrown in org.jboss.web.AbstractWebContainer.getClassLoaderURLs(ClassLoader)
In class org.jboss.web.ThreadPool
In method org.jboss.web.ThreadPool.run(Runnable)
Called method org.jboss.web.ThreadPool$Worker.Worker(ThreadPool, Runnable)
At ThreadPool.java:[line 96]
org.jboss.web.ThreadPool.run(Runnable) ignores return value of org.jboss.web.ThreadPool$Worker.Worker(ThreadPool, Runnable)
In class org.jboss.web.ThreadPool$Worker
Field org.jboss.web.ThreadPool$Worker.running
Synchronized 66% of the time
Unsynchronized access at ThreadPool.java:[line 173]
Synchronized access at ThreadPool.java:[line 190]
Synchronized access at ThreadPool.java:[line 150]
Inconsistent synchronization of org.jboss.web.ThreadPool$Worker.running; locked 66% of time
In class org.jboss.web.WebPermissionMapping
In method org.jboss.web.WebPermissionMapping.createPermissions(WebMetaData, PolicyConfiguration)
At WebPermissionMapping.java:[line 217]
Method org.jboss.web.WebPermissionMapping.createPermissions(WebMetaData, PolicyConfiguration) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.web.WebPermissionMapping$PatternInfo
In method org.jboss.web.WebPermissionMapping$PatternInfo.equals(Object)
At WebPermissionMapping.java:[line 640]
Equals method for org.jboss.web.WebPermissionMapping$PatternInfo assumes the argument is of type WebPermissionMapping$PatternInfo
In class org.jboss.web.WebPermissionMapping$PatternInfo
In method org.jboss.web.WebPermissionMapping$PatternInfo.getMissingMethods()
Local variable named httpMethods
At WebPermissionMapping.java:[line 581]
Dead store to httpMethods in org.jboss.web.WebPermissionMapping$PatternInfo.getMissingMethods()
In class org.jboss.web.WebPermissionMapping$PatternInfo
In method org.jboss.web.WebPermissionMapping$PatternInfo.equals(Object)
Local variable named obj
Dereferenced at WebPermissionMapping.java:[line 641]
org.jboss.web.WebPermissionMapping$PatternInfo.equals(Object) does not check for null argument
In class org.jboss.web.WebServer
In method org.jboss.web.WebServer.getPath(BufferedReader)
Local variable named line
Dereferenced at WebServer.java:[line 510]
Known null at WebServer.java:[line 508]
Possible null pointer dereference in org.jboss.web.WebServer.getPath(BufferedReader) due to return value of called method
In class org.jboss.web.tomcat.security.ExtendedFormAuthenticator
In method org.jboss.web.tomcat.security.ExtendedFormAuthenticator.authenticate(Request, Response, LoginConfig)
Local variable named session
Dereferenced at ExtendedFormAuthenticator.java:[line 104]
Known null at ExtendedFormAuthenticator.java:[line 89]
Possible null pointer dereference of session in org.jboss.web.tomcat.security.ExtendedFormAuthenticator.authenticate(Request, Response, LoginConfig)
In class org.jboss.web.tomcat.security.FormAuthenticator
In method org.jboss.web.tomcat.security.FormAuthenticator.saveRequest(Request, Session)
At FormAuthenticator.java:[line 440]
Method org.jboss.web.tomcat.security.FormAuthenticator.saveRequest(Request, Session) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.web.tomcat.security.GenericHeaderAuthenticator
In method org.jboss.web.tomcat.security.GenericHeaderAuthenticator.getSessionCookie(Request)
At GenericHeaderAuthenticator.java:[line 143]
Invocation of toString on an array in org.jboss.web.tomcat.security.GenericHeaderAuthenticator.getSessionCookie(Request)
In class org.jboss.web.tomcat.security.JaccAuthorizationRealm
In method org.jboss.web.tomcat.security.JaccAuthorizationRealm.getServletName(Wrapper)
At JaccAuthorizationRealm.java:[line 332]
Invocation of toString on an array in org.jboss.web.tomcat.security.JaccAuthorizationRealm.getServletName(Wrapper)
In class org.jboss.web.tomcat.security.JaccContextValve
Field org.jboss.web.tomcat.security.JaccContextValve.trace
At JaccContextValve.java:[line 58]
Unread field: org.jboss.web.tomcat.security.JaccContextValve.trace
In class org.jboss.web.tomcat.security.SecurityFlushSessionListener
In method org.jboss.web.tomcat.security.SecurityFlushSessionListener.getPrincipal(Subject)
Local variable named principals
Dereferenced at SecurityFlushSessionListener.java:[line 129]
Null pointer dereference of principals in org.jboss.web.tomcat.security.SecurityFlushSessionListener.getPrincipal(Subject)
In class org.jboss.web.tomcat.security.SecurityFlushSessionListener
In method org.jboss.web.tomcat.security.SecurityFlushSessionListener.getPrincipal(Subject)
At SecurityFlushSessionListener.java:[line 129]
Load of known null value in org.jboss.web.tomcat.security.SecurityFlushSessionListener.getPrincipal(Subject)
In class org.jboss.web.tomcat.servlets.ContextForwardServlet
In ContextForwardServlet.java
org.jboss.web.tomcat.servlets.ContextForwardServlet is Serializable; consider declaring a serialVersionUID
In class org.jboss.web.tomcat.tc5.StandardService
In method org.jboss.web.tomcat.tc5.StandardService.addConnector(Connector)
Actual type org.apache.catalina.connector.Connector
Expected org.apache.catalina.Lifecycle
At StandardService.java:[line 327]
instanceof will always return true in org.jboss.web.tomcat.tc5.StandardService.addConnector(Connector), since all org.apache.catalina.connector.Connector are instances of org.apache.catalina.Lifecycle
In class org.jboss.web.tomcat.tc5.StandardService
In method org.jboss.web.tomcat.tc5.StandardService.removeConnector(Connector)
Actual type org.apache.catalina.connector.Connector
Expected org.apache.catalina.Lifecycle
At StandardService.java:[line 406]
instanceof will always return true in org.jboss.web.tomcat.tc5.StandardService.removeConnector(Connector), since all org.apache.catalina.connector.Connector are instances of org.apache.catalina.Lifecycle
In class org.jboss.web.tomcat.tc5.StandardService
In method org.jboss.web.tomcat.tc5.StandardService.stop()
Actual type org.apache.catalina.connector.Connector
Expected org.apache.catalina.Lifecycle
At StandardService.java:[line 620]
instanceof will always return true in org.jboss.web.tomcat.tc5.StandardService.stop(), since all org.apache.catalina.connector.Connector are instances of org.apache.catalina.Lifecycle
In class org.jboss.web.tomcat.tc5.StatusServlet
In method org.jboss.web.tomcat.tc5.StatusServlet.init()
At StatusServlet.java:[line 180]
Exception is caught when Exception is not thrown in org.jboss.web.tomcat.tc5.StatusServlet.init()
In class org.jboss.web.tomcat.tc5.StatusServlet
Field org.jboss.web.tomcat.tc5.StatusServlet.mBeanServer
In StatusServlet.java
Class org.jboss.web.tomcat.tc5.StatusServlet defines non-transient non-serializable instance field mBeanServer
In class org.jboss.web.tomcat.tc5.Tomcat5
In method org.jboss.web.tomcat.tc5.Tomcat5.startService()
At Tomcat5.java:[line 434]
org.jboss.web.tomcat.tc5.Tomcat5.startService() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.web.tomcat.tc5.TomcatDeployer
In method org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(String, WebApplication, String, AbstractWebContainer$WebDescriptorParser)
At TomcatDeployer.java:[line 220]
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(String, WebApplication, String, AbstractWebContainer$WebDescriptorParser) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead
In class org.jboss.web.tomcat.tc5.WebCtxLoader
In method org.jboss.web.tomcat.tc5.WebCtxLoader.WebCtxLoader(ClassLoader)
In class org.jboss.web.tomcat.tc5.WebCtxLoader$ENCLoader
At WebCtxLoader.java:[line 81]
org.jboss.web.tomcat.tc5.WebCtxLoader.WebCtxLoader(ClassLoader) creates a org.jboss.web.tomcat.tc5.WebCtxLoader$ENCLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.web.tomcat.tc5.jasper.JspServletOptions
In method org.jboss.web.tomcat.tc5.jasper.JspServletOptions.JspServletOptions(ServletConfig, ServletContext)
Field org.apache.jasper.xmlparser.ParserUtils.validating
At JspServletOptions.java:[line 418]
Write to static field org.apache.jasper.xmlparser.ParserUtils.validating from instance method org.jboss.web.tomcat.tc5.jasper.JspServletOptions.JspServletOptions(ServletConfig, ServletContext)
In class org.jboss.web.tomcat.tc5.jasper.TagLibCache
Field org.jboss.web.tomcat.tc5.jasper.TagLibCache.mappings
Synchronized 60% of the time
Unsynchronized access at TagLibCache.java:[line 82]
Unsynchronized access at TagLibCache.java:[line 84]
Synchronized access at TagLibCache.java:[line 90]
Synchronized access at TagLibCache.java:[line 110]
Synchronized access at TagLibCache.java:[line 110]
Inconsistent synchronization of org.jboss.web.tomcat.tc5.jasper.TagLibCache.mappings; locked 60% of time
In class org.jboss.web.tomcat.tc5.jca.CachedConnectionValve
In method org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.checkTransactionComplete(Request)
At CachedConnectionValve.java:[lines 241-245]
Switch statement found in org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.checkTransactionComplete(Request) where one case falls through to the next case
In class org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession
In AttributeBasedClusteredSession.java
org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession is Externalizable but doesn't define a void constructor
In class org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession
Field org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession.attrModifiedMap_
In AttributeBasedClusteredSession.java
The field org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession.attrModifiedMap_ is transient but isn't set by deserialization
In class org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession
Field org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession.attrRemovedMap_
In AttributeBasedClusteredSession.java
The field org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession.attrRemovedMap_ is transient but isn't set by deserialization
In class org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession
Field org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession.attributes_
In AttributeBasedClusteredSession.java
The field org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession.attributes_ is transient but isn't set by deserialization
In class org.jboss.web.tomcat.tc5.session.ClusteredSession
Field org.jboss.web.tomcat.tc5.session.ClusteredSession.accessCount
Synchronized 50% of the time
Unsynchronized access at ClusteredSession.java:[line 705]
Synchronized access at ClusteredSession.java:[line 828]
Inconsistent synchronization of org.jboss.web.tomcat.tc5.session.ClusteredSession.accessCount; locked 50% of time
In class org.jboss.web.tomcat.tc5.session.ClusteredSession
Field org.jboss.web.tomcat.tc5.session.ClusteredSession.expiring
Synchronized 50% of the time
Unsynchronized access at ClusteredSession.java:[line 772]
Unsynchronized access at ClusteredSession.java:[line 695]
Synchronized access at ClusteredSession.java:[line 785]
Synchronized access at ClusteredSession.java:[line 846]
Inconsistent synchronization of org.jboss.web.tomcat.tc5.session.ClusteredSession.expiring; locked 50% of time
In class org.jboss.web.tomcat.tc5.session.ClusteredSession
Field org.jboss.web.tomcat.tc5.session.ClusteredSession.isValid
Synchronized 60% of the time
Unsynchronized access at ClusteredSession.java:[line 700]
Unsynchronized access at ClusteredSession.java:[line 723]
Synchronized access at ClusteredSession.java:[line 779]
Synchronized access at ClusteredSession.java:[line 1113]
Synchronized access at ClusteredSession.java:[line 1175]
Inconsistent synchronization of org.jboss.web.tomcat.tc5.session.ClusteredSession.isValid; locked 60% of time
In class org.jboss.web.tomcat.tc5.session.ClusteredSession
Field org.jboss.web.tomcat.tc5.session.ClusteredSession.lastAccessedTime
Synchronized 50% of the time
Unsynchronized access at ClusteredSession.java:[line 263]
Unsynchronized access at ClusteredSession.java:[line 245]
Synchronized access at ClusteredSession.java:[line 1110]
Synchronized access at ClusteredSession.java:[line 1172]
Inconsistent synchronization of org.jboss.web.tomcat.tc5.session.ClusteredSession.lastAccessedTime; locked 50% of time
In class org.jboss.web.tomcat.tc5.session.ClusteredSession
In method org.jboss.web.tomcat.tc5.session.ClusteredSession.activate()
Actual type java.lang.Boolean
At ClusteredSession.java:[line 915]
Suspicious comparison of java.lang.Boolean references in org.jboss.web.tomcat.tc5.session.ClusteredSession.activate()
In class org.jboss.web.tomcat.tc5.session.ClusteredSession
In method org.jboss.web.tomcat.tc5.session.ClusteredSession.passivate()
Actual type java.lang.Boolean
At ClusteredSession.java:[line 877]
Suspicious comparison of java.lang.Boolean references in org.jboss.web.tomcat.tc5.session.ClusteredSession.passivate()
In class org.jboss.web.tomcat.tc5.session.ClusteredSession
Field org.jboss.web.tomcat.tc5.session.ClusteredSession.firstAccess
In ClusteredSession.java
The field org.jboss.web.tomcat.tc5.session.ClusteredSession.firstAccess is transient but isn't set by deserialization
In class org.jboss.web.tomcat.tc5.session.ClusteredSession
Field org.jboss.web.tomcat.tc5.session.ClusteredSession.maxUnreplicatedFactor
In ClusteredSession.java
The field org.jboss.web.tomcat.tc5.session.ClusteredSession.maxUnreplicatedFactor is transient but isn't set by deserialization
In class org.jboss.web.tomcat.tc5.session.ClusteredSession
Field org.jboss.web.tomcat.tc5.session.ClusteredSession.hasActivationListener
In ClusteredSession.java
The field org.jboss.web.tomcat.tc5.session.ClusteredSession.hasActivationListener is transient but isn't set by deserialization
In class org.jboss.web.tomcat.tc5.session.FieldBasedClusteredSession
In FieldBasedClusteredSession.java
org.jboss.web.tomcat.tc5.session.FieldBasedClusteredSession is Externalizable but doesn't define a void constructor
In class org.jboss.web.tomcat.tc5.session.FieldBasedClusteredSession
Field org.jboss.web.tomcat.tc5.session.FieldBasedClusteredSession.attributes_
In FieldBasedClusteredSession.java
The field org.jboss.web.tomcat.tc5.session.FieldBasedClusteredSession.attributes_ is transient but isn't set by deserialization
In class org.jboss.web.tomcat.tc5.session.JBossCacheCluster
In method org.jboss.web.tomcat.tc5.session.JBossCacheCluster.createManager(String)
Local variable named manager
Dereferenced at JBossCacheCluster.java:[line 528]
Null pointer dereference of manager in org.jboss.web.tomcat.tc5.session.JBossCacheCluster.createManager(String) on exception path
In class org.jboss.web.tomcat.tc5.session.JBossCacheManager$OwnedSessionUpdate
In JBossCacheManager.java
Should org.jboss.web.tomcat.tc5.session.JBossCacheManager$OwnedSessionUpdate be a _static_ inner class?
In class org.jboss.web.tomcat.tc5.session.JBossCacheService
In method org.jboss.web.tomcat.tc5.session.JBossCacheService.removeObserver(Observer, Object, Set)
At JBossCacheService.java:[line 799]
Method org.jboss.web.tomcat.tc5.session.JBossCacheService.removeObserver(Observer, Object, Set) makes inefficient use of keySet iterator instead of entrySet iterator
In class org.jboss.web.tomcat.tc5.session.JBossManager
In method org.jboss.web.tomcat.tc5.session.JBossManager.processExpires()
At JBossManager.java:[line 846]
At JBossManager.java:[lines 839-846]
Method org.jboss.web.tomcat.tc5.session.JBossManager.processExpires() uses the same code for two branches
In class org.jboss.web.tomcat.tc5.session.JBossManager
In method org.jboss.web.tomcat.tc5.session.JBossManager.setNewSessionCookie(String, HttpServletResponse)
Local variable named context
At JBossManager.java:[line 262]
Redundant null check at JBossManager.java:[line 272]
Nullcheck of context at line 272 of value previously dereferenced in org.jboss.web.tomcat.tc5.session.JBossManager.setNewSessionCookie(String, HttpServletResponse)
In class org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession
In SessionBasedClusteredSession.java
org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession is Externalizable but doesn't define a void constructor
In class org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn
In method org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn.deregister(String, Session)
Local variable named sso
At ClusteredSingleSignOn.java:[line 787]
Dead store to sso in org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn.deregister(String, Session)
In class org.jboss.web.tomcat.tc5.sso.TreeCacheSSOClusterManager
In method org.jboss.web.tomcat.tc5.sso.TreeCacheSSOClusterManager.addSession(String, Session)
Local variable named session
Redundant null check at TreeCacheSSOClusterManager.java:[line 378]
Redundant nullcheck of session, which is known to be non-null in org.jboss.web.tomcat.tc5.sso.TreeCacheSSOClusterManager.addSession(String, Session)
In class org.jboss.web.tomcat.tc5.sso.TreeCacheSSOClusterManager
In method org.jboss.web.tomcat.tc5.sso.TreeCacheSSOClusterManager.removeSession(String, Session)
Local variable named session
Redundant null check at TreeCacheSSOClusterManager.java:[line 610]
Redundant nullcheck of session, which is known to be non-null in org.jboss.web.tomcat.tc5.sso.TreeCacheSSOClusterManager.removeSession(String, Session)
In class org.jboss.webservice.metadata.serviceref.ServiceRefMetaData
In method org.jboss.webservice.metadata.serviceref.ServiceRefMetaData.getResourceCL()
In class java.net.URLClassLoader
At ServiceRefMetaData.java:[line 117]
org.jboss.webservice.metadata.serviceref.ServiceRefMetaData.getResourceCL() creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block
In class org.jboss.webservice.transport.jms.MessageDispatcherFactory
In method org.jboss.webservice.transport.jms.MessageDispatcherFactory.createMessageDispatcher()
At MessageDispatcherFactory.java:[line 61]
Exception is caught when Exception is not thrown in org.jboss.webservice.transport.jms.MessageDispatcherFactory.createMessageDispatcher()
In class org.jnp.interfaces.NamingContext
In method org.jnp.interfaces.NamingContext.getAbsoluteName(Name)
At NamingContext.java:[line 1461]
Method org.jnp.interfaces.NamingContext.getAbsoluteName(Name) invokes toString() method on a String
In class org.jnp.interfaces.NamingContext
In method org.jnp.interfaces.NamingContext.useAbsoluteName(Hashtable)
Actual type java.lang.Boolean
At NamingContext.java:[line 1091]
Suspicious comparison of java.lang.Boolean references in org.jnp.interfaces.NamingContext.useAbsoluteName(Hashtable)
In class org.jnp.interfaces.NamingContext
Field org.jnp.interfaces.NamingContext.naming
In NamingContext.java
Class org.jnp.interfaces.NamingContext defines non-transient non-serializable instance field naming
In class org.jnp.interfaces.NamingContext
Field org.jnp.interfaces.NamingContext.parser
In NamingContext.java
Class org.jnp.interfaces.NamingContext defines non-transient non-serializable instance field parser
In class org.jnp.interfaces.TimedSocketFactory$ConnectThread
In method org.jnp.interfaces.TimedSocketFactory$ConnectThread.run()
At TimedSocketFactory.java:[line 166]
Naked notify in org.jnp.interfaces.TimedSocketFactory$ConnectThread.run()
In class org.jnp.interfaces.TimedSocketFactory$ConnectThread
In TimedSocketFactory.java
Should org.jnp.interfaces.TimedSocketFactory$ConnectThread be a _static_ inner class?
In class org.jnp.interfaces.TimedSocketFactory$ConnectThread
Field org.jnp.interfaces.TimedSocketFactory$ConnectThread.connectTimeout
At TimedSocketFactory.java:[line 132]
Unread field: org.jnp.interfaces.TimedSocketFactory$ConnectThread.connectTimeout
In class org.jnp.interfaces.java.javaURLContextFactory
In method org.jnp.interfaces.java.javaURLContextFactory.getObjectInstance(Object, Name, Context, Hashtable)
At javaURLContextFactory.java:[line 82]
Method org.jnp.interfaces.java.javaURLContextFactory.getObjectInstance(Object, Name, Context, Hashtable) invokes toString() method on a String
In class org.jnp.interfaces.java.javaURLContextFactory
In javaURLContextFactory.java
The class name org.jnp.interfaces.java.javaURLContextFactory doesn't start with an upper case letter
In class org.jnp.interfaces.jnp.jnpURLContextFactory
In method org.jnp.interfaces.jnp.jnpURLContextFactory.getObjectInstance(Object, Name, Context, Hashtable)
At jnpURLContextFactory.java:[line 70]
Method org.jnp.interfaces.jnp.jnpURLContextFactory.getObjectInstance(Object, Name, Context, Hashtable) invokes toString() method on a String
In class org.jnp.interfaces.jnp.jnpURLContextFactory
In jnpURLContextFactory.java
The class name org.jnp.interfaces.jnp.jnpURLContextFactory doesn't start with an upper case letter
In class org.jnp.server.Main
Field org.jnp.server.Main.InstallGlobalService
In Main.java
The field name org.jnp.server.Main.InstallGlobalService doesn't start with an lower case letter
In class org.jnp.server.Main
Field org.jnp.server.Main.UseGlobalService
In Main.java
The field name org.jnp.server.Main.UseGlobalService doesn't start with an lower case letter
In class org.jnp.server.Main$AcceptHandler
In method org.jnp.server.Main$AcceptHandler.run()
Field org.jnp.server.Main.serverSocket
Redundant null check at Main.java:[line 473]
Redundant nullcheck of org.jnp.server.Main.serverSocket, which is known to be non-null in org.jnp.server.Main$AcceptHandler.run()